SAP ABAP Class CL_CNV_00001_API_FLD_MAP_ENTRY (Representation of field mapping)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-GTF-BS (Application Component) Business Application Support
     CNV_BASIS (Package) Conversion: Basis functions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_CNV_00001_MODIFIABLE Abstrct modifiable cust. object 20130913
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CNV_00001_API_CUST_OBJECT Abstract customizing object availabel in CWB API 20130913
Properties
Class CL_CNV_00001_API_FLD_MAP_ENTRY  
Short Description Representation of field mapping    
Super Class CL_CNV_00001_MODIFIABLE Abstrct modifiable cust. object 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_BASIS   Conversion: Basis functions 
Created 20130627   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
# Interface Abstract Final Description Created on
1 IF_CNV_00001_API_CUST_OBJECT Abstract customizing object availabel in CWB API 20130913
Friends
Class CL_CNV_00001_API_FLD_MAP_ENTRY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 NC_TABLE_TYPE_SOURCE Constant Public Type reference (TYPE) CHAR1 'S' General Flag 20130913
2 NC_TABLE_TYPE_TARGET Constant Public Type reference (TYPE) CHAR1 'T' General Flag 20130913
3 PR_CLASS_INFO Instance attribute Private Object reference (TYPE REF TO) CL_ABAP_CLASSDESCR Runtime type identification 20130913
4 PT_FIELDNAME_SRC Instance attribute Private Type reference (TYPE) CNV_00001_ST_SRC_FIELD_PARAM Sorted list of source field names with assigned param. names 20130913
5 PV_CLASSNAME Instance attribute Private Type reference (TYPE) CNV_00001_FIELDMAP_CLASS Conversion: Name of the Class Containing Field Mapping Meth. 20130913
6 PV_FIELDNAME_TRG Instance attribute Private Type reference (TYPE) CNV_00001_FIELDNAME_TRG Conversion: Table Mapping - Target Field Name 20130913
7 PV_METHODNAME Instance attribute Private Type reference (TYPE) CNV_00001_FIELDMAP_METHOD Conversion: Name of the Mapping Method 20130913
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE_TO_LOGGER Instance method Private Method Logs the provided message in case the logger is bound 20130913
2 ADD_SOURCE_FIELD Instance method Public Method Adds a source field (by name) 20130913
3 CHECK Instance method Public Method Check 20130924
4 CHECK_ALL_PARAMS_EXIST Instance method Public Method Check if all parameters of a method exist 20130913
5 CHECK_ALL_PARAMS_SUPPLIED Instance method Public Method Check if all parameters of a method are assigned 20130913
6 CHECK_CLASS_AND_METHOD_EXIST Instance method Public Method Check if class and method exist 20130913
7 CHECK_CLASS_EXIST Instance method Public Method Returns true if the provided class exists 20130913
8 CHECK_CONSISTENCY Instance method Public Method Checks the consistency of the instance 20130913
9 CHECK_DATA_ELEMENT_MAPPING Instance method Public Method Check compatibleness of data elements 20130913
10 CHECK_MAPPING Instance method Private Method Checks a single data element mapping 20130913
11 CHECK_METH_CORRECTLY_ASSIGNED Instance method Public Method Check if the method is correctly assigned 20130913
12 CHECK_PARAMETERS_ARE_UNIQUE Instance method Public Method Check that a parameter is not used several times 20130913
13 CHECK_PARAMETER_EXIST Instance method Public Method Check if all parameters of a method are assigned 20130913
14 CHECK_SOURCE_FIELDS_EXIST Instance method Public Method Check if source/target fields exists in source/target table 20130913
15 CHECK_TARGET_FIELD_EXIST Instance method Public Method Check if source/target fields exists in source/target table 20130913
16 CONSISTENCY_CHECK Instance method Private Method Checks consistency and returns true in case of simple fldmap 20130913
17 GET_CLASS_INFORMATION Instance method Private Method Instanciates the attribute pr_class_info 20130913
18 GET_MAPPING_METHOD Instance method Public Method Returns the mapping method 20130913
19 GET_SOURCE_FIELD Instance method Public Method Returns the source field 20130913
20 GET_SOURCE_FIELDS Instance method Public Method Returns the names of the source fields 20130913
21 GET_TARGET_FIELD Instance method Public Method Returns the name of the target field 20130913
22 IS_SIMPLE_FIELD_MAPPING Instance method Public Method Returns true if the instance represents a src->trg field map 20130913
23 LOAD_FROM_BUFFER Instance method Public Method Fills the object from the datbaase data loaded into memory 20130913
24 REMOVE_SOURCE_FIELD Instance method Public Method Removes source field by name 20130913
25 REMOVE_SOURCE_FIELDS Instance method Public Method Removes all source fields 20130913
26 SET_MAPPING_METHOD Instance method Public Method Assigns the mapping method 20130913
27 SET_SOURCE_FIELDS Instance method Public Method Assigns the names of the source fields 20130913
28 SET_TARGET_FIELD Instance method Public Method Assigns the name of the target field 20130913
Events
Class CL_CNV_00001_API_FLD_MAP_ENTRY has no event.
Types
Class CL_CNV_00001_API_FLD_MAP_ENTRY has no local type.
Method Signatures

