SAP ABAP Class CL_ADPIC_EXCHG_PO (API class for material exchange in purchase order)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-AD-MPN (Application Component) Manufacturer Part Number
     AD_IC_SERVICES (Package) Services for MPN-Interchangeability
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ADPIC_SERVICES Father class of the interchangeability API 20040127
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_ADPIC_EXCHG_STO API class for material exchange in Stock Transport Order 20040210
Properties
Class CL_ADPIC_EXCHG_PO  
Short Description API class for material exchange in purchase order    
Super Class CL_ADPIC_SERVICES Father class of the interchangeability API 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package AD_IC_SERVICES   Services for MPN-Interchangeability 
Created 20040127   SAP 
Last change 20050301   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ADPIC_EXCHG_PO has no forward declaration.
Interfaces
Class CL_ADPIC_EXCHG_PO has no interface implemented.
Friends
Class CL_ADPIC_EXCHG_PO has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_MIGO_PROCESS Constant Private Type reference (TYPE) ADPIC_D_PROCESS_CODE 'MIGO' Pseudo Process code for processes supporting auto. IC/RIC 20040304
2 PR_BADI_INSTANCE Static Attribute Private Object reference (TYPE REF TO) IF_EX_BADI_ADPIC_HANDLE_PO Business add-in interface IF_EX_BADI_ADPIC_HANDLE_PO 20040205
3 PR_BADI_INSTANCE_2 Static Attribute Private Object reference (TYPE REF TO) IF_EX_BADI_PIC_PREPXCHDATA Business add-in interface IF_EX_BADI_PIC_PREPXCHDATA 20040317
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ADSPECIFIC_FIELDS Instance method Private Method Add A&D-specific fields to the sub-item 20040318
2 ADD_POITEM_TO_BUFFER Instance method Private Method Add the new poitem to the buffer table pt_ic_ekpo 20040318
3 CHECK_AUTHORITY Instance method Private Method Perform authority check 20040315
4 DETERMINE_SUBITEM Instance method Private Method Sub-item determination 20040315
5 EXCHANGE_MAT_IN_PO Instance method Public Method Exchanging material(s) in a purchase order 20040127
6 GET_MPN_EKPO_BUFFER Instance method Public Method Get the line of pt_ic_ekpo 20040304
Events
Class CL_ADPIC_EXCHG_PO has no event.
Types
Class CL_ADPIC_EXCHG_PO has no local type.
Method Signatures

Method ADD_ADSPECIFIC_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing EXTENSIONIN Call by reference Type reference (TYPE) BAPIPAREX_TP 20040318
2 Importing POITEM Call by reference Type reference (TYPE) BAPIMEPOITEM_TP 20040318
3 Importing PURCHASEORDER Call by reference Type reference (TYPE) EBELN Einkaufsbelegnummer 20040318

Method ADD_ADSPECIFIC_FIELDS on class CL_ADPIC_EXCHG_PO has no exception.

Method ADD_POITEM_TO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing POITEM Call by reference Type reference (TYPE) BAPIMEPOITEM_TP 20040318
2 Importing PURCHASEORDER Call by reference Type reference (TYPE) EBELN Einkaufsbelegnummer 20040318
3 Importing RETURN Call by reference Type reference (TYPE) ADPIC_T_BAPIRET2 ADPIC: Tabellentyp BAPIRET2 20040318

Method ADD_POITEM_TO_BUFFER on class CL_ADPIC_EXCHG_PO has no exception.

Method CHECK_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting NO_AUTHORITY_BAPI Call by reference Type reference (TYPE) C Flag no_authority for BAPI_PO_CHANGE 20040315
2 Importing NO_AUTHORITY_CHECK Call by reference Type reference (TYPE) ADPIC_D_XFLAG Kennzeichen für HTN-Selektionen 20040315
3 Importing PROCESS_CODE Call by reference Type reference (TYPE) ADPIC_D_PROCESS_CODE Pseudovorgangscode f.Prozess,der autom. Aust./bed.Aust. unt. 20040315

Method CHECK_AUTHORITY on class CL_ADPIC_EXCHG_PO has no exception.

Method DETERMINE_SUBITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing POITEM Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOITEM ADPIC: Tabellentyp BAPIMEPOITEM 20040315
2 Changing POITEMX Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOITEMX ADPIC: Tabellentyp BAPIMEPOITEMX 20040315
3 Changing POSCHEDULE Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOSCHEDULE ADPIC: Tabellentyp BAPIMEPOSCHEDULE 20040315
4 Changing POSCHEDULEX Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOSCHEDULX ADPIC: Tabellentyp BAPIMEPOSCHEDULX 20040315
5 Importing PURCHASEORDER Call by reference Type reference (TYPE) EBELN Einkaufsbelegnummer 20040315
# Exception Resumable Description Created on
1 INTERNAL_ERROR 20040517

Method EXCHANGE_MAT_IN_PO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IMSEG Call by reference Type reference (TYPE) TY_T_IMSEG Tabellentyp mit Struktur IMSEG 20040708
2 Importing NO_AUTHORITY_CHECK Call by reference Type reference (TYPE) ADPIC_D_XFLAG Perform no authority check 20040127
3 Importing NO_MESSAGING Call by reference Type reference (TYPE) CHAR1 Single-Character Indicator 20111229
4 Changing POITEM Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOITEM Purchase order items 20040127
5 Changing POITEMX Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOITEMX Purchase order items - change toolbar 20040127
6 Changing POSCHEDULE Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOSCHEDULE Purchase order schedule lines 20040127
7 Changing POSCHEDULEX Call by reference Type reference (TYPE) ADPIC_T_BAPIMEPOSCHEDULX Purchase order schedule lines - change toolbar 20040127
8 Importing PROCESS_CODE Call by reference Type reference (TYPE) ADPIC_D_PROCESS_CODE Pseudo process code for authority check 20040127
9 Importing PURCHASEORDER Call by reference Type reference (TYPE) EBELN Einkaufsbelegnummer 20040127
10 Changing RETURN_ERROR_LOG Call by reference Type reference (TYPE) ADPIC_T_ERROR_LOG 20040319
# Exception Resumable Description Created on
1 INTERNAL_ERROR 20040517

Method GET_MPN_EKPO_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_EKPO Call by reference Type reference (TYPE) EKPO Einkaufsbelegposition 20040304
2 Exporting ET_EKPO Call by reference Type reference (TYPE) ADPIC_T_EKPO ADPIC: Tabellentyp ekpo 20040304
3 Importing IV_EBELN Call by reference Type reference (TYPE) EBELN Einkaufsbelegnummer 20040304
4 Importing IV_EBELP Call by reference Type reference (TYPE) EBELP Positionsnummer des Einkaufsbelegs 20040304
# Exception Resumable Description Created on
1 NOT_FOUND 20040304
History
Last changed by/on SAP  20050301 
SAP Release Created in 500