SAP ABAP Class CL_GM_SC_MAPPING_HELPER (Helper Class for GoodsMovement Services)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-IM-GF-ES (Application Component) Enterprise Services in Inventory Management
     OPS_SE_IM (Package) Service Enabling for Inventory Management
Properties
Class CL_GM_SC_MAPPING_HELPER  
Short Description Helper Class for GoodsMovement Services    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package OPS_SE_IM   Service Enabling for Inventory Management 
Created 20080130   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_INV_GDSMVMTERPCRTRC1_IMPL Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_GM_SC_MAPPING_HELPER has no interface implemented.
Friends
Class CL_GM_SC_MAPPING_HELPER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CC_CUSTRET_DELIVERY Constant Private Type reference (TYPE) SAPPLCO_SC_BUSTRDOC_TYPECODE '382' Proxy Data Element (Generated) 20080130
2 CC_INBOUND_DELIVERY Constant Private Type reference (TYPE) SAPPLCO_SC_BUSTRDOC_TYPECODE '58' Proxy Data Element (Generated) 20080130
3 CC_OUTBOUND_DELIVERY Constant Private Type reference (TYPE) SAPPLCO_SC_BUSTRDOC_TYPECODE '73' Proxy Data Element (Generated) 20080130
4 CC_PURCHASE_ORDER Constant Private Type reference (TYPE) SAPPLCO_SC_BUSTRDOC_TYPECODE '001' Proxy Data Element (Generated) 20080130
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CUSTOMIZED_FIELDS Static method Public Method Check for an item the customized fields 20080130
2 LENGTH_CHECK_ACCOUNT_ASSIGN Static method Public Method Check length of incoming fields of account assignment 20080130
3 LENGTH_CHECK_HEADER Static method Public Method Check length of incoming fields of header 20080130
4 LENGTH_CHECK_ITEM Static method Public Method Check length of incoming fields of item 20080130
5 LENGTH_CHECK_SERIAL_NUMBERS Static method Public Method Check length of incoming fields of serial numbers 20080130
6 MAP_CODE_TO_INTERNAL_HEADER Static method Public Method Map goods movement header GDT-Codes to interal 20080130
7 MAP_CODE_TO_INTERNAL_ITEM Static method Public Method Map goods movement item GDT-Codes to interal 20080130
8 MAP_INTERAL_2_EXT_CODE_ITEM Static method Public Method Map interal goods movement item fields to external GDT-codes 20080130
9 MAP_INTERAL_INMSK_TO_EXTERNAL Static method Public Method Map interal goods movement item fields to external GDT-codes 20080507
10 MAP_INTERAL_SHKZG_TO_EXTERNAL Static method Public Method Map interal goods movement item fields to external GDT-codes 20080507
11 MAP_INTERAL_TO_EXTERNAL_NAME Static method Public Method Map an interal field name to an (GDT-) field name 20080130
Events
Class CL_GM_SC_MAPPING_HELPER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 MY_TY_CHECK_INPUT_LENGTH Private See coding 20080130 BEGIN OF my_ty_check_input_length, dataelement_xi TYPE string, dataelement_erp TYPE ddobjname, value TYPE string, END OF my_ty_check_input_length
2 TS_BWART_SOBKZ_UMSOK Public See coding 20080509 BEGIN OF ts_bwart_sobkz_umsok, bwart TYPE bwart, sobkz TYPE sobkz, umsok TYPE umsok, END OF ts_bwart_sobkz_umsok
3 TT_BWART_SOBKZ_UMSOK Public See coding 20080509 tt_bwart_sobkz_umsok TYPE SORTED TABLE OF ts_bwart_sobkz_umsok WITH UNIQUE KEY bwart sobkz umsok
Method Signatures

Method CHECK_CUSTOMIZED_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE_LOG Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Importing IT_BWART_SOBKZ_UMSOK Call by reference Type reference (TYPE) TT_BWART_SOBKZ_UMSOK 20080509
3 Importing IT_GM_ITEMS_CREATE Call by reference Type reference (TYPE) CL_INV_GDSMVMTERPCRTRC1_IMPL=>TY_GM_ITEMS 20080424
4 Importing IV_GM_CODE Call by reference Type reference (TYPE) BAPI2017_GM_CODE MMIM: New Key Assignment GM_CODE to Transaction of Inv. Mgmt 20080424

