SAP ABAP Class CL_USMD_IDOC_UTIL (Utility class for IDoc)
Hierarchy
MDG_FND (Software Component) MDG Foundation
   CA-MDG-APP-FIN (Application Component) MDG for Financials
     USMD_XI_PROXY_EN (Package) MDGF: Proxies (English)
Properties
Class CL_USMD_IDOC_UTIL  
Short Description Utility class for IDoc    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class USMD_XI_PROXY_EN    
Program status     
Category 0   
Package USMD_XI_PROXY_EN   MDGF: Proxies (English) 
Created 20100527   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 AUDIT Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 USMD0 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 USMDI Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_USMD_IDOC_UTIL has no interface implemented.
Friends
Class CL_USMD_IDOC_UTIL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 DT_MAPPING Static Attribute Private Type reference (TYPE) USMD_TS_SMT_MAPPING Table with SMT Maps 20100528
2 GC_HRY_INFO_STRUCT Static Attribute Private Type reference (TYPE) STRING 'USMD_SX_HRY_INFO' 20100615
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ALEAUD_MSG_LOG Static method Public Method 20100813
2 ASSIGN_FIELD Static method Public Method 20110301
3 BUILD_WHERE_CONDITION Static method Public Method 20100531
4 CHECK_RFC_EXIST Static method Public Method 20110301
5 GET_AVAILABLE_HRY_KEY Static method Private Method 20100618
6 GET_DATA_MODEL_FROM_EDITION Static method Public Method 20100603
7 GET_HRY_ENTITY_MAP Static method Private Method 20100714
8 GET_LEAF_ENTITY Static method Private Method 20100617
9 GET_LOGSYS_FROM_DRF Static method Public Method 20100625
10 GET_OBJECT_KEY_FFIX Static method Private Method 20100615
11 GET_SEGMENT_FROM_TARGET Static method Private Method 20100615
12 GET_SMT_STRUCT_REF Static method Public Method 20100527
13 GET_SUBTREE_BY_ROOT Static method Private Method 20100617
14 GET_TIME_INTERVALS Static method Public Method 20120823
15 MAPPING_HRY_NODE Static method Private Method 20100615
16 MAPPING_ID_FOR_HRYNODE Static method Private Method 20100615
17 MAPPING_ID_STRUCT Static method Public Method 20100602
18 MAPPING_OUT_COGRP01 Static method Public Method Map Data for CostCentre Group Hierarchy (per Entity) 20100615
19 MAPPING_SMT_STRUCT Static method Public Method 20100528
20 READ_HRY_NODE_ENTITY_DATA Static method Private Method 20100615
21 SET_MONITOR_STATUS Static method Public Method 20100611
22 UNLOCK_AND_COMMIT_IDOC Static method Public Method 20100608
Events
Class CL_USMD_IDOC_UTIL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DATA_ALL_IDOC Public See coding 20100615 begin of s_data_all_idoc, r_object type ref to data, t_edidd type edidd_tt, end of s_data_all_idoc
2 S_HRY_ENTITY Public See coding 20100714 begin of s_hry_entity, entity_hry type usmd_entity, entity_grp type usmd_entity, entity_leaf type usmd_entity, end of s_hry_entity
3 S_HRY_KEY Public See coding 20100618 begin of s_hry_key, node_entity type usmd_entity, node type usmd_value, node_t_key type usmd_ts_value, end of s_hry_key
4 T_DATA_ALL_IDOC Public See coding 20100615 t_data_all_idoc type table of s_data_all_idoc
5 T_HRY_KEY Public See coding 20100618 t_hry_key type table of s_hry_key
6 T_USMD004C_S_GUI Public See coding 20100714 t_usmd004c_s_gui type standard table of usmd004c_s_gui with default key
Method Signatures

Method ADD_ALEAUD_MSG_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100813
2 Importing IT_AUDIT_EMESS Call by reference Type reference (TYPE) AUDIT_EMESS_TAB 20100813
3 Importing IT_AUDIT_IDOC Call by reference Type reference (TYPE) AUDIT_IDOC_TAB 20100813

Method ADD_ALEAUD_MSG_LOG on class CL_USMD_IDOC_UTIL has no exception.

Method ASSIGN_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SOURCE Call by reference Type reference (TYPE) DATA 20110301
2 Importing I_FIELD Call by reference Type reference (TYPE) STRING 20110301
3 Returning R_DATA Value transfer Type reference (TYPE) USMD_VALUE Characteristic Value 20110301

Method ASSIGN_FIELD on class CL_USMD_IDOC_UTIL has no exception.

