SAP ABAP Class CL_PUR_PO_MAPPING_SRV (Mapping PO For Services)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-GF-ES (Application Component) Enterprise Services in Purchasing
     OPS_SE_PUR (Package) Service Enabling for Purchasing
Properties
Class CL_PUR_PO_MAPPING_SRV  
Short Description Mapping PO For Services    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package OPS_SE_PUR   Service Enabling for Purchasing 
Created 20080801   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_PUR_PO_MAPPING_SRV has no forward declaration.
Interfaces
Class CL_PUR_PO_MAPPING_SRV has no interface implemented.
Friends
Class CL_PUR_PO_MAPPING_SRV has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_BLANKET Constant Private Type reference (TYPE) STRING '301' Blanket Line 20080806
2 GC_CONTINGENCY Constant Private Type reference (TYPE) STRING '302' Contingency Line 20080806
3 GC_EVENT_ACCOUNT Constant Protected Type reference (TYPE) SMT_EVENT 'ACCOUNT' Mapping Step 20081215
4 GC_EVENT_ADDR Constant Protected Type reference (TYPE) SMT_EVENT 'ADDR' Mapping Step 20090128
5 GC_EVENT_COND Constant Protected Type reference (TYPE) SMT_EVENT 'POITEMCOND' Mapping Step 20090128
6 GC_EVENT_CONDHEADER Constant Protected Type reference (TYPE) SMT_EVENT 'POHEADERCOND' Mapping Step 20090128
7 GC_EVENT_CONTLIMITS Constant Protected Type reference (TYPE) SMT_EVENT 'CONTLIMITS' Mapping Step 20080801
8 GC_EVENT_EKKOP Constant Protected Type reference (TYPE) SMT_EVENT 'EKKOP' Mapping Step 20090128
9 GC_EVENT_LIMITS Constant Protected Type reference (TYPE) SMT_EVENT 'LIMITS' Mapping Step 20080801
10 GC_EVENT_POHEADER Constant Protected Type reference (TYPE) SMT_EVENT 'POHEADER' Mapping Step 20090128
11 GC_EVENT_POITEM Constant Protected Type reference (TYPE) SMT_EVENT 'POITEM' Mapping Step 20090128
12 GC_EVENT_POSCHEDULE Constant Protected Type reference (TYPE) SMT_EVENT 'POSCHEDULE' Mapping Step 20090128
13 GC_EVENT_PRCONTLIMITS Constant Protected Type reference (TYPE) SMT_EVENT 'PRCONTLIMITS' Mapping Step 20080801
14 GC_EVENT_PRSRVACCT Constant Protected Type reference (TYPE) SMT_EVENT 'PRSRVACCT' Mapping Step 20080801
15 GC_EVENT_PRSRVLIMITS Constant Protected Type reference (TYPE) SMT_EVENT 'PRSRVLIMITS' Mapping Step 20080801
16 GC_EVENT_SHIP Constant Protected Type reference (TYPE) SMT_EVENT 'SHIP' Mapping Step 20090128
17 GC_EVENT_SRVACCT Constant Protected Type reference (TYPE) SMT_EVENT 'SRVACCT' Mapping Step 20080801
18 GC_EVENT_SRVLINE Constant Protected Type reference (TYPE) SMT_EVENT 'SRVLINE' Mapping Step 20080801
19 GC_FREEQUANTITY Constant Private Type reference (TYPE) STRING '303' Line with Free Quantity 20080806
20 GC_INFORMATION Constant Private Type reference (TYPE) STRING '305' Information Line 20080806
21 GC_SMT_APPLICATION Constant Protected Type reference (TYPE) SMT_APPLICATION 'CL_POERPREQ_IN_V1' Mapping Step 20081215
22 GC_SMT_CONTEXT Constant Protected Type reference (TYPE) SMT_CONTEXT '' Context 20080801
23 GC_SMT_SRVAPPLICATION Constant Protected Type reference (TYPE) SMT_APPLICATION 'CL_POERPREQ_SRV_IN_V1' Mapping 20080801
24 GL_DUMMY Static Attribute Private Type reference (TYPE) STRING 20081215
25 MY_XFLAG Constant Private Type reference (TYPE) FLAG 'X' General Flag 20080806
Methods
# Method Level Visibility Method type Description Created on
1 GET_SRV_LINENO Static method Public Method Generate INTROW for all items in ERP interface 20080801
2 MAP_PO_ADD_SRV_ITM Static method Public Method Add new service item in change scenario 20090128
3 MAP_PO_ADD_SRV_LINE Static method Public Method Add new service line or outline 20081230
4 MAP_PO_CHG_SRV Static method Public Method Mapping changed service line and outline from XI to BAPI 20081229
5 MAP_PO_SRV_ITM_XI_2_ERP Static method Public Method Mapping Service Item Xi to BAPI in ERP 20080801
6 MAP_PO_SRV_LINE_XI_2_ERP Static method Public Method Mapping Service Line Item Xi to BAPI in ERP 20080806
7 MAP_PO_SRV_OUTL_XI_2_ERP Static method Public Method Mapping Service Outline Item Xi to BAPI in ERP 20080805
Events
Class CL_PUR_PO_MAPPING_SRV has no event.
Types
Class CL_PUR_PO_MAPPING_SRV has no local type.
Method Signatures

