SAP ABAP Class CL_MDG_BS_MATMAS_DATA_PARSING (MDGM: Parse MATMAS data to check id and value mapping)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-MM (Application Component) MDG Material
     MDG_BS_MAT_KEY_VALUEMAP (Package) MDG: Material, Key- and Value-Mapping (unswitched)
Properties
Class CL_MDG_BS_MATMAS_DATA_PARSING  
Short Description MDGM: Parse MATMAS data to check id and value mapping    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_MAT_KEY_VALUEMAP   MDG: Material, Key- and Value-Mapping (unswitched) 
Created 20100112   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_MDG_BS_MATMAS_DATA_PARSING has no forward declaration.
Interfaces
Class CL_MDG_BS_MATMAS_DATA_PARSING has no interface implemented.
Friends
Class CL_MDG_BS_MATMAS_DATA_PARSING has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ABORT Constant Public Type reference (TYPE) BAPI_MTYPE 'A' Message type: S Success, E Error, W Warning, I Info, A Abort 20100905
2 GC_COMPNAME_ID Constant Public Type reference (TYPE) STRING 'ID' Component Name 20110516
3 GC_COMPNAME_TYPE Constant Public Type reference (TYPE) STRING 'TYPE' Component Name 20110516
4 GC_E1CUCFG Constant Public Type reference (TYPE) STRING 'E1CUCFG' segment name 20100909
5 GC_E1CUINS Constant Public Type reference (TYPE) STRING 'E1CUINS' segment name 20100909
6 GC_E1MAKTM Constant Public Type reference (TYPE) STRING 'E1MAKTM' segment name 20100909
7 GC_E1MARA1 Constant Public Type reference (TYPE) STRING 'E1MARA1' segment name 20100909
8 GC_E1MARAM Constant Public Type reference (TYPE) STRING 'E1MARAM' segment name 20100908
9 GC_E1MARCM Constant Public Type reference (TYPE) STRING 'E1MARCM' segment name 20100909
10 GC_E1MARDM Constant Public Type reference (TYPE) STRING 'E1MARDM' segmant Name 20110210
11 GC_E1MARMM Constant Public Type reference (TYPE) STRING 'E1MARMM' segment name 20100909
12 GC_E1MBEWM Constant Public Type reference (TYPE) STRING 'E1MBEWM' segment name 20100909
13 GC_E1MKALM Constant Public Type reference (TYPE) STRING 'E1MKALM' segment name 20100909
14 GC_E1MLANM Constant Public Type reference (TYPE) STRING 'E1MLANM' segment name 20100909
15 GC_E1MLGNM Constant Public Type reference (TYPE) STRING 'E1MLGNM' segment name 20100909
16 GC_E1MLGTM Constant Public Type reference (TYPE) STRING 'E1MLGTM' segment name 20100909
17 GC_E1MPGDM Constant Public Type reference (TYPE) STRING 'E1MPGDM' segment name 20100909
18 GC_E1MTXHM Constant Public Type reference (TYPE) STRING 'E1MTXHM' segment name 20100909
19 GC_E1MTXLM Constant Public Type reference (TYPE) STRING 'E1MTXLM' segmant Name 20100909
20 GC_E1MVKEM Constant Public Type reference (TYPE) STRING 'E1MVKEM' segment name 20100909
21 GC_ERROR Constant Public Type reference (TYPE) BAPI_MTYPE 'E' Message type: S Success, E Error, W Warning, I Info, A Abort 20100905
22 GC_MAP_MSG_CLASS Constant Public Type reference (TYPE) STRING 'MDG_BS_MAT_DATA_REP' Message class 20100905
23 GC_MATKL Constant Public Type reference (TYPE) STRING 'MATKL' Field name 20110516
24 GC_MATNR Constant Public Type reference (TYPE) CHAR5 'MATNR' Field MATNR 20100914
25 GC_MAT_OTC Constant Public Type reference (TYPE) CHAR3 '194' 3-Byte field 20100912
26 GC_MVKE Constant Public Type reference (TYPE) CHAR4 'MVKE' table name 20100914
27 GC_PRODH Constant Public Type reference (TYPE) STRING 'PRODH' Product Category hierarchy 20110516
28 GC_PRODH_A Constant Public Type reference (TYPE) STRING 'PRDH_A' Product Category hierarchy 20110516
29 GC_PROD_OITC Constant Public Type reference (TYPE) MDG_IDS_TYPE_CODE_BS '923' Product category hierarchy OITC 20110516
30 GC_PROFIT_CENTRE_OITC Constant Public Type reference (TYPE) MDG_IDS_TYPE_CODE_BS '898' OiTC code 20110209
31 GC_SALES_TEXT_TDID Constant Public Type reference (TYPE) CHAR4 '0001' TDID for sales text 20100914
32 GC_SUCCESS Constant Public Type reference (TYPE) BAPI_MTYPE 'S' Message type: S Success, E Error, W Warning, I Info, A Abort 20100905
33 GC_TDNAME Constant Public Type reference (TYPE) STRING 'TDNAME' Field name 20110516
34 GC_VKORG Constant Public Type reference (TYPE) CHAR5 'VKORG' Field VKORG 20100914
35 GC_WARNING Constant Public Type reference (TYPE) BAPI_MTYPE 'W' Message type: S Success, E Error, W Warning, I Info, A Abort 20100905
36 GO_CL_MDG_CODE_MAPPING Static Attribute Public Object reference (TYPE REF TO) CL_MDG_CODE_MAPPING Central Value Mapping API 20100118
37 GS_BS_SYS_TECH Static Attribute Public Type reference (TYPE) MDG_S_BUS_SYS_TECH Technical Information of an Business Object 20100808
38 GT_BS_ATTR Static Attribute Public Type reference (TYPE) MGD_T_BUS_SYS_ATTR Attributes per Business System / BO /Communication Channel 20100122
39 GT_ID_MAPPED_VALUES Static Attribute Public Type reference (TYPE) MDG_BS_T_ID_MAPPINGS ID Value mappings 20100112
40 GT_ID_MAPPING Instance attribute Public See coding Stores ID mapping Data for relevant fields and segments 20100827
41 GT_ID_MASTER_DATA Static Attribute Public Type reference (TYPE) MDG_BS_T_ID_MAPPING_INFO ID Mapping info 20100112
42 GT_MAT_MAPPING Static Attribute Public Type reference (TYPE) MDG_BS_T_MAT_MAPPING ID/Value Mapping 20101207
43 GT_VALUE_MAPPED_VALUES Static Attribute Public Type reference (TYPE) MDG_BS_T_VALUE_MAPPINGS ID Value mappings 20100112
44 GT_VALUE_MAPPING Instance attribute Public Type reference (TYPE) TT_MDG_MAT_VALUEMAP 20100906
45 GT_VALUE_MASTER_DATA Static Attribute Public Type reference (TYPE) MDG_BS_T_VALUE_MAPPING_INFO Value Mapping info 20100112
46 GV_CUST_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
47 GV_ECN_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
48 GV_FUN_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
49 GV_HARMONIZED_KEY Constant Public Type reference (TYPE) CHAR1 '2' Harmonized key option 20100905
50 GV_MAT_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
51 GV_PLANT_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
52 GV_PROD_CAT_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
53 GV_PROF_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
54 GV_REPLICATION_IDOC Constant Public Type reference (TYPE) CHAR1 '2' Replication via IDOC 20100905
55 GV_STOR_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
56 GV_SUPPL_HARMONIZED Static Attribute Public Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100122
57 GV_SYSTEM_ID Static Attribute Public Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20100113
58 MV_MESSAGE Instance attribute Public Type reference (TYPE) STRING 20100905
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20100112
2 CRT_MAPPING_MAT_KEY Instance method Public Method Maintains id mapping and number range handling for material 20100908
3 GET_DATA Instance method Public Method Splis and classifies Segment fields 20100112
4 GET_FIELD_TEXT Instance method Public Method returns the txt of the field 20100902
5 GET_SYSTEM_MSG Static method Public Method returns the message 20100905
6 ID_VALUE_MAPPING_INBOUND Instance method Public Method ID/Value mapping for MATMAS 20100113
7 ID_VALUE_MAPPING_OUTBOUND Instance method Public Method ID/Value mapping for MATMAS 20100113
8 MAINTAIN_ID_MAPPING Instance method Public Method Maintains id mapping for relevant fields 20100901
9 MAINTAIN_VAL_MAPPING Instance method Public Method Maintains value mapping for relevant fields 20100901
10 MAT_INT_EXT_HANDLE Instance method Public Method Handles External and internal number of material 20110516
11 SET_SYSTEM_ID Instance method Public Method Set systems in ID/Value APIs and this class 20100113
Events
Class CL_MDG_BS_MATMAS_DATA_PARSING has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ID_STRUCT Private See coding 20100112 BEGIN OF id_struct, field_name TYPE string, otc TYPE mdg_object_type_code_bs, idsc TYPE mdg_ids_type_code_bs, alpha_conversion TYPE boolean, END OF id_struct
2 ID_TABLE Private See coding 20100112 id_table TYPE STANDARD TABLE OF id_struct
3 TS_MATERIAL_MAP Public See coding 20100831 BEGIN OF ts_material_map, source_mat TYPE matnr, target_mat TYPE matnr, END OF ts_material_map
4 TT_MATERIAL_MAP Public See coding 20100831 tt_material_map TYPE TABLE OF ts_material_map
5 TT_MDG_MAT_IDMAP Public See coding 20100901 tt_mdg_mat_idmap TYPE TABLE OF mdg_mat_idmap
6 TT_MDG_MAT_VALUEMAP Public See coding 20100901 TT_MDG_MAT_VALUEMAP TYPE TABLE OF mdg_mat_valuemap
7 VALUE_STRUCT Private See coding 20100112 BEGIN OF value_struct, field_name TYPE string, object TYPE prx_r3obj, object_name TYPE prx_r3name, END OF value_struct
8 VALUE_TABLE Private See coding 20100112 value_table TYPE STANDARD TABLE OF value_struct
Method Signatures

