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 | Constant | Private | Type reference (TYPE) | STRING | 'AENNR' | 20101214 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'ATAW1' | 20101214 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | 'ATAWE' | 20101214 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'CLFMAS' | Idoc type | 20101214 | ||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'CLFMAS01' | CLFMAS01 Basic type | 20110509 | ||
| 6 | Constant | Private | Type reference (TYPE) | STRING | 'CLFMAS02' | CLFMAS02 Basic type | 20110509 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'ID' | Component Name | 20111123 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'TYPE' | Component Name | 20111123 | ||
| 9 | Constant | Private | Type reference (TYPE) | STRING | 'E1AUSPM' | Segment name | 20101214 | ||
| 10 | Constant | Private | Type reference (TYPE) | STRING | 'E1DATEM' | Segment name | 20101214 | ||
| 11 | Constant | Private | Type reference (TYPE) | STRING | 'E1KSSKM' | Segment name | 20101214 | ||
| 12 | Constant | Private | Type reference (TYPE) | STRING | 'E1OCLFM' | Segment name | 20101214 | ||
| 13 | Constant | Private | Type reference (TYPE) | STRING | '65' | Idoc status error | 20110109 | ||
| 14 | Constant | Private | Type reference (TYPE) | STRING | '29' | Idoc status error | 20110109 | ||
| 15 | Constant | Private | Type reference (TYPE) | STRING | 'MARA' | Object tab | 20101214 | ||
| 16 | Constant | Public | Type reference (TYPE) | STRING | 'MATKL' | Field name | 20111123 | ||
| 17 | Constant | Private | Type reference (TYPE) | STRING | 'MATMAS' | Idoc type | 20101214 | ||
| 18 | Constant | Private | Type reference (TYPE) | STRING | 'MATMAS01' | MATMAS01 Basic type | 20110509 | ||
| 19 | Constant | Private | Type reference (TYPE) | STRING | 'MATMAS02' | MATMAS02 Basic type | 20110509 | ||
| 20 | Constant | Private | Type reference (TYPE) | STRING | 'MATMAS03' | MATMAS03 Basic type | 20110509 | ||
| 21 | Constant | Private | Type reference (TYPE) | STRING | 'MATMAS04' | MATMAS04 Basic type | 20110509 | ||
| 22 | Constant | Private | Type reference (TYPE) | STRING | 'MATMAS05' | MATMAS05 Basic type | 20110509 | ||
| 23 | Constant | Private | Type reference (TYPE) | STRING | 'MATNR' | MATNR | 20101214 | ||
| 24 | Constant | Private | Type reference (TYPE) | STRING | '194' | OITC for material | 20110509 | ||
| 25 | Constant | Private | Type reference (TYPE) | STRING | 'MSGFN' | Message function | 20101214 | ||
| 26 | Constant | Private | Type reference (TYPE) | STRING | 'SAP' | Message qualifier | 20101214 | ||
| 27 | Constant | Private | Type reference (TYPE) | CHAR1 | 'E' | Single-Character Indicator | 20101214 | ||
| 28 | Constant | Private | Type reference (TYPE) | STRING | 'OBJEK' | 20101214 | |||
| 29 | Constant | Public | Type reference (TYPE) | STRING | 'PRODH' | Product Category hierarchy | 20111123 | ||
| 30 | Constant | Public | Type reference (TYPE) | STRING | 'PRDH_A' | Product Category hierarchy | 20111123 | ||
| 31 | Constant | Public | Type reference (TYPE) | MDG_IDS_TYPE_CODE_BS | '923' | Product category hierarchy OITC | 20111123 | ||
| 32 | Constant | Private | Type reference (TYPE) | STRING | 'MDG_BS_MAT_DATA_REP' | message class name | 20101214 | ||
| 33 | Constant | Private | Type reference (TYPE) | STRING | '2' | Replication option for idoc | 20110509 | ||
| 34 | Constant | Private | Type reference (TYPE) | STRING | 'TDNAME' | TDNAME for long text | 20101214 | ||
| 35 | Static Attribute | Public | See coding | Stores ID mapping Data for relevant fields and segments | 20101208 | ||||
| 36 | Static Attribute | Public | See coding | Stores Value mapping Data for relevant fields and segments | 20110128 | ||||
| 37 | 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 | Instance method | Public | Constructor | CONSTRUCTOR | 20110128 | |
| 2 | Instance method | Public | Method | Get called incase of inbound for classifiaction IDOC | 20101011 | |
| 3 | Instance method | Public | Method | Get called incase of inbound for material IDOC | 20101011 | |
| 4 | Instance method | Public | Method | Get called incase of outbound for classification IDOC | 20101011 | |
| 5 | Instance method | Public | Method | Get called incase of outbound for material IDOC | 20101011 | |
| 6 | Instance method | Public | Method | method for checking ID mapping fields | 20101011 | |
| 7 | Instance method | Public | Method | method for checking Value mapping fields | 20101011 | |
| 8 | Instance method | Public | Method | Material internal number handling | 20101005 | |
| 9 | Instance method | Public | Method | raises error failing the IDOC status | 20101213 | |
| 10 | 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 | CT_MAPPING_TAB | Call by reference | Type reference (TYPE) | TAB_ICHANG | Table Type for Transfer | 20101011 | |||
| 2 | IS_CONTROL | Call by reference | Type reference (TYPE) | EDIDC | control record of the IDOC | 20101011 | |||
| 3 | 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 | CT_MAPPING_TAB | Call by reference | Type reference (TYPE) | TAB_ICHANG | Table Type for Transfer | 20101011 | |||
| 2 | IS_CONTROL | Call by reference | Type reference (TYPE) | EDIDC | control record of the IDOC | 20101011 | |||
| 3 | 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 | CT_MAPPING_TAB | Call by reference | Type reference (TYPE) | TAB_ICHANG | Table Type for Transfer | 20101011 | |||
| 2 | IS_CONTROL | Call by reference | Type reference (TYPE) | EDIDC | control record of the IDOC | 20101011 | |||
| 3 | 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 | ET_MAPPING_TAB | Call by reference | Type reference (TYPE) | TAB_ICHANG | Table Type for Transfer | 20101011 | |||
| 2 | IS_CONTROL | Call by reference | Type reference (TYPE) | EDIDC | control record of the IDOC | 20101011 | |||
| 3 | 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 | CS_SEG_DATA | Call by reference | Type reference (TYPE) | ANY | 20101011 | ||||
| 2 | CT_MAPPING_TAB | Call by reference | Type reference (TYPE) | TAB_ICHANG | Table Type for Transfer | 20101011 | |||
| 3 | ES_MATERIAL | Call by reference | Type reference (TYPE) | TS_MATERIAL_MAP | Key mapping info for Material | 20101011 | |||
| 4 | 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 | 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 | CS_SEG_DATA | Call by reference | Type reference (TYPE) | ANY | 20101011 | ||||
| 2 | CT_MAPPING_TAB | Call by reference | Type reference (TYPE) | TAB_ICHANG | Table Type for Transfer | 20101011 | |||
| 3 | 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 | 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 | CV_MATERIAL | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20101005 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20101005 | |||
| 3 | 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 | IS_MESSAGE | Call by reference | Type reference (TYPE) | BAPIRET2 | Return Parameter | 20101213 | |||
| 2 | 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 |