SAP ABAP Class IF_CNV_MBT_ME_SIM_ENGINE (Main interface for the conversion of internal tables)
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  CL_CNV_MBT_ME_SIM_ENGINE Main Class for itab conversions 20110315
Properties
Class IF_CNV_MBT_ME_SIM_ENGINE  
Short Description Main interface for the conversion of internal tables    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package      
Created 20110315   SAP 
Last change 20141030    
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)
Interfaces
Class IF_CNV_MBT_ME_SIM_ENGINE has no interface implemented.
Friends
Class IF_CNV_MBT_ME_SIM_ENGINE has no friend class.
Attributes
Class IF_CNV_MBT_ME_SIM_ENGINE has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MAPPING_BY_TABLE Instance method Public Method Adds a mapping defined by a table (incl. deep mappings) 20111122
2 CONVERT_LINE Instance method Public Method Converts the fields of a struc with the specified Mappings 20110315
3 CONVERT_TABLE Instance method Public Method Converts the columns of a table with the specified Mappings 20110315
4 DELETE_LOADED_MAPPING Instance method Public Method Deletes a loaded mapping without deleting subsequent mapps 20110914
5 GET_DEEP_MAPPING Instance method Public Method OBSOLET -> Use 'GET_MAPPING_BY_TABLE' whenever possible 20110315
6 GET_FIELDCAT_BY_IDENTIFIER Static method Public Method Returns a fieldcat stored in cnv_mbt_me_sim_c by id 20110316
7 GET_LOADED_MAPPINGS Instance method Public Method Returns the name of all mappings stored in this object 20110912
8 GET_MAPPING_BY_TABLE Instance method Public Method Adds a mapping defined by a table (incl. deep mappings) 20111122
9 GET_RELEVANT_VALUES Instance method Public Method Returns relevant values for a mapping name (src & trg value) 20110315
10 GET_SIMPLE_MAPPING Instance method Public Method OBSOLET -> Use 'GET_MAPPING_BY_TABLE' whenever possible 20110315
11 LOAD_MAPPING_BY_CONTEXT Instance method Public Method Loads mappings from the ME depending from context and scope 20110912
12 LOAD_MAPPING_BY_GUID Instance method Public Method Loads a mapping from the ME for later conversion simulations 20110315
13 SET_DEEP_MAPPING Instance method Public Method OBSOLET -> Use 'ADD_MAPPING_BY_TABLE' whenever possible 20110315
14 SET_SIMPLE_MAPPING Instance method Public Method OBSOLET -> Use 'ADD_MAPPING_BY_TABLE' whenever possible 20110315
Events
Class IF_CNV_MBT_ME_SIM_ENGINE has no event.
Types
Class IF_CNV_MBT_ME_SIM_ENGINE has no local type.
Method Signatures

Method ADD_MAPPING_BY_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDCAT Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_FIELDCAT Table to describe columns of a table 20111122
2 Importing IT_TABLE Call by reference Type reference (TYPE) INDEX TABLE 20111205
3 Importing IV_MAPPING_NAME Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_MAPPING_NAME Name of a mapping used by the simulation engine 20111122
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20111122

Method CONVERT_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_LINE Value transfer Type reference (TYPE) ANY 20110315
2 Importing IS_LINE Call by reference Type reference (TYPE) ANY 20110315
3 Importing IT_FIELDCAT Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_FIELDCAT Table to describe columns of a table 20110315
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_MAPP_NOT_FOUND Exception that occurs when mapping could not be found 20110315
2 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20110315

Method CONVERT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_TABLE Call by reference Type reference (TYPE) ANY TABLE Table to be converted 20110315
2 Exporting ET_DUPLICATES Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_DUPL_OBJECTS Table of sets of duplicates 20110315
3 Importing IT_FIELDCAT Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_FIELDCAT Table to describe columns of a table 20110315
4 Importing IV_BUILD_DUPLICATE_TABLE Call by reference Type reference (TYPE) FLAG ' ' X = Build duplicate Table 20110315
5 Importing IV_DELETE_DUPREC Call by reference Type reference (TYPE) FLAG ' ' X = delete duplicate entrys 20110315
6 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CHAR50 Identifier to load fieldcat (instead of using it_fieldcat) 20110912
7 Importing IV_KEEP_RENAMES Call by reference Type reference (TYPE) FLAG keep renames in the duplicate table 20111107
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20110315

Method DELETE_LOADED_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAPPING_NAME Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_MAPPING_NAME Name of a mapping used by the simulation engine 20110914

Method DELETE_LOADED_MAPPING on class IF_CNV_MBT_ME_SIM_ENGINE has no exception.

Method GET_DEEP_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_PARENT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ME_SIM_MAPP Mapping Object for a Simulation Mapping 20110315
2 Importing IV_MAPPING_NAME Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_MAPPING_NAME Name of a mapping used by the simulation engine 20110315
3 Importing IV_PARENT_VALUE_OLD Call by reference Type reference (TYPE) CNV_MBT_ME_OLD_VALUE An old value in a mapping 20110315
4 Returning RR_MAPPING_OBJECT Value transfer Object reference (TYPE REF TO) CL_CNV_MBT_ME_SIM_MAPP Mapping Object for a Simulation Mapping 20110315