Method BUILD_WHERE_CONDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_WHERE_CONDITION Call by reference Type reference (TYPE) STRING 20100531
2 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100531
3 Importing IR_RELEVANT_OBJECT Call by reference Object reference (TYPE REF TO) DATA 20100531
4 Importing I_FIELDNAME Call by reference Type reference (TYPE) USMD_FIELDNAME Financial MDM: Field Name 20100531

Method BUILD_WHERE_CONDITION on class CL_USMD_IDOC_UTIL has no exception.

Method CHECK_RFC_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FUNCNAME Call by reference Type reference (TYPE) STRING 20110301
2 Importing I_RFCDEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20110301
3 Returning R_EXIST Value transfer Type reference (TYPE) USMD_FLG MDGAF: General Indicator 20110301

Method CHECK_RFC_EXIST on class CL_USMD_IDOC_UTIL has no exception.

Method GET_AVAILABLE_HRY_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HRY_KEY Call by reference Type reference (TYPE) T_HRY_KEY 20100618
2 Importing IT_HRY_INFO Call by reference Type reference (TYPE) USMD_TS_HRY_INFO Table with Hierarchy Information 20100618

Method GET_AVAILABLE_HRY_KEY on class CL_USMD_IDOC_UTIL has no exception.

Method GET_DATA_MODEL_FROM_EDITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EO_DATA_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100603
2 Exporting ET_MESSAGE Call by reference Type reference (TYPE) USMD_T_MESSAGE Messages 20100603
3 Importing I_EDITION Call by reference Type reference (TYPE) USMD_EDITION Edition 20100603

Method GET_DATA_MODEL_FROM_EDITION on class CL_USMD_IDOC_UTIL has no exception.

Method GET_HRY_ENTITY_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HRY_ENTITY Call by reference Type reference (TYPE) S_HRY_ENTITY 20100714
2 Importing IT_MAPPING_STEP Call by reference Type reference (TYPE) TSMT_EVENT_STAB Event 20100714
3 Importing IT_USMD004C_S_GUI Call by reference Type reference (TYPE) T_USMD004C_S_GUI Display of Generated Structures for VC usmd004c 20100714
4 Importing I_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20100714
5 Importing I_MODEL Call by reference Type reference (TYPE) USMD_MODEL Data Model 20100714

Method GET_HRY_ENTITY_MAP on class CL_USMD_IDOC_UTIL has no exception.

Method GET_LEAF_ENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MAIN_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100617
2 Returning R_LEAF_ENTITY Value transfer Type reference (TYPE) USMD_ENTITY Entity Type 20100617

Method GET_LEAF_ENTITY on class CL_USMD_IDOC_UTIL has no exception.

Method GET_LOGSYS_FROM_DRF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100625
2 Exporting E_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logical system 20100625
3 Importing I_APPL Call by reference Type reference (TYPE) DRF_APPL Replication Model 20100625
4 Importing I_BUS_SYS Call by reference Type reference (TYPE) MDG_BUSINESS_SYSTEM Business System 20100625

Method GET_LOGSYS_FROM_DRF on class CL_USMD_IDOC_UTIL has no exception.

Method GET_OBJECT_KEY_FFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FFIX Call by reference Type reference (TYPE) USMD_TS_VALUE Field Name and Value 20100615
2 Exporting E_FIELDNAME Call by reference Type reference (TYPE) USMD_FIELDNAME Financial MDM: Field Name 20100615
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100615
4 Importing IR_RELEVANT_OBJECT Call by reference Object reference (TYPE REF TO) DATA 20100615
5 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Financial MDM: Field Name 20100615

Method GET_OBJECT_KEY_FFIX on class CL_USMD_IDOC_UTIL has no exception.

Method GET_SEGMENT_FROM_TARGET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_SEGMENT_NAME Call by reference Type reference (TYPE) EDILSEGTYP Segment type 20100615
2 Importing I_TARGET_NAME Call by reference Type reference (TYPE) STRING 20100615

Method GET_SEGMENT_FROM_TARGET on class CL_USMD_IDOC_UTIL has no exception.

Method GET_SMT_STRUCT_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_SOURCE Call by reference Object reference (TYPE REF TO) DATA 20100527
2 Exporting ER_TARGET Call by reference Object reference (TYPE REF TO) DATA 20100527
3 Exporting E_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20100615
4 Exporting E_TARGET_NAME Call by reference Type reference (TYPE) STRING 20100615
5 Importing IT_MAPPING_STEP Call by reference Type reference (TYPE) TSMT_EVENT_STAB Event 20100527
6 Importing I_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20100527
7 Importing I_MAPPING_STEP Call by reference Type reference (TYPE) SMT_MAPPING_STEP Mapping Step 20100527