Method CHECK_CUSTOMIZED_FIELDS on class CL_GM_SC_MAPPING_HELPER has no exception.

Method LENGTH_CHECK_ACCOUNT_ASSIGN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Importing IV_COST_CENTRE_ID Call by reference Type reference (TYPE) SAPPLCO_ORGANISATION_CENTRE_ID Proxy Data Element (Generated) 20080424
3 Importing IV_FUNDS_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_FNDS_MGMT_FID Proxy Data Element (Generated) 20080424
4 Importing IV_FUND_ACCOUNT_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_FNDS_MGMT_AID Proxy Data Element (Generated) 20080424
5 Importing IV_PROFIT_CENTRE_ID Call by reference Type reference (TYPE) SAPPLCO_ORGANISATION_CENTRE_ID Proxy Data Element (Generated) 20080424
6 Importing IV_WBS_ELEMENT_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_PROJ_WBSELEMID Proxy Data Element (Generated) 20080424

Method LENGTH_CHECK_ACCOUNT_ASSIGN on class CL_GM_SC_MAPPING_HELPER has no exception.

Method LENGTH_CHECK_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Importing IS_DELIVERY_NUMBER Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_BUSINESS_DOCUM Unique identifier of a business document in a (technical) me 20080130
3 Importing IV_BTDTYPECODE Call by reference Type reference (TYPE) SAPPLCO_SC_BUSTRDOC_TYPECODE Proxy Data Element (Generated) 20080130
4 Importing IV_DESCRIPTION Call by reference Type reference (TYPE) SAPPLCO_SC_SHORT_DESC_CONT Proxy Data Element (Generated) 20080424

Method LENGTH_CHECK_HEADER on class CL_GM_SC_MAPPING_HELPER has no exception.

Method LENGTH_CHECK_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Importing IV_BASE_QUANTITY Call by reference Type reference (TYPE) SAPPLCO_SC_QUANTITY_CONTENT QUANTITY is the non-monetary numerical declaration of a quan 20080424
3 Importing IV_DESCRIPTION Call by reference Type reference (TYPE) SAPPLCO_SC_MEDIUM_DESCRIPTION Proxy Data Element (Generated) 20080424
4 Importing IV_INV_MANGT_LOCATION Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_LOC_INTERN_ID Proxy Data Element (Generated) 20080424
5 Importing IV_PRODUCT_INTERNAL_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_PROD_INT_ID Proxy Data Element (Generated) 20080424
6 Importing IV_PRODUCT_RECIPIENT_PARTY_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_PARTY_INT_ID Proprietary identifier for a party 20080424
7 Importing IV_QUANTITY Call by reference Type reference (TYPE) SAPPLCO_SC_QUANTITY_CONTENT QUANTITY is the non-monetary numerical declaration of a quan 20080424
8 Importing IV_SELLER_PARTY_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_PARTY_INT_ID Proprietary identifier for a party 20080424
9 Importing IV_SHIP_FROM_LOCATION Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_LOC_INTERN_ID Proxy Data Element (Generated) 20080424
10 Importing IV_SHIP_TO_LOCATION Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_LOC_INTERN_ID Proxy Data Element (Generated) 20080424
11 Importing IV_WBS_ELEMENT_ID Call by reference Type reference (TYPE) SAPPLCO_SC_NOSC_PROJ_WBSELEMID Proxy Data Element (Generated) 20080424

Method LENGTH_CHECK_ITEM on class CL_GM_SC_MAPPING_HELPER has no exception.

Method LENGTH_CHECK_SERIAL_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Importing IT_SERIAL_NO Call by reference Type reference (TYPE) SAPPLCO_GMERPCRRQ_GMSN_TAB IDT for GdsMvmtERPCrteReq_s_V1GdsMvmtItmSrlNo 20080424

Method LENGTH_CHECK_SERIAL_NUMBERS on class CL_GM_SC_MAPPING_HELPER has no exception.