Method CONSTRUCTOR Signature

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

Method CRT_MAPPING_MAT_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RET_TAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100908
2 Importing IT_MATERIAL Call by reference Type reference (TYPE) TT_MATERIAL_MAP Material mapping information 20100908
3 Importing IV_BUS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20100908
# Exception Resumable Description Created on
1 ERROR Processing Error 20100908

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) DATA 20100112
2 Importing IT_DATA Call by reference Type reference (TYPE) DATA 20100112

Method GET_DATA on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method GET_FIELD_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FIELDS_TXT Call by reference Type reference (TYPE) STRING Holds the text for the field 20100902
2 Importing IS_ID_MAP_INFO Call by reference Type reference (TYPE) MDG_MAT_IDMAP Stores ID mapping Data for relevant fields and segments 20100902
3 Importing IS_VAL_MAP_INFO Call by reference Type reference (TYPE) MDG_MAT_VALUEMAP Stores Value mapping Data for relevant fields and segments 20100902

Method GET_FIELD_TEXT on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method GET_SYSTEM_MSG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100905

Method GET_SYSTEM_MSG on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method ID_VALUE_MAPPING_INBOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100317

Method ID_VALUE_MAPPING_INBOUND on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method ID_VALUE_MAPPING_OUTBOUND Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGE Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100317

