SAP ABAP Class CL_IM_MDG_BS_MAT_ID_VALUE (Imp. class for BAdI imp. MDG_BS_MAT_ID_VALUE)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-MM (Application Component) MDG Material
     MDG_BS_MAT_KEY_VALUEMAP_SFWS_1 (Package) MDG: Switch package for Key-/Value-Mapping Material
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_EX_IDOC_DATA_MAPPER BAdI Interface IF_EX_IDOC_DATA_MAPPER 20101005
Properties
Class CL_IM_MDG_BS_MAT_ID_VALUE  
Short Description Imp. class for BAdI imp. MDG_BS_MAT_ID_VALUE    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_MAT_KEY_VALUEMAP_SFWS_1   MDG: Switch package for Key-/Value-Mapping Material 
Created 20101005   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_IM_MDG_BS_MAT_ID_VALUE has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_EX_IDOC_DATA_MAPPER BAdI Interface IF_EX_IDOC_DATA_MAPPER 20101005
Friends
Class CL_IM_MDG_BS_MAT_ID_VALUE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_AENNR Constant Private Type reference (TYPE) STRING 'AENNR' 20101214
2 GC_ATAW1 Constant Private Type reference (TYPE) STRING 'ATAW1' 20101214
3 GC_ATAWE Constant Private Type reference (TYPE) STRING 'ATAWE' 20101214
4 GC_CLFMAS Constant Private Type reference (TYPE) STRING 'CLFMAS' Idoc type 20101214
5 GC_CLFMAS01 Constant Private Type reference (TYPE) STRING 'CLFMAS01' CLFMAS01 Basic type 20110509
6 GC_CLFMAS02 Constant Private Type reference (TYPE) STRING 'CLFMAS02' CLFMAS02 Basic type 20110509
7 GC_COMPNAME_ID Constant Public Type reference (TYPE) STRING 'ID' Component Name 20111123
8 GC_COMPNAME_TYPE Constant Public Type reference (TYPE) STRING 'TYPE' Component Name 20111123
9 GC_E1AUSPM Constant Private Type reference (TYPE) STRING 'E1AUSPM' Segment name 20101214
10 GC_E1DATEM Constant Private Type reference (TYPE) STRING 'E1DATEM' Segment name 20101214
11 GC_E1KSSKM Constant Private Type reference (TYPE) STRING 'E1KSSKM' Segment name 20101214
12 GC_E1OCLFM Constant Private Type reference (TYPE) STRING 'E1OCLFM' Segment name 20101214
13 GC_IDOC_ERROR_STATUS_IN Constant Private Type reference (TYPE) STRING '65' Idoc status error 20110109
14 GC_IDOC_ERROR_STATUS_OUT Constant Private Type reference (TYPE) STRING '29' Idoc status error 20110109
15 GC_MARA Constant Private Type reference (TYPE) STRING 'MARA' Object tab 20101214
16 GC_MATKL Constant Public Type reference (TYPE) STRING 'MATKL' Field name 20111123
17 GC_MATMAS Constant Private Type reference (TYPE) STRING 'MATMAS' Idoc type 20101214
18 GC_MATMAS01 Constant Private Type reference (TYPE) STRING 'MATMAS01' MATMAS01 Basic type 20110509
19 GC_MATMAS02 Constant Private Type reference (TYPE) STRING 'MATMAS02' MATMAS02 Basic type 20110509
20 GC_MATMAS03 Constant Private Type reference (TYPE) STRING 'MATMAS03' MATMAS03 Basic type 20110509
21 GC_MATMAS04 Constant Private Type reference (TYPE) STRING 'MATMAS04' MATMAS04 Basic type 20110509
22 GC_MATMAS05 Constant Private Type reference (TYPE) STRING 'MATMAS05' MATMAS05 Basic type 20110509
23 GC_MATNR Constant Private Type reference (TYPE) STRING 'MATNR' MATNR 20101214
24 GC_MAT_OTC Constant Private Type reference (TYPE) STRING '194' OITC for material 20110509
25 GC_MSG_FUNCTION Constant Private Type reference (TYPE) STRING 'MSGFN' Message function 20101214
26 GC_MSG_QUALIFIER Constant Private Type reference (TYPE) STRING 'SAP' Message qualifier 20101214
27 GC_MSG_TYPE_ERR Constant Private Type reference (TYPE) CHAR1 'E' Single-Character Indicator 20101214
28 GC_OBJEK Constant Private Type reference (TYPE) STRING 'OBJEK' 20101214
29 GC_PRODH Constant Public Type reference (TYPE) STRING 'PRODH' Product Category hierarchy 20111123
30 GC_PRODH_A Constant Public Type reference (TYPE) STRING 'PRDH_A' Product Category hierarchy 20111123
31 GC_PROD_OITC Constant Public Type reference (TYPE) MDG_IDS_TYPE_CODE_BS '923' Product category hierarchy OITC 20111123
32 GC_REPL_MSG_CLASS Constant Private Type reference (TYPE) STRING 'MDG_BS_MAT_DATA_REP' message class name 20101214
33 GC_REPL_VIA_IDOC Constant Private Type reference (TYPE) STRING '2' Replication option for idoc 20110509
34 GC_TDNAME Constant Private Type reference (TYPE) STRING 'TDNAME' TDNAME for long text 20101214
35 GT_ID_MAPPING Static Attribute Public See coding Stores ID mapping Data for relevant fields and segments 20101208
36 GT_VALUE_MAPPING Static Attribute Public See coding Stores Value mapping Data for relevant fields and segments 20110128
37 SV_FROM_DRF Static Attribute Private Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20110810
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110128
2 IDOC_INBOUND_MAPPER_CLF Instance method Public Method Get called incase of inbound for classifiaction IDOC 20101011
3 IDOC_INBOUND_MAPPER_MAT Instance method Public Method Get called incase of inbound for material IDOC 20101011
4 IDOC_OUTBOUND_MAPPER_CLF Instance method Public Method Get called incase of outbound for classification IDOC 20101011
5 IDOC_OUTBOUND_MAPPER_MAT Instance method Public Method Get called incase of outbound for material IDOC 20101011
6 INBOUND_ID_MAPPING Instance method Public Method method for checking ID mapping fields 20101011
7 INBOUND_VAL_MAPPING Instance method Public Method method for checking Value mapping fields 20101011
8 MAT_INT_EXT_HANDLE Instance method Public Method Material internal number handling 20101005
9 RAISE_ERROR Instance method Public Method raises error failing the IDOC status 20101213
10 SET_CALLED_FROM_DRF Static method Public Method Set the value to true if called from DRF 20110811
Events
Class CL_IM_MDG_BS_MAT_ID_VALUE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_MATERIAL_MAP Public See coding 20101005 BEGIN OF ts_material_map, source_mat TYPE matnr, target_mat TYPE matnr, END OF ts_material_map
2 TT_MATERIAL_MAP Public See coding 20101005 tt_material_map TYPE TABLE OF ts_material_map
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_IM_MDG_BS_MAT_ID_VALUE has no parameter.
Method CONSTRUCTOR on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method IDOC_INBOUND_MAPPER_CLF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MAPPING_TAB Call by reference Type reference (TYPE) TAB_ICHANG Table Type for Transfer 20101011
2 Importing IS_CONTROL Call by reference Type reference (TYPE) EDIDC control record of the IDOC 20101011
3 Importing IT_DATA Call by reference Type reference (TYPE) TAB_EDIDD Transfer Type for Data Records 20101011

