SAP ABAP Class CL_ADPIC_SERVICES (Father class of the interchangeability API)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-AD-MPN (Application Component) Manufacturer Part Number
     AD_IC_SERVICES (Package) Services for MPN-Interchangeability
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ADPIC_EXCHG_PO API class for material exchange in purchase order 20040127
Properties
Class CL_ADPIC_SERVICES  
Short Description Father class of the interchangeability API    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package AD_IC_SERVICES   Services for MPN-Interchangeability 
Created 20040123   SAP 
Last change 20070918   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ADPIC_SERVICES has no forward declaration.
Interfaces
Class CL_ADPIC_SERVICES has no interface implemented.
Friends
Class CL_ADPIC_SERVICES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SR_AUTOXCHGINFO Static Attribute Private Object reference (TYPE REF TO) IF_EX_BADI_PIC_AUTOXCHGINF Business add-in interface IF_EX_BADI_PIC_AUTOXCHGINF 20040209
2 SR_INTERCHANGE Static Attribute Private Object reference (TYPE REF TO) IF_EX_BADI_ADPIC_IC_PARTS Business add-in interface IF_EX_BADI_ADPIC_IC_PARTS 20040318
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_INTERCHANGEABILITY Instance method Public Method Checking, if a material is interchangeable 20040123
2 CHECK_MRPSET Instance method Public Method Check whether materials belong to the same MRP Set 20040705
3 GET_ICMAT_ATP_QTY Instance method Public Method Gives back the ATP qty for all interchangeable materials 20040305
4 GET_INTERCHANGEABLE_MATERIALS Instance method Public Method Reading interchangeable materials 20040123
5 GET_MAT_AUTO_EXCHG Instance method Public Method Determining the materials for automatic exchange 20040123
6 REFRESH_DATA Instance method Public Method Without implementation; to be implemented in the sub classes 20040123
7 SELECT_LGORT Instance method Public Method Select Storage Location 20040615
Events
Class CL_ADPIC_SERVICES has no event.
Types
Class CL_ADPIC_SERVICES has no local type.
Method Signatures

Method CHECK_INTERCHANGEABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) ADPIC_T_BAPIRET2 ADPIC: Tabellentyp BAPIRET2 20040209
2 Exporting EV_RIC_NOT_SUPPORTED Call by reference Type reference (TYPE) XFELD Restricted Interchangeability not supported 20040209
3 Exporting EV_RIC_NO_AUTHORITY Call by reference Type reference (TYPE) XFELD No authorization for restricted interchangeability 20040209
4 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Aktivität 20040212
5 Importing IV_BERID Call by reference Type reference (TYPE) BERID Dispositionsbereich 20040209
6 Importing IV_FFFC Call by reference Type reference (TYPE) XFELD Check for full interchangeability 20040209
7 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040209
8 Importing IV_MATNR_SUBST Call by reference Type reference (TYPE) MATNR Interchanged Material 20040209
9 Importing IV_MRPGR Call by reference Type reference (TYPE) XFELD Check for MPN MRP Set 20040209
10 Importing IV_PICCODE Call by reference Type reference (TYPE) PIC_PICCODE Cause of part exchange 20040209
11 Importing IV_PROCESS_CODE Call by reference Type reference (TYPE) ADPIC_D_PROCESS_CODE Pseudovorgangscode f.Prozess,der autom. Aust./bed.Aust. unt. 20040209
12 Importing IV_RIC Call by reference Type reference (TYPE) XFELD Check for restricted interchangeability 20040209
13 Importing IV_SUS Call by reference Type reference (TYPE) XFELD Check for Supersession 20040209
14 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20040209
# Exception Resumable Description Created on
1 MATERIAL_DELETED Material marked for deletion 20040209
2 MAT_DOES_NOT_EXIST Material does not exist 20040209
3 MAT_NOT_VALID_FOR_IC Material not interchangeable 20040209
4 NO_MAT_PASSED No material passed to the method 20050425

Method CHECK_MRPSET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PICPS_ALL Call by reference Type reference (TYPE) ADPIC_T_MATERIAL ADCI MPN: Tabellentyp für Austauschbares Material 20040705
2 Importing IT_PICMRL Call by reference Type reference (TYPE) VT_PICPSRL PIC: Table Type for Maintenance of FFF Classes 20061215
3 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040705

Method CHECK_MRPSET on class CL_ADPIC_SERVICES has no exception.