Method ID_VALUE_MAPPING_OUTBOUND on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method MAINTAIN_ID_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEGMENT_DATA Call by reference Type reference (TYPE) ANY 20100901
2 Exporting ES_MATERIAL Call by reference Type reference (TYPE) TS_MATERIAL_MAP 20100901
3 Exporting ET_RET_TAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100901
4 Exporting EV_DEL_FLAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100901
5 Importing IS_EDIDD Call by reference Type reference (TYPE) EDIDD Data record (IDoc) 20100901

Method MAINTAIN_ID_MAPPING on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method MAINTAIN_VAL_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_SEGMENT_DATA Call by reference Type reference (TYPE) ANY 20100901
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20100905
3 Exporting EV_DEL_FLAG Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100901
4 Importing IS_EDIDD Call by reference Type reference (TYPE) EDIDD Data record (IDoc) 20100901

Method MAINTAIN_VAL_MAPPING on class CL_MDG_BS_MATMAS_DATA_PARSING 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 20110516
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110516
3 Importing IV_MAT_TYPE Call by reference Type reference (TYPE) MTART Material Type 20110516

Method MAT_INT_EXT_HANDLE on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.

Method SET_SYSTEM_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TARGET_SYS_ID Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20100113

Method SET_SYSTEM_ID on class CL_MDG_BS_MATMAS_DATA_PARSING has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605