Method GET_DEEP_MAPPING on class IF_CNV_MBT_ME_SIM_ENGINE has no exception.

Method GET_FIELDCAT_BY_IDENTIFIER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CHAR50 Identifier 20110316
2 Returning RT_FIELDCAT Value transfer Type reference (TYPE) CNV_MBT_ME_SIM_T_FIELDCAT Table to describe columns of a table 20110317

Method GET_FIELDCAT_BY_IDENTIFIER on class IF_CNV_MBT_ME_SIM_ENGINE has no exception.

Method GET_LOADED_MAPPINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_MAPPINGS Value transfer Type reference (TYPE) CNV_MBT_ME_SIM_T_MAPPINGS Mapping names of already loaded mappings 20111024

Method GET_LOADED_MAPPINGS on class IF_CNV_MBT_ME_SIM_ENGINE has no exception.

Method GET_MAPPING_BY_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDCAT Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_FIELDCAT Table to describe columns of a table 20111122
2 Importing IV_MAPPING_NAME Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_MAPPING_NAME Name of a mapping used by the simulation engine 20111122
3 Changing XT_TABLE Call by reference Type reference (TYPE) INDEX TABLE 20111205
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20111122

Method GET_RELEVANT_VALUES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RELEVANT_VALUES Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_REL_VALUES Table of values relevant for a merge simulation 20110315
2 Importing IV_MAPPING_NAME Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_MAPPING_NAME Name of a mapping used by the simulation engine 20110315

Method GET_RELEVANT_VALUES on class IF_CNV_MBT_ME_SIM_ENGINE has no exception.

Method GET_SIMPLE_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAPPING_NAME Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_MAPPING_NAME Name of a mapping used by the simulation engine 20110524
2 Returning RV_MAPPING_OBJECT Value transfer Object reference (TYPE REF TO) CL_CNV_MBT_ME_SIM_MAPP Mapping Object for a Simulation Mapping 20110315
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20110404

Method LOAD_MAPPING_BY_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_NEW_MAPPINGS Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_MAPPINGS Mapping names of loaded mappings 20110912
2 Exporting ET_NOT_LOADABLE_MAPPINGS Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_MAPPINGS Mapping names which couldn't be loaded (and not ex. if dela) 20110912
3 Exporting ET_OLD_MAPPINGS Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_MAPPINGS Mapping names of already loaded mappings (in the scope) 20110912
4 Importing IT_FIELDCAT Call by reference Type reference (TYPE) CNV_MBT_ME_SIM_T_FIELDCAT Table to describe columns of a table 20110912
5 Importing IV_CONTEXT_GUID Call by reference Type reference (TYPE) CNV_MBT_COT_CONTEXT_GUID SLO COT Context GUID 20110912
6 Importing IV_IDENTIFIER Call by reference Type reference (TYPE) CHAR50 Identifier 20110912
7 Importing IV_KEEP_EXISTING_MAPPINGS Call by reference Type reference (TYPE) ABAP_BOOL whether mappigs shall be overwritten or not 20110912
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_CWBI_NO_ENTRY No entry found for the specified data 20110913
2 CX_CNV_MBT_ME_INCONSISTENCY Inconsistent data found 20110913
3 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20110912
4 CX_CNV_MBT_ME_TEMPL_NOT_FOUND Template not found 20110913
5 CX_LTR_MODEL_CHECK LTR: Repository Model Exception 20110913
6 CX_LTR_MODEL_LOCKED LTR: Access Denied 20110913

Method LOAD_MAPPING_BY_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MAPPING_ID Call by reference Type reference (TYPE) CNV_MBT_ME_MAPPING_ID Unique identifier for a mapping 20110315
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_INCONSISTENCY Data not found in DB 20110414
2 CX_CNV_MBT_ME_MAPP_NOT_FOUND Exception that occurs when mapping could not be found 20110315
3 CX_CNV_MBT_ME_SIMULATION An exception occured during Simulation 20110315
4 CX_CNV_MBT_ME_TEMPL_NOT_FOUND Template not found 20110414
5 CX_LTR_MODEL_CHECK LTR: Repository Model Exception 20110719
6 CX_LTR_MODEL_LOCKED LTR: Access Denied 20110719

Method SET_DEEP_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MAPPING_OBJECT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ME_SIM_MAPP Mapping Object for a Simulation Mapping 20110315
2 Importing IR_PARENT_OBJECT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ME_SIM_MAPP Mapping Object for a Simulation Mapping 20110315
3 Importing IV_PARENT_VALUE_OLD Call by reference Type reference (TYPE) CNV_MBT_ME_OLD_VALUE An old value in a mapping 20110315
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_SIMULATION Inconsistent data found 20110315

Method SET_SIMPLE_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MAPPING_OBJECT Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ME_SIM_MAPP Mapping Object for a Simulation Mapping 20110315
# Exception Resumable Description Created on
1 CX_CNV_MBT_ME_SIMULATION Inconsistent data found 20110315
History
Last changed by/on SAP  20141030 
SAP Release Created in