Method ADD_MESSAGE_TO_LOGGER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Importing IV_NUMBER Call by reference Type reference (TYPE) SYMSGNO Messages, Message Number 20130913
4 Importing IV_PARAM_1 Call by reference Type reference (TYPE) ANY 20130913
5 Importing IV_PARAM_2 Call by reference Type reference (TYPE) ANY 20130913
6 Importing IV_PARAM_3 Call by reference Type reference (TYPE) ANY 20130913
7 Importing IV_PARAM_4 Call by reference Type reference (TYPE) ANY 20130913
8 Importing IV_TYPE Call by reference Type reference (TYPE) CNV_MBT_ULV_MSG_TYPE Type of message in ULV logger 20130913

Method ADD_MESSAGE_TO_LOGGER on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method ADD_SOURCE_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELDNAME Call by reference Type reference (TYPE) CNV_00001_FIELDNAME_SRC Conversion: Table Mapping - Source Field Name 20130913
2 Importing IV_PARAMNAME Call by reference Type reference (TYPE) CNV_00001_FIELDMAP_METH_PARAM Conversion: Name of method parameter used for field mapping 20130913

Method ADD_SOURCE_FIELD on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130924
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130924
3 Importing IV_S_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130924
4 Importing IV_T_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130924
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20131008

Method CHECK_ALL_PARAMS_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) CNV_00001_T_FIELDMAP_MAPPING Field / Parameter Mapping 20130913
2 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130913
3 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
4 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_ALL_PARAMS_SUPPLIED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) CNV_00001_T_FIELDMAP_MAPPING Field / Parameter mapping 20130913
2 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130913
3 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
4 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_CLASS_AND_METHOD_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Returning RV_ERROR Value transfer Type reference (TYPE) ABAP_BOOL 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_CLASS_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Returning RV_EXIST Value transfer Type reference (TYPE) ABAP_BOOL 20130913

Method CHECK_CLASS_EXIST on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method CHECK_CONSISTENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_DATA_ELEMENT_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) CNV_00001_T_FIELDMAP_MAPPING Field / Parameter mapping 20130913
2 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130913
3 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
4 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
5 Importing IV_S_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130913
6 Importing IV_T_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DIFFERENT_LENGTH Call by reference Type reference (TYPE) ABAP_BOOL 20130913
2 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130913
3 Importing IV_S_LENGTH Call by reference Type reference (TYPE) SYTABIX Internal Table, Current Line Index 20130913
4 Importing IV_S_TYPE_KIND Call by reference Type reference (TYPE) ABAP_TYPEKIND General Flag 20130913
5 Importing IV_T_LENGTH Call by reference Type reference (TYPE) SYTABIX Internal Table, Current Line Index 20130913
6 Importing IV_T_TYPE_KIND Call by reference Type reference (TYPE) ABAP_TYPEKIND General Flag 20130913

Method CHECK_MAPPING on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method CHECK_METH_CORRECTLY_ASSIGNED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Returning RV_ERROR Value transfer Type reference (TYPE) ABAP_BOOL 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_PARAMETERS_ARE_UNIQUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Returning RV_ERROR Value transfer Type reference (TYPE) ABAP_BOOL 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP Error during check 20130913

Method CHECK_PARAMETER_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Importing IV_PARAMNAME Call by reference Type reference (TYPE) CNV_00001_FIELDMAP_METH_PARAM Parameter name 20130913
4 Returning RV_ERROR Value transfer Type reference (TYPE) ABAP_BOOL 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP Error during check 20130913

Method CHECK_SOURCE_FIELDS_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RESULT Call by reference Type reference (TYPE) CNV_00001_T_FIELDMAP_FLDS Field mapping / exists 20130913
2 Exporting EV_ERROR Call by reference Type reference (TYPE) ABAP_BOOL 20130913
3 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
4 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
5 Importing IV_S_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CHECK_TARGET_FIELD_EXIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Importing IV_T_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20130913
4 Returning RV_ERROR Value transfer Type reference (TYPE) ABAP_BOOL 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method CONSISTENCY_CHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IS_CONSISTENT Call by reference Type reference (TYPE) ABAP_BOOL 20130913
2 Exporting EV_IS_SIMPLE_FIELDMAPPING Call by reference Type reference (TYPE) ABAP_BOOL 20130913
3 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
4 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP 20130913