Method GET_SMT_STRUCT_REF on class CL_USMD_IDOC_UTIL has no exception.

Method GET_SUBTREE_BY_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HRY_SUBTREE Call by reference Type reference (TYPE) USMD_T_HRY_INFO Table with Hierarchy Information 20100617
2 Importing IT_HRY_INFO Call by reference Type reference (TYPE) USMD_TS_HRY_INFO Table with Hierarchy Information 20100617
3 Importing I_LEAF_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100617
4 Importing I_ROOT_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100617
5 Importing I_ROOT_NODE Call by reference Type reference (TYPE) USMD_VALUE Characteristic Value 20100617
6 Importing I_ROOT_T_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE Field Name and Value 20100617

Method GET_SUBTREE_BY_ROOT on class CL_USMD_IDOC_UTIL has no exception.

Method GET_TIME_INTERVALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_TIME_INTERVALS Call by reference Type reference (TYPE) USMD_TS_TIME_INTERVAL Tabel: Time Intervals with Editions 20120823
2 Importing IT_EDITIONS Call by reference Type reference (TYPE) USMD_TS_EDTN_NUMBER Sort Table of Edition Numbers 20120823
3 Importing I_USMD_MODEL Call by reference Type reference (TYPE) USMD_MODEL Data Model 20120823

Method GET_TIME_INTERVALS on class CL_USMD_IDOC_UTIL has no exception.

Method MAPPING_HRY_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100615
2 Changing CT_EDIDD Call by reference Type reference (TYPE) EDIDD_TT Table Type for EDIDD (IDoc Data Records) 20100615
3 Importing IF_TXT Call by reference Type reference (TYPE) USMD_FLG Financial MDM: General Indicator 20100615
4 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100615
5 Importing IS_HRY_ENTITY Call by reference Type reference (TYPE) S_HRY_ENTITY 20100714
6 Importing IS_HRY_INFO Call by reference Type reference (TYPE) USMD_SX_HRY_INFO Table with Entity Data for Calling Outbound Services 20100617
7 Importing IT_ENTITY_DATA Call by reference Type reference (TYPE) USMD_T_ENTITY_DATA Table with Entity Data for Calling Outbound Services 20100615
8 Importing IT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE Field Name and Value 20100615
9 Importing IT_MAPPING_STEP Call by reference Type reference (TYPE) TSMT_EVENT_STAB Event 20100615
10 Importing I_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20100615
11 Importing I_DIS_SYSTEM Call by reference Type reference (TYPE) SLD_BSKEY Key Name of Business System 20100615
12 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100615
13 Importing I_MAPPING_STEP Call by reference Type reference (TYPE) SMT_MAPPING_STEP Mapping Step 20100615
14 Importing I_NODE Call by reference Type reference (TYPE) USMD_VALUE Characteristic Value 20100615

Method MAPPING_HRY_NODE on class CL_USMD_IDOC_UTIL has no exception.

Method MAPPING_ID_FOR_HRYNODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100615
2 Changing CS_DATA Call by reference Type reference (TYPE) DATA 20100615
3 Importing IS_HRY_ENTITY Call by reference Type reference (TYPE) S_HRY_ENTITY 20100714
4 Importing I_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20100714
5 Importing I_DIS_SYSTEM Call by reference Type reference (TYPE) SLD_BSKEY Key Name of Business System 20100615
6 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100615
7 Importing I_MAPPING_STEP Call by reference Type reference (TYPE) SMT_MAPPING_STEP Mapping Step 20100615

Method MAPPING_ID_FOR_HRYNODE on class CL_USMD_IDOC_UTIL has no exception.

Method MAPPING_ID_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100602
2 Changing CS_DATA Call by reference Type reference (TYPE) DATA 20100602
3 Importing I_DIS_SYSTEM Call by reference Type reference (TYPE) SLD_BSKEY Key Name of Business System 20100602
4 Importing I_FIELDNAME Call by reference Type reference (TYPE) STRING 20100602
5 Importing I_ID_SCHEME_CODE Call by reference Type reference (TYPE) MDG_IDS_TYPE_CODE_BS Object Identifier Type 20100602
6 Importing I_OBJ_TYPE_CODE Call by reference Type reference (TYPE) MDG_OBJECT_TYPE_CODE_BS Business Object Type 20100602