Method GET_SRV_LINENO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_STR_TEMP Call by reference Type reference (TYPE) MMSRV_INTROW_TEMP_TTY Table type of structure MMSRV_PACKAGE_TEMP 20080801
2 Importing IT_INPUT_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1_TAB2 Purchase Order ERP Purchase Order Item 20080801

Method GET_SRV_LINENO on class CL_PUR_PO_MAPPING_SRV has no exception.

Method MAP_PO_ADD_SRV_ITM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BAPIMEPOITEM Call by reference Type reference (TYPE) BAPIMEPOITEM Purchase Order Item 20090129
2 Exporting ES_BAPIMEPOITEMX Call by reference Type reference (TYPE) BAPIMEPOITEMX Purchase Order Item Data (Change Parameter) 20090129
3 Exporting ES_POLIMITS Call by reference Type reference (TYPE) BAPIESUHC Communication Structure: Limits 20090129
4 Exporting ET_BAPIMEPOACCOUNT Call by reference Type reference (TYPE) BAPIMEPOACCOUNT_TP 20090128
5 Exporting ET_BAPIMEPOACCOUNTX Call by reference Type reference (TYPE) BAPIMEPOACCOUNTX_TP 20090128
6 Exporting ET_BAPIMEPOTEXT Call by reference Type reference (TYPE) BAPIMEPOTEXT_TP 20090128
7 Exporting ET_POCONTRACTLIMITS Call by reference Type reference (TYPE) BAPIESUCC_TP 20090128
8 Exporting ET_POSERVICES Call by reference Type reference (TYPE) BAPIESLLC_TP Table Type for BAPIESLLC 20090128
9 Exporting ET_POSRVACCESSVALUES Call by reference Type reference (TYPE) BAPIESKLC_TP 20090128
10 Exporting ET_POSRV_TEXT Call by reference Type reference (TYPE) BAPIESLLTX_TP 20090128
11 Importing IT_PO_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1_TAB2 Table Type for BAPIMEPOITEM 20090128
12 Importing IT_TEMP Call by reference Type reference (TYPE) MMSRV_INTROW_TEMP_TTY Table type of structure MMSRV_PACKAGE_TEMP 20090522
# Exception Resumable Description Created on
1 CX_SMT_ERROR Error 20090128