Method GET_CLASS_INFORMATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_LOGGER Call by reference Object reference (TYPE REF TO) CL_CNV_MBT_ULV_LOGGER ULV Logger 20130913
2 Importing IV_LOGGER_LEVEL Call by reference Type reference (TYPE) BALLEVEL Application Log: Level of detail 20130913
3 Returning RV_ERROR Value transfer Type reference (TYPE) ABAP_BOOL 20130913

Method GET_CLASS_INFORMATION on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method GET_MAPPING_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CLASS Call by reference Type reference (TYPE) CNV_00001_FIELDMAP_CLASS Conversion: Name of the Class Containing Field Mapping Meth. 20130913
2 Exporting EV_METHOD Call by reference Type reference (TYPE) CNV_00001_FIELDMAP_METHOD Conversion: Name of the Mapping Method 20130913

Method GET_MAPPING_METHOD on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method GET_SOURCE_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELDNAME_SRC Call by reference Type reference (TYPE) CNV_00001_FIELDNAME_SRC Conversion: Table Mapping - Source Field Name 20130913
2 Returning RS_FIELD Value transfer Type reference (TYPE) CNV_00001_SRC_FIELD_PARAM Parameter name for source field 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_NOT_FOUND Generic Not Found Error 20130913

Method GET_SOURCE_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FIELDNAME Value transfer Type reference (TYPE) CNV_00001_ST_SRC_FIELD_PARAM Sorted list of source field names with assigned param. names 20130913

Method GET_SOURCE_FIELDS on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method GET_TARGET_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_FIELDNAME Value transfer Type reference (TYPE) CNV_00001_FIELDNAME_TRG Conversion: Table Mapping - Target Field Name 20130913

Method GET_TARGET_FIELD on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method IS_SIMPLE_FIELD_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_IS_SIMPLE_FIELD_MAPPING Value transfer Type reference (TYPE) ABAP_BOOL 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TABLEMAP Error during check 20130913

Method LOAD_FROM_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDMAP Call by reference Type reference (TYPE) CNV_T_FIELDMAP List of CNVFIELDMAP entries 20130913
2 Importing IT_FIELDMAPFUNC Call by reference Type reference (TYPE) CNV_T_FIELDMAPFUNC List of CNVFIELDMAPFUNC entries 20130913
3 Importing IV_FIELDNAME_TRG Call by reference Type reference (TYPE) CNV_00001_FIELDNAME_TRG Conversion: Table Mapping - Target Field Name 20130913
4 Importing IV_PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20130913
5 Importing IV_TABNAME_SRC Call by reference Type reference (TYPE) CNV_00001_TABNAME_SRC Conversion: Table Mapping - Source Table Name 20130913
6 Importing IV_TABNAME_TRG Call by reference Type reference (TYPE) CNV_00001_TABNAME_TRG Conversion: Table Mapping - Target Table Name 20130913
# Exception Resumable Description Created on
1 CX_CNV_00001_API_NOT_FOUND Generic Not Found Error 20130913

Method REMOVE_SOURCE_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELDNAME Call by reference Type reference (TYPE) CNV_00001_FIELDNAME_SRC Conversion: Table Mapping - Source Field Name 20130913

Method REMOVE_SOURCE_FIELD on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method REMOVE_SOURCE_FIELDS Signature

Method REMOVE_SOURCE_FIELDS on class CL_CNV_00001_API_FLD_MAP_ENTRY has no parameter.
Method REMOVE_SOURCE_FIELDS on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method SET_MAPPING_METHOD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CLASS Call by reference Type reference (TYPE) CNV_00001_FIELDMAP_CLASS Conversion: Name of the Class Containing Field Mapping Meth. 20130913
2 Importing IV_METHOD Call by reference Type reference (TYPE) CNV_00001_FIELDMAP_METHOD Conversion: Name of the Mapping Method 20130913

Method SET_MAPPING_METHOD on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method SET_SOURCE_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDNAME Call by reference Type reference (TYPE) CNV_00001_ST_SRC_FIELD_PARAM Sorted list of source field names with assigned param. names 20130913

Method SET_SOURCE_FIELDS on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.

Method SET_TARGET_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FIELDNAME Call by reference Type reference (TYPE) CNV_00001_FIELDNAME_TRG Conversion: Table Mapping - Target Field Name 20130913

Method SET_TARGET_FIELD on class CL_CNV_00001_API_FLD_MAP_ENTRY has no exception.
History
Last changed by/on SAP  20141030 
SAP Release Created in