Method IDOC_INBOUND_MAPPER_CLF on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method IDOC_INBOUND_MAPPER_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MAPPING_TAB Call by reference Type reference (TYPE) TAB_ICHANG Table Type for Transfer 20101011
2 Importing IS_CONTROL Call by reference Type reference (TYPE) EDIDC control record of the IDOC 20101011
3 Importing IT_DATA Call by reference Type reference (TYPE) TAB_EDIDD Transfer Type for Data Records 20101011

Method IDOC_INBOUND_MAPPER_MAT on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method IDOC_OUTBOUND_MAPPER_CLF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MAPPING_TAB Call by reference Type reference (TYPE) TAB_ICHANG Table Type for Transfer 20101011
2 Importing IS_CONTROL Call by reference Type reference (TYPE) EDIDC control record of the IDOC 20101011
3 Importing IT_DATA Call by reference Type reference (TYPE) TAB_EDIDD Transfer Type for Data Records 20101011

Method IDOC_OUTBOUND_MAPPER_CLF on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method IDOC_OUTBOUND_MAPPER_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MAPPING_TAB Call by reference Type reference (TYPE) TAB_ICHANG Table Type for Transfer 20101011
2 Importing IS_CONTROL Call by reference Type reference (TYPE) EDIDC control record of the IDOC 20101011
3 Importing IT_DATA Call by reference Type reference (TYPE) TAB_EDIDD Transfer Type for Data Records 20101011

Method IDOC_OUTBOUND_MAPPER_MAT on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method INBOUND_ID_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEG_DATA Call by reference Type reference (TYPE) ANY 20101011
2 Changing CT_MAPPING_TAB Call by reference Type reference (TYPE) TAB_ICHANG Table Type for Transfer 20101011
3 Exporting ES_MATERIAL Call by reference Type reference (TYPE) TS_MATERIAL_MAP Key mapping info for Material 20101011
4 Importing IO_DATA_PARSING Call by reference Object reference (TYPE REF TO) CL_MDG_BS_MATMAS_DATA_PARSING Class to parse the matams data to check id value mapping 20101011
5 Importing IS_EDIDD Call by reference Type reference (TYPE) EDID4 idoc data record 20101011

Method INBOUND_ID_MAPPING on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method INBOUND_VAL_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEG_DATA Call by reference Type reference (TYPE) ANY 20101011
2 Changing CT_MAPPING_TAB Call by reference Type reference (TYPE) TAB_ICHANG Table Type for Transfer 20101011
3 Importing IO_DATA_PARSING Call by reference Object reference (TYPE REF TO) CL_MDG_BS_MATMAS_DATA_PARSING Class to parse the matams data to check id value mapping 20101011
4 Importing IS_EDIDD Call by reference Type reference (TYPE) EDID4 idoc data record 20101011

Method INBOUND_VAL_MAPPING on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method MAT_INT_EXT_HANDLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_MATERIAL Call by reference Type reference (TYPE) MATNR Material Number 20101005
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20101005
3 Importing IV_MAT_TYPE Call by reference Type reference (TYPE) MTART Material Type 20101005

Method MAT_INT_EXT_HANDLE on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method RAISE_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_MESSAGE Call by reference Type reference (TYPE) BAPIRET2 Return Parameter 20101213
2 Importing IV_PROCESS Call by reference Type reference (TYPE) CHAR3 Indicates Inbound or Out Bound 20110109

Method RAISE_ERROR on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.

Method SET_CALLED_FROM_DRF Signature

Method SET_CALLED_FROM_DRF on class CL_IM_MDG_BS_MAT_ID_VALUE has no parameter.
Method SET_CALLED_FROM_DRF on class CL_IM_MDG_BS_MAT_ID_VALUE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606