Method MAP_PO_ADD_SRV_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ITEM Call by reference Type reference (TYPE) BAPIMEPOITEM Purchase Order Item 20081230
2 Exporting ES_ITEMX Call by reference Type reference (TYPE) BAPIMEPOITEMX Purchase Order Item Data (Change Parameter) 20081230
3 Exporting ET_SERVICES Call by reference Type reference (TYPE) BAPIESLLC_TP Table Type for BAPIESLLC 20081230
4 Exporting ET_SRV_ACCT Call by reference Type reference (TYPE) BAPIESKLC_TP Table Type for BAPIESKLC 20090122
5 Exporting ET_SRV_TEXT Call by reference Type reference (TYPE) BAPIESLLTX_TP Table Type for BAPIESLLTX 20090122
6 Importing IS_PO_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1ITM Purchase Order ERP Purchase Order Item 20081230
7 Importing IT_PO_ITEM Call by reference Type reference (TYPE) BAPIMEPOITEM_TP Table Type for BAPIMEPOITEM 20081230
8 Importing IT_PO_SERVICES Call by reference Type reference (TYPE) BAPIESLLC_TP Table Type for BAPIESLLC 20081230
# Exception Resumable Description Created on
1 CX_SMT_ERROR Error 20081230

Method MAP_PO_CHG_SRV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_ITEM Call by reference Type reference (TYPE) BAPIMEPOITEM Purchase Order Item 20081229
2 Exporting ES_ITEMX Call by reference Type reference (TYPE) BAPIMEPOITEMX Purchase Order Item Data (Change Parameter) 20081229
3 Exporting ET_PO_SRV_ACCT Call by reference Type reference (TYPE) BAPIESKLC_TP Table Type for BAPIESKLC 20081229
4 Exporting ET_SERVICES Call by reference Type reference (TYPE) BAPIESLLC_TP Table Type for BAPIESLLC 20081229
5 Exporting ET_SRV_TEXT Call by reference Type reference (TYPE) BAPIESLLTX_TP Table Type for BAPIESLLTX 20081229
6 Importing IS_PO_HEADER Call by reference Type reference (TYPE) BAPIMEPOHEADER Purchase Order Header Data 20090427
7 Importing IS_PO_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1ITM Purchase Order ERP Purchase Order Item 20081229
8 Importing IT_PO_ITEM Call by reference Type reference (TYPE) BAPIMEPOITEM_TP Table Type for BAPIMEPOITEM 20081229
9 Importing IT_PO_SERVICES Call by reference Type reference (TYPE) BAPIESLLC_TP Table Type for BAPIESLLC 20081229
10 Importing IT_PO_SRV_ACCT Call by reference Type reference (TYPE) BAPIESKLC_TP Table Type for BAPIESKLC 20081229
# Exception Resumable Description Created on
1 CX_SMT_ERROR Error 20081229

Method MAP_PO_SRV_ITM_XI_2_ERP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_HIGHEST_PACKNO Call by reference Type reference (TYPE) PACKNO Package number 20080801
2 Changing CS_BAPIMEPOITEM Call by reference Type reference (TYPE) BAPIMEPOITEM Purchase Order Item 20081215
3 Changing CS_BAPIMEPOITEMX Call by reference Type reference (TYPE) BAPIMEPOITEMX Purchase Order Item Data (Change Parameter) 20081215
4 Changing CT_ITEM_ACCT Call by reference Type reference (TYPE) BAPIMEPOACCOUNT_TP Table Type for BAPIMEPOACCOUNT 20081215
5 Exporting ES_LIMITS Call by reference Type reference (TYPE) BAPIESUHC Communication Structure: Limits 20080801
6 Exporting ES_PCKNO Call by reference Type reference (TYPE) MMSRV_PACKAGE_TEMP Structure for packno generation 20080801
7 Exporting ES_PR_ITEM Call by reference Type reference (TYPE) MEREQBAPIITEMDATA Vorschlagswerte bei Anlage von Debitoren aus Workbench 20080801
8 Exporting ES_SRV Call by reference Type reference (TYPE) BAPIESLLC Communication Structure: Create Service Line 20080801
9 Exporting ET_CONTRACT_LIMITS Call by reference Type reference (TYPE) BAPIESUCC_TP Table Type for BAPIESUCC 20080801
10 Exporting ET_ESLL Call by reference Type reference (TYPE) MMSRV_ESLL Table Type for ESLL 20080807
11 Exporting ET_ITEM_ACCT Call by reference Type reference (TYPE) BAPIMEPOACCOUNT_TP Table Type for BAPIMEPOACCOUNT 20080801
12 Exporting ET_SRV_ACCT Call by reference Type reference (TYPE) BAPIESKLC_TP Table Type for BAPIESKLC 20080801
13 Exporting EV_ITEM_PACKNO Call by reference Type reference (TYPE) ESLL-PACKNO Package number 20080801
14 Importing IS_PO_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1ITM Purchase Order ERP Purchase Order Item 20080801
15 Importing IT_PR_ITEMS Call by reference Type reference (TYPE) MEREQBAPI_T_ITEMDATA Table Type for Internal BUS2105 BAPI Objects 20080801
16 Importing IT_TEMP Call by reference Type reference (TYPE) MMSRV_INTROW_TEMP_TTY Table type of structure MMSRV_PACKAGE_TEMP 20080801
17 Importing IV_PACKNO Call by reference Type reference (TYPE) PACKNO Package number 20090128
# Exception Resumable Description Created on
1 CX_SMT_ERROR Error 20080801

