SAP ABAP Class CL_MDG_BS_MAT_SI_UTIL (MDG Material utility class for service implementation)
Hierarchy
MDG_APPL (Software Component) MDG Applications
   CA-MDG-APP-MM (Application Component) MDG Material
     MDG_BS_MAT_SI (Package) MDG: SIW content
Properties
Class CL_MDG_BS_MAT_SI_UTIL  
Short Description MDG Material utility class for service implementation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_MAT_SI   MDG: SIW content 
Created 20101130   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_MDG_BS_MAT_SI_REQ_IN Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_MDG_BS_MAT_SI_UTIL has no interface implemented.
Friends
Class CL_MDG_BS_MAT_SI_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_MESSAGE_CLASS Constant Private Type reference (TYPE) STRING 'MDG_BS_MAT_SI' Message Class name 20120117
2 GO_ID_MATCHING_API Static Attribute Private Object reference (TYPE REF TO) IF_MDG_ID_MATCHING_API_BS Interface for Key Mapping 20101222
3 GV_OWN_SYSTEM_ID Static Attribute Private Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120510
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ID_MATCHING Static method Public Method 20101222
2 CONV_INDICATOR_IN Static method Public Method 20101215
3 CONV_INDICATOR_OUT Static method Public Method 20101228
4 CONV_LANG_ISO_IN Static method Public Method 20101130
5 CONV_LANG_ISO_OUT Static method Public Method 20101130
6 CONV_LOG_CONF_IN Static method Public Method Map log 20101214
7 CONV_MAT_EXT Static method Public Method Convert Material from internal no to external no 20101202
8 CONV_MAT_INT Static method Public Method Convert Material from external no to internal no 20101202
9 CONV_UNIT_CODE_IN Static method Public Method 20101130
10 CONV_UNIT_CODE_OUT Static method Public Method 20101130
11 CREATE_STRUCTURED_KEY Static method Public Method Create structured Keys from components 20120122
12 FILL_API_STRUCT Static method Public Method Fill API structure with multiple material data 20120111
13 FILL_MSG_HEADER Static method Public Method Fill message header 20101210
14 GET_CURR_BUS_SYS Static method Public Method Get Current Business System 20101202
15 GET_FIELD_LEN Static method Public Method 20101206
16 GET_MAPPED_KEYS Static method Public Method Perform Key Mapping 20120120
17 GET_PERSISTANCE_CHOICE Static method Public Method Gets the persistance choice maintained in configuration 20120619
18 MAP_MESSAGE Static method Public Method MAP MDG Message to Output Message(BAPIRETTAB) 20120518
19 REMOVE_MESSAGES Static method Public Method Remove sucess or error messages 20120331
20 SPLIT_KEY_INTO_COMPONENTS Static method Public Method Split structured Key into components 20120212
Events
Class CL_MDG_BS_MAT_SI_UTIL has no event.
Types
Class CL_MDG_BS_MAT_SI_UTIL has no local type.
Method Signatures

Method ADD_ID_MATCHING 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 20120120
2 Importing IS_ADMIN_MSG_DATA Call by reference Type reference (TYPE) CL_MDG_BS_MAT_SI_REQ_IN=>GTYS_ADMIN_MESSAGE_DATA Representation of one obj. within a mapping grp, Input Para 20120121
3 Importing IS_SOURCE_MATID Call by reference Type reference (TYPE) MDG_S_MATCHING_OBJ_DATA_INP_BS IDs of several object identifier sets 20120120
4 Importing IS_TARGET_MATID Call by reference Type reference (TYPE) MDG_S_MATCHING_OBJ_DATA_INP_BS IDs of several object identifier sets 20120120

Method ADD_ID_MATCHING on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_INDICATOR_IN 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 20101228
2 Exporting EV_VALUE Call by reference Type reference (TYPE) FLAG General Flag 20101215
3 Importing IV_VALUE Call by reference Type reference (TYPE) CSEQUENCE 20101215

Method CONV_INDICATOR_IN on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_INDICATOR_OUT 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 20101228
2 Exporting EV_VALUE Call by reference Type reference (TYPE) CSEQUENCE 20101228
3 Importing IV_VALUE Call by reference Type reference (TYPE) FLAG General Flag 20101228

Method CONV_INDICATOR_OUT on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_LANG_ISO_IN 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 20101130
2 Exporting EV_VALUE Call by reference Type reference (TYPE) SPRAS Language Key 20101130
3 Importing IV_VALUE Call by reference Type reference (TYPE) CSEQUENCE 20101130

Method CONV_LANG_ISO_IN on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_LANG_ISO_OUT 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 20101130
2 Exporting EV_VALUE Call by reference Type reference (TYPE) CSEQUENCE 20101130
3 Importing IV_VALUE Call by reference Type reference (TYPE) SPRAS Language Key 20101130

Method CONV_LANG_ISO_OUT on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_LOG_CONF_IN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_LOG Call by reference Type reference (TYPE) ANY 20101214
2 Returning RT_APPLMSGTAB Value transfer Type reference (TYPE) APPLMSGTAB Return Table for Messages 20101214

Method CONV_LOG_CONF_IN on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_MAT_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INT_MAT Call by reference Type reference (TYPE) ANY 20101202
2 Returning RV_EXT_MAT Value transfer Type reference (TYPE) MATNR Material Number 20101202