Method GET_ICMAT_ATP_QTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_PICPS_ALL Call by reference Type reference (TYPE) ADPIC_T_MATERIAL ADCI MPN: Tabellentyp für Austauschbares Material 20040318
2 Importing IS_ATPCSX Call by reference Type reference (TYPE) ATPCS ATP: Requirements to be Checked/Considered 20040305
3 Importing IS_MAINITEM Call by reference Type reference (TYPE) MEPOITEM 20060526
4 Importing IT_ATPCSX_COR Call by reference Type reference (TYPE) ME_ATPCSX_TTY 20050525
5 Importing IT_SUBITEMS Call by reference Type reference (TYPE) ADPIC_T_MEPO_ITEM 20060526
6 Importing IV_ATP_LOCK Call by reference Type reference (TYPE) XFELD 20050617
7 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR 20050622
8 Importing IV_PROCESS_CODE Call by reference Type reference (TYPE) ADPIC_D_PROCESS_CODE 20050408

Method GET_ICMAT_ATP_QTY on class CL_ADPIC_SERVICES has no exception.

Method GET_INTERCHANGEABLE_MATERIALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PICPS_ALL Call by reference Type reference (TYPE) ADPIC_T_MATERIAL ADCI MPN: Tabellentyp für Austauschbares Material 20040129
2 Exporting ET_RETURN Call by reference Type reference (TYPE) ADPIC_T_BAPIRET2 Rückgabeparameter 20040203
3 Importing IS_ATPCSX Call by reference Type reference (TYPE) ATPCS ATP: Requirements to be Checked/Considered 20040318
4 Importing IS_MAINITEM Call by reference Type reference (TYPE) MEPOITEM 20060526
5 Importing IT_ATPCSX_COR Call by reference Type reference (TYPE) ME_ATPCSX_TTY 20050520
6 Importing IT_SUBITEMS Call by reference Type reference (TYPE) ADPIC_T_MEPO_ITEM 20060526
7 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Aktivität 20040212
8 Importing IV_ATP_LOCK Call by reference Type reference (TYPE) XFELD 20050617
9 Importing IV_BERID Call by reference Type reference (TYPE) BERID Dispositionsbereich 20040129
10 Importing IV_CHARG Call by reference Type reference (TYPE) CHARG_D Chargennummer 20040129
11 Importing IV_DATFR Call by reference Type reference (TYPE) PIC_DATFR Valid from date of an interchangeable part 20040129
12 Importing IV_DETAILS Call by reference Type reference (TYPE) XFELD Retrieve Material Details 20040129
13 Importing IV_FFFC Call by reference Type reference (TYPE) XFELD Retrieve Fully Interchangeable Materials 20040129
14 Importing IV_KDAUF Call by reference Type reference (TYPE) KDAUF Kundenauftragsnummer 20040205
15 Importing IV_KDPOS Call by reference Type reference (TYPE) KDPOS Positionsnummer in Kundenauftrag 20040205
16 Importing IV_KUNNR Call by reference Type reference (TYPE) EKUNN Account number of customer 20040205
17 Importing IV_LGORT Call by reference Type reference (TYPE) LGORT_D Lagerort 20040129
18 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040129
19 Importing IV_MRPGR Call by reference Type reference (TYPE) XFELD Retrieve MPN MRP Set Materials 20040129
20 Importing IV_OWNER Call by reference Type reference (TYPE) OWNER_D Bestandseigentümer 20040205
21 Importing IV_PICCODE Call by reference Type reference (TYPE) PIC_PICCODE Cause of part exchange 20040129
22 Importing IV_PROCESS_CODE Call by reference Type reference (TYPE) ADPIC_D_PROCESS_CODE Pseudovorgangscode f.Prozess,der autom. Aust./bed.Aust. unt. 20040129
23 Importing IV_PSPNR Call by reference Type reference (TYPE) PS_PSP_PNR Projektstrukturplanelement(PSP Element) 20040205
24 Importing IV_REQSTD_DATE Call by reference Type reference (TYPE) PIC_DATFR Requested Date for ATP Stock 20040129
25 Importing IV_RIC Call by reference Type reference (TYPE) XFELD Retrieve Restricted Interchangeable Materials 20040129
26 Importing IV_SOBKZ Call by reference Type reference (TYPE) SOBKZ Sonderbestandskennzeichen 20040205
27 Importing IV_SUS Call by reference Type reference (TYPE) XFELD Retrieve Supersession Materials 20040129
28 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20040129
# Exception Resumable Description Created on
1 MATERIAL_DELETED Material Deleted 20040210
2 MAT_DOES_NOT_EXIST Material does not exist 20040210
3 MAT_NOT_VALID_FOR_IC Material not interchangeable 20040209