Method MAPPING_ID_STRUCT on class CL_USMD_IDOC_UTIL has no exception.

Method MAPPING_OUT_COGRP01 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100615
2 Exporting ET_DATA Call by reference Type reference (TYPE) T_DATA_ALL_IDOC 20100615
3 Importing IF_DELTA Call by reference Type reference (TYPE) USMD_DELTA Distribute Changes Only 20100615
4 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100615
5 Importing IR_RELEVANT_OBJECT Call by reference Object reference (TYPE REF TO) DATA 20100615
6 Importing IT_DATA Call by reference Type reference (TYPE) USMD_T_HRY_DATA_ALL Structure with Data for Outbound 20100615
7 Importing I_APPL Call by reference Type reference (TYPE) DRF_APPL 20100615
8 Importing I_DIS_SYSTEM Call by reference Type reference (TYPE) SLD_BSKEY Key Name of a Business System 20100615
9 Importing I_EDITION_FROM Call by reference Type reference (TYPE) USMD_EDITION Entity Type 20100615
10 Importing I_EDITION_TO Call by reference Type reference (TYPE) USMD_EDITION Entity Type 20100615
11 Importing I_MAIN_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100615
12 Importing I_STEPNR Call by reference Type reference (TYPE) USMD_STEPNR Sequence Number 20100615

Method MAPPING_OUT_COGRP01 on class CL_USMD_IDOC_UTIL has no exception.

Method MAPPING_SMT_STRUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100528
2 Exporting ES_DATA Call by reference Type reference (TYPE) DATA 20100528
3 Importing IS_DATA Call by reference Type reference (TYPE) DATA 20100528
4 Importing IT_MAPPING_STEP Call by reference Type reference (TYPE) TSMT_EVENT_STAB 20100528
5 Importing I_APPLICATION Call by reference Type reference (TYPE) SMT_MAP Mapping 20100528
6 Importing I_EDITION_TO Call by reference Type reference (TYPE) USMD_EDITION Edition 20100603
7 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100528
8 Importing I_FORCE_DATE_FROM Call by reference Type reference (TYPE) USMD_EDITION_VDATE Date 20120823
9 Importing I_FORCE_DATE_TO Call by reference Type reference (TYPE) USMD_EDITION_VDATE Date 20120823
10 Importing I_MAPPING_STEP Call by reference Type reference (TYPE) SMT_MAPPING_STEP Mapping Step 20100528

Method MAPPING_SMT_STRUCT on class CL_USMD_IDOC_UTIL has no exception.

Method READ_HRY_NODE_ENTITY_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) ANY TABLE 20100615
2 Importing IF_TXT Call by reference Type reference (TYPE) USMD_FLG Financial MDM: General Indicator 20100615
3 Importing IO_MODEL Call by reference Object reference (TYPE REF TO) IF_USMD_MODEL_EXT MDG Data Model for Access from Non-SAP Standard Code 20100615
4 Importing IS_HRY_INFO Call by reference Type reference (TYPE) USMD_SX_HRY_INFO Table with Entity Data for Calling Outbound Services 20100617
5 Importing IT_ENTITY_DATA Call by reference Type reference (TYPE) USMD_T_ENTITY_DATA Table with Entity Data for Calling Outbound Services 20100615
6 Importing IT_KEY Call by reference Type reference (TYPE) USMD_TS_VALUE Field Name and Value 20100615
7 Importing I_ENTITY Call by reference Type reference (TYPE) USMD_ENTITY Entity Type 20100615
8 Importing I_NODE Call by reference Type reference (TYPE) USMD_VALUE Characteristic Value 20100615
9 Importing I_SOURCE_NAME Call by reference Type reference (TYPE) STRING 20100615

Method READ_HRY_NODE_ENTITY_DATA on class CL_USMD_IDOC_UTIL has no exception.

Method SET_MONITOR_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DRF_LOG Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20100611
2 Importing I_APPL Call by reference Type reference (TYPE) DRF_APPL Replication Model 20100611
3 Importing I_DIS_SYSTEM Call by reference Type reference (TYPE) SLD_BSKEY Key Name of Business System 20100611
4 Importing I_EDITION Call by reference Type reference (TYPE) USMD_EDITION Edition 20100611
5 Importing I_STEPNR Call by reference Type reference (TYPE) USMD_STEPNR Distribution Step 20100611

Method SET_MONITOR_STATUS on class CL_USMD_IDOC_UTIL has no exception.

Method UNLOCK_AND_COMMIT_IDOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_EDIDC Call by reference Type reference (TYPE) EDIDC_TT IDoc Number 20100608

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