Method MAP_PO_SRV_LINE_XI_2_ERP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_BAPIMEPOITEM Call by reference Type reference (TYPE) BAPIMEPOITEM Purchase Order Item 20081215
2 Changing CS_BAPIMEPOITEMX Call by reference Type reference (TYPE) BAPIMEPOITEMX Purchase Order Item Data (Change Parameter) 20081215
3 Changing CT_ITEM_ACCT Call by reference Type reference (TYPE) BAPIMEPOACCOUNT_TP Table Type for BAPIMEPOACCOUNT 20081215
4 Exporting ES_SRV Call by reference Type reference (TYPE) BAPIESLLC Communication Structure: Create Service Line 20080806
5 Exporting ET_SRV_ACCT Call by reference Type reference (TYPE) BAPIESKLC_TP Table Type: Structure Account Assignment Service Rows 20080806
6 Exporting ET_SRV_TEXT Call by reference Type reference (TYPE) BAPIESLLTX_TP Table Type for BAPIESLLTX 20080806
7 Importing IS_PO_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1ITM Purchase Order ERP Purchase Order Item 20080806
8 Importing IT_ESLL Call by reference Type reference (TYPE) MMSRV_ESLL Table Type for ESLL 20080806
9 Importing IT_PCKNO Call by reference Type reference (TYPE) MMSRV_PACKAGE_TEMP_TTY Local Table for Packno 20080806
10 Importing IT_TEMP Call by reference Type reference (TYPE) MMSRV_INTROW_TEMP_TTY Local Table for INTROWS 20080806
11 Importing LS_PREQ_BAPI_ITEM Call by reference Type reference (TYPE) MEREQBAPIITEMDATA Item Data for Purchase Requisition via BAPI 20080807
# Exception Resumable Description Created on
1 CX_SMT_ERROR Error 20080806

Method MAP_PO_SRV_OUTL_XI_2_ERP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_HIGHEST_PACKNO Call by reference Type reference (TYPE) PACKNO Package number 20080805
2 Exporting ES_PCKNO Call by reference Type reference (TYPE) MMSRV_PACKAGE_TEMP Structure for packno generation 20080805
3 Exporting ES_SRV Call by reference Type reference (TYPE) BAPIESLLC Communication Structure: Create Service Line 20080805
4 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20081215
5 Exporting ET_SRV_TEXT Call by reference Type reference (TYPE) BAPIESLLTX_TP Table Type for BAPIESLLTX 20080805
6 Importing IS_PO_ITEM Call by reference Type reference (TYPE) SAPPLCO_PUR_ORD_ERPREQ_V1ITM Purchase Order ERP Purchase Order Item 20080805
7 Importing IS_PR_ITEM Call by reference Type reference (TYPE) MEREQBAPIITEMDATA Item Data for Purchase Requisition via BAPI 20080807
8 Importing IT_TEMP Call by reference Type reference (TYPE) MMSRV_INTROW_TEMP_TTY Table type of structure MMSRV_PACKAGE_TEMP 20080805
9 Importing IV_ITEM_PACKNO Call by reference Type reference (TYPE) ESLL-PACKNO Package number 20080805
# Exception Resumable Description Created on
1 CX_SMT_ERROR Error 20081215
History
Last changed by/on SAP  20130531 
SAP Release Created in 604