Method GET_MAT_AUTO_EXCHG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EXCHG_INFO Call by reference Type reference (TYPE) ADPIC_T_EXCHG_INFO Material, Mengeninformation für Materialaustausch 20040202
2 Importing IS_EKET Call by reference Type reference (TYPE) EKET Scheduling Agreement Schedule Lines 20040809
3 Importing IS_EKPO Call by reference Type reference (TYPE) EKPO Einkaufsbelegposition 20040809
4 Importing IT_ATPCSX Call by reference Type reference (TYPE) TBL_ATPCS ATP: table of requirements 20040315
5 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Aktivität 20040220
6 Importing IV_ATP_LOCK Call by reference Type reference (TYPE) XFELD 20050617
7 Importing IV_BERID Call by reference Type reference (TYPE) BERID Dispositionsbereich 20040202
8 Importing IV_CHARG Call by reference Type reference (TYPE) CHARG_D Chargennummer 20040202
9 Importing IV_DATFR Call by reference Type reference (TYPE) PIC_DATFR Valid from date of an interchangeable part 20040202
10 Importing IV_FFFC Call by reference Type reference (TYPE) XFELD Flag to retrieve FFFC materials 20040202
11 Importing IV_KDAUF Call by reference Type reference (TYPE) KDAUF Kundenauftragsnummer 20040205
12 Importing IV_KDPOS Call by reference Type reference (TYPE) KDPOS Positionsnummer in Kundenauftrag 20040205
13 Importing IV_KUNNR Call by reference Type reference (TYPE) EKUNN Account number of customer 20040205
14 Importing IV_LGORT Call by reference Type reference (TYPE) LGORT_D Lagerort 20040202
15 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20040202
16 Importing IV_MEINS Call by reference Type reference (TYPE) MEINS Unit of Measure for Requested Quantity 20040206
17 Importing IV_MRPGR Call by reference Type reference (TYPE) XFELD Retrieve MRP-Set materials 20040202
18 Importing IV_OWNER Call by reference Type reference (TYPE) OWNER_D Bestandseigentümer 20040205
19 Importing IV_PICCODE Call by reference Type reference (TYPE) PIC_PICCODE Cause of part exchange 20040205
20 Importing IV_PROCESS_CODE Call by reference Type reference (TYPE) ADPIC_D_PROCESS_CODE Pseudovorgangscode f.Prozess,der autom. Aust./bed.Aust. unt. 20040202
21 Importing IV_PSPNR Call by reference Type reference (TYPE) PS_PSP_PNR Projektstrukturplanelement(PSP Element) 20040205
22 Importing IV_REQSTD_DATE Call by reference Type reference (TYPE) PIC_DATFR Requested date for material availability 20040202
23 Importing IV_REQSTD_QTY Call by reference Type reference (TYPE) BSTMG Required Quantity of Material 20040206
24 Importing IV_RIC Call by reference Type reference (TYPE) XFELD Flag to retrieve Restricted Interchangeable materials 20040202
25 Importing IV_SOBKZ Call by reference Type reference (TYPE) SOBKZ Sonderbestandskennzeichen 20040205
26 Importing IV_SUS Call by reference Type reference (TYPE) XFELD Retrieve Supersesion materials 20040202
27 Importing IV_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20040202
# Exception Resumable Description Created on
1 MAT_NOT_VALID_FOR_IC 20040202

Method REFRESH_DATA Signature

Method REFRESH_DATA on class CL_ADPIC_SERVICES has no parameter.
Method REFRESH_DATA on class CL_ADPIC_SERVICES has no exception.

Method SELECT_LGORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ET_PICPS_ALL Call by reference Type reference (TYPE) ADPIC_T_MATERIAL ADCI MPN: Tabellentyp für Austauschbares Material 20040615
2 Importing IS_PICPS Call by reference Type reference (TYPE) ADPIC_S_MATERIAL ADCI MPN: Struktur austauschbarer Materialien 20040615
3 Importing IV_WERKS Call by reference Type reference (TYPE) MARC-WERKS Werk 20040615

Method SELECT_LGORT on class CL_ADPIC_SERVICES has no exception.
History
Last changed by/on SAP  20070918 
SAP Release Created in 500