Method CONV_MAT_EXT on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_MAT_INT 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 20120522
2 Exporting EV_INT_MAT Value transfer Type reference (TYPE) MATNR Proxy Data Element (Generated) 20120522
3 Importing IV_EXT_MAT Call by reference Type reference (TYPE) ANY Material Number 20101202

Method CONV_MAT_INT on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_UNIT_CODE_IN 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 20101130
2 Exporting EV_VALUE Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20101130
3 Importing IV_VALUE Call by reference Type reference (TYPE) CSEQUENCE 20101130

Method CONV_UNIT_CODE_IN on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CONV_UNIT_CODE_OUT 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 20101130
2 Exporting EV_VALUE Call by reference Type reference (TYPE) CSEQUENCE 20101130
3 Importing IV_VALUE Call by reference Type reference (TYPE) T006-MSEHI Unit of Measurement 20101130

Method CONV_UNIT_CODE_OUT on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method CREATE_STRUCTURED_KEY 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) BAPIRET2_T Return Messages 20120122
2 Exporting EV_STRUCTURED_KEY Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Structured Key 20120122
3 Importing IO_RAW_KEY Call by reference Object reference (TYPE REF TO) DATA Raw Key 20120122
4 Importing IV_OBJECT_ID_TYPE Call by reference Type reference (TYPE) MDG_IDS_TYPE_CODE_BS Object Identifier Type 20120122

Method CREATE_STRUCTURED_KEY on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method FILL_API_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_INPUT_API Call by reference Object reference (TYPE REF TO) DATA 20120111
2 Importing IR_INPUT_API Call by reference Object reference (TYPE REF TO) DATA 20120111
3 Importing IR_MESSAGES Call by reference Object reference (TYPE REF TO) DATA 20120111

Method FILL_API_STRUCT on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method FILL_MSG_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_MSG_HEADER Call by reference Type reference (TYPE) MDGCO_BUS_DOC_MESSAGE_HEADER Business information from the perspective of the sender appl 20101210
2 Importing IV_RECIPIENT_BUS_SYS Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101210
3 Importing IV_SENDER_BUS_SYS Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101210

Method FILL_MSG_HEADER on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method GET_CURR_BUS_SYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_BUS_SYS Value transfer Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20101202

Method GET_CURR_BUS_SYS on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method GET_FIELD_LEN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_LENGTH Value transfer Type reference (TYPE) DD01V-OUTPUTLEN Generierte Tabelle zu einem View 20101206
2 Importing IV_NAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20101206

Method GET_FIELD_LEN on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method GET_MAPPED_KEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ALL_MATCHING_OBJECTS Call by reference Type reference (TYPE) MDG_T_MATCHING_OBJ_DATA_BS Table Type with several mapping objects 20120120
2 Exporting ET_MAPPED_KEY Call by reference Type reference (TYPE) MDG_T_MAPPED_KEY_BS Identifier Set data of multiple pairs of mapped objects 20120120
3 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAPIRET2_T Return parameter table 20120120
4 Importing IS_OBJECT_KEY_EXTERNAL Call by reference Type reference (TYPE) MDG_S_OBJECT_KEY_BS Object Key inlcuding Object Type Code 20120120
5 Importing IT_OBJECT_KEY_EXTERNAL Call by reference Type reference (TYPE) MDG_T_OBJECT_KEY_BS Multiple Object Keys inlcuding Object Type Code 20120120
6 Importing IV_GET_ALL_MATCHING_OBJECTS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120120

Method GET_MAPPED_KEYS on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method GET_PERSISTANCE_CHOICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PERSISTENCE Call by reference Type reference (TYPE) MDG_CA_REPLICATION_PERSISTENCE Storage Location for Data Replication 20120619
2 Importing IV_BUSINESS_SYSTEM Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20120619

Method GET_PERSISTANCE_CHOICE on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method MAP_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_BAPIRET Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20120518
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) MDG_BS_MAT_T_API_MSG Table of API messages 20120518
3 Exporting EV_HAS_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120518
4 Importing IT_MESSAGES Call by reference Type reference (TYPE) MDG_BS_MAT_T_MAT_MSG MDG BS MAT: Material Error Message Table 20120518
5 Importing IV_IGNORE_SUCCESS_MSGS Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Boolean Variable (X=True, -=False, Space=Unknown) 20120518

Method MAP_MESSAGE on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method REMOVE_MESSAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) MDG_BS_MAT_T_API_MSG Table of API messages 20120331
2 Importing IV_ERRORS_ONLY Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Boolean Variable (X=True, -=False, Space=Unknown) 20120331
3 Importing IV_NON_ERRORS_ONLY Call by reference Type reference (TYPE) BOOLEAN ABAP_FALSE Boolean Variable (X=True, -=False, Space=Unknown) 20120331

Method REMOVE_MESSAGES on class CL_MDG_BS_MAT_SI_UTIL has no exception.

Method SPLIT_KEY_INTO_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELD_VALUE Call by reference Type reference (TYPE) MDG_T_KM_FIELD_VALUE Field/Value pairs of structured ID values 20120212
2 Importing IV_OBJECT_ID_TYPE Call by reference Type reference (TYPE) MDG_IDS_TYPE_CODE_BS Object Identifier Type 20120212
3 Importing IV_STRUCTURED_KEY Call by reference Type reference (TYPE) MDG_OBJECT_ID_BS Structured Key 20120212

Method SPLIT_KEY_INTO_COMPONENTS on class CL_MDG_BS_MAT_SI_UTIL has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 606