Method MAP_CODE_TO_INTERNAL_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE_LOG Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Exporting EV_GM_CODE Call by reference Type reference (TYPE) BAPI2017_GM_CODE MMIM: New Key Assignment GM_CODE to Transaction of Inv. Mgmt 20080424
3 Exporting EV_WEVER Call by reference Type reference (TYPE) WEVER Version for Printing GR/GI Slip 20080424
4 Importing IV_GOODSMOVEMENT_CATEGORY Call by reference Type reference (TYPE) SAPPLCO_GOODS_MOVEMENT_CATEGOR Proxy Data Element (Generated) 20080424
5 Importing IV_GR_GI_SLIP_PRINT_TYPE Call by reference Type reference (TYPE) SAPPLCO_GOODS_RECEIPT_ISSUE_SL Proxy Data Element (Generated) 20080424

Method MAP_CODE_TO_INTERNAL_HEADER on class CL_GM_SC_MAPPING_HELPER has no exception.

Method MAP_CODE_TO_INTERNAL_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE_LOG Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20080424
2 Exporting EV_SERIALNO_AUTO_NUMBERASSIG Call by reference Type reference (TYPE) XAUTO Indicator: Line item automatically created 20080424
3 Exporting EV_SPECIAL_STOCK Call by reference Type reference (TYPE) SOBKZ Special Stock Indicator 20080424
4 Exporting EV_STOCK_TYPE Call by reference Type reference (TYPE) MB_INSMK Stock Type 20080424
5 Importing IV_AUTO_CREATED_SERIAL_NO Call by reference Type reference (TYPE) SAPPLCO_SC_INDICATOR Indicator is the representation of a situation that has exac 20080424
6 Importing IV_INVENTORY_SPECIAL_STOCK_COD Call by reference Type reference (TYPE) SAPPLCO_SC_INVSPECSTOCTYPECODE Proxy Data Element (Generated) 20080424
7 Importing IV_INVENTORY_USABILITY_CODE Call by reference Type reference (TYPE) SAPPLCO_SC_INV_USABILITY_CODE Proxy Data Element (Generated) 20080424

Method MAP_CODE_TO_INTERNAL_ITEM on class CL_GM_SC_MAPPING_HELPER has no exception.

Method MAP_INTERAL_2_EXT_CODE_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_INV_SPECIAL_STOCK_CODE Call by reference Type reference (TYPE) SAPPLCO_SC_INVSPECSTOCTYPECODE Proxy Data Element (Generated) 20080424
2 Importing IV_SPECIAL_STOCK Call by reference Type reference (TYPE) SOBKZ Special Stock Indicator 20080424

Method MAP_INTERAL_2_EXT_CODE_ITEM on class CL_GM_SC_MAPPING_HELPER has no exception.

Method MAP_INTERAL_INMSK_TO_EXTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_INV_STOCK_TYPE Call by reference Type reference (TYPE) SAPPLCO_SC_INV_USABILITY_CODE GoodsMovementERPByIDResponseMessage_sync / GoodsMovement / 20080507
2 Importing IV_STOCK_TYPE Call by reference Type reference (TYPE) MB_INSMK Field Name 20080507

Method MAP_INTERAL_INMSK_TO_EXTERNAL on class CL_GM_SC_MAPPING_HELPER has no exception.

Method MAP_INTERAL_SHKZG_TO_EXTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DEBIT_CREDIT_CODE Call by reference Type reference (TYPE) SAPPLCO_SC_DEBIT_CREDIT_CODE General Flag 20080507
2 Importing IV_DEBIT_CREDIT_IND Call by reference Type reference (TYPE) SHKZG General Flag 20080507

Method MAP_INTERAL_SHKZG_TO_EXTERNAL on class CL_GM_SC_MAPPING_HELPER has no exception.

Method MAP_INTERAL_TO_EXTERNAL_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_GDT_NAME Call by reference Type reference (TYPE) STRING 20080424
2 Importing IV_INTERNAL_FIELDNAME Call by reference Type reference (TYPE) MIGO_FIELDNAME Field Name 20080424

Method MAP_INTERAL_TO_EXTERNAL_NAME on class CL_GM_SC_MAPPING_HELPER has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 603