SAP ABAP Class CL_FDT_DATA_CONVERSION_MNG (BRF+: Data Conversion Between External and Internal Format)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_CORE (Package) BRFplus: Core
Properties
Class CL_FDT_DATA_CONVERSION_MNG  
Short Description BRF+: Data Conversion Between External and Internal Format    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_CORE   BRFplus: Core 
Created 20090811   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 IF_FDT_STRUCTURE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_DATA_CONVERSION_MNG has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_FDT_DATA_OBJECT 20090814 FDT: Abstract Data Object Class
2 CL_FDT_ELEMENT 20090814 FDT: Data Object Element
3 CL_FDT_STRUCTURE 20090814 FDT: Data Object Structure
4 CL_FDT_TABLE 20090814 FDT: Data Object Table
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DDOBJTYPE_DTEL Constant Public Type reference (TYPE) CHAR08 'DTEL' CHAR08 20091215
2 GC_DDOBJTYPE_TTYP Constant Public Type reference (TYPE) CHAR08 'TTYP' CHAR08 20100813
3 GC_LOCATION_LOCAL Constant Public Type reference (TYPE) STRING 'L' 20090821
4 GC_LOCATION_PARENT Constant Public Type reference (TYPE) STRING 'P' 20090821
5 GC_LOCATION_PARENT_STRUCT Constant Public Type reference (TYPE) STRING 'PS' 20090821
6 GC_LOCATION_PARENT_TABLE Constant Public Type reference (TYPE) STRING 'PT' 20090821
7 GC_LOCATION_ROOT Constant Public Type reference (TYPE) STRING 'R' 20090821
8 GC_LOCATION_STRUCT Constant Public Type reference (TYPE) STRING 'S' 20090821
9 GC_LOCATION_STRUC_TABLE Constant Public Type reference (TYPE) STRING 'PST' 20090821
10 GC_LOCATION_TABLE Constant Public Type reference (TYPE) STRING 'T' 20090821
11 GC_MOVE_STRUCT_FROM_EXT Constant Public Type reference (TYPE) CHAR04 'SF' Data Type 4 Characters 20100902
12 GC_MOVE_STRUCT_TO_EXT Constant Public Type reference (TYPE) CHAR04 'ST' Data Type 4 Characters 20100902
13 GC_MOVE_TAB_FROM_EXT Constant Public Type reference (TYPE) CHAR04 'TF' Data Type 4 Characters 20100902
14 GC_MOVE_TAB_TO_EXT Constant Public Type reference (TYPE) CHAR04 'TT' Data Type 4 Characters 20100902
15 GC_VAR_ABAP_COMPONENT Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_v_abap_component' Beschreibung 20090821
16 GC_VAR_ABAP_TYPE Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_v_abap_type' Beschreibung 20090821
17 GC_VAR_AMT_CURR Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_v_amt_curr' Beschreibung 20120720
18 GC_VAR_DFIES Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_vs_dfies' Beschreibung 20120723
19 GC_VAR_DFIES_TAB Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_vt_dfies_tab' Beschreibung 20120723
20 GC_VAR_FS_ANY Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '<_v_fs_any>' Beschreibung 20090821
21 GC_VAR_FS_TARGET Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '<_v_fs_target>' Beschreibung 20091218
22 GC_VAR_REFFLD_NAME_VAL_TAB Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_v_t_reffield_name_value_tab' Beschreibung 20120628
23 GC_VAR_REF_SOURCE Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_v_ref_source' Beschreibung 20090821
24 GC_VAR_REF_TARGET Constant Public Type reference (TYPE) IF_FDT_TYPES=>NAME '_v_ref_target' Beschreibung 20090821
25 GS_REFFIELD Static Attribute Private Type reference (TYPE) S_REFFIELD 20091215
26 GTH_DDIC_TABL Static Attribute Private Type reference (TYPE) TH_DDIC_TABL 20090821
27 GTH_INSTANCE Static Attribute Private Type reference (TYPE) TH_INSTANCE 20090814
28 GTH_REFFIELD Static Attribute Private Type reference (TYPE) TH_REFFIELD 20091215
29 MO_DOBJ Instance attribute Private Object reference (TYPE REF TO) CL_FDT_DATA_OBJECT FDT: Abstract Data Object Class 20090814
30 MO_PARENT Instance attribute Private Object reference (TYPE REF TO) CL_FDT_DATA_CONVERSION_MNG BRF+: Data Conversion Between External and Internal Format 20090814
31 MTS_ELEM_LIST Instance attribute Protected Type reference (TYPE) IF_FDT_STRUCTURE=>TS_ELEMENT Element list 20090814
32 MT_FIELD_REF_A Instance attribute Private Type reference (TYPE) T_FIELD_REF 20100122
33 MT_FIELD_REF_Q Instance attribute Private Type reference (TYPE) T_FIELD_REF 20100122
34 MT_VARIABLES Instance attribute Protected Type reference (TYPE) TH_NAME_NAME 20090821
35 MV_AMOUNT_REF_CORRECTION Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100122
36 MV_DDIC_NAME Instance attribute Protected Type reference (TYPE) STRING 20090814
37 MV_ELEMENT_TYPE Instance attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20090814
38 MV_MY_DOBJ_NAME Instance attribute Private Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122
39 MV_QUANTITY_REF_CORRECTION Instance attribute Private Type reference (TYPE) ABAP_BOOL 20100122
40 MV_STRUCTURE_ID Instance attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090814
41 MV_TIMESTAMP Instance attribute Protected Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20090814
Methods
# Method Level Visibility Method type Description Created on
1 ADD_AM_QUAN_REF_INFO Instance method Public Method Add Information for Reference Fields for Amount and Quantity 20100122
2 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20090814
3 DESTRUCT_OBJECT Static method Public Method 20090821
4 GET_AM_QUAN_INFO Instance method Public Method 20100122
5 GET_DDIC_FIELD_INFO Static method Public Method BRS-Method 20091215
6 GET_DDIC_FIELD_OF_TYPE Static method Public Method BRS-Method 20091215
7 GET_DOBJ_NAME Instance method Public Method 20100122
8 GET_INSTANCE Static method Public Method 20090814
9 GET_REFERNCED_FIELD Static method Public Method BRS-Method 20090821
10 GET_REFERNCED_FIELD_FOR_TAB Static method Public Method BRS-Method 20091215
11 GET_REF_FIELD_CORRECTION Instance method Public Method 20100122
12 GET_VARIABLE_DECLARATION Instance method Public Method 20090821
13 GET_VARIABLE_NAME Instance method Public Method 20090821
14 IS_ROOT Instance method Private Method 20090821
15 IS_VARIABLE_DEFINED Instance method Public Method 20090821
16 SET_DOBJ_NAME Instance method Public Method 20100122
17 SET_REF_FIELD_CORRECTION Instance method Public Method 20100122
Events
Class CL_FDT_DATA_CONVERSION_MNG has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DDIC_TABL Private See coding 20090821 BEGIN OF s_ddic_tabl, tabname TYPE tabname, ddobjtype TYPE dd02v-tabclass, dtyp TYPE datatype_d, t_element_field TYPE t_dfies, length TYPE int4, END OF s_ddic_tabl
2 S_FIELD_REF Public See coding 20100122 BEGIN OF s_field_ref, field TYPE if_fdt_types=>name, ref_field TYPE if_fdt_types=>name, suppl_value TYPE if_fdt_types=>name, am_quan_value TYPE if_fdt_types=>name, END OF s_field_ref
3 S_INSTANCE Private See coding 20090814 BEGIN OF s_instance, id TYPE if_fdt_types=>id, timestamp TYPE timestamp, ddic_name TYPE string, obj TYPE REF TO cl_fdt_data_conversion_mng, END OF s_instance
4 S_REFFIELD Private See coding 20091215 BEGIN OF s_reffield, tabname TYPE tabname, fieldname TYPE fieldname, reffield TYPE fieldname, END OF s_reffield
5 TH_DDIC_TABL Private See coding 20090821 th_ddic_tabl TYPE HASHED TABLE OF s_ddic_tabl WITH UNIQUE KEY tabname
6 TH_INSTANCE Private See coding 20090814 th_instance TYPE HASHED TABLE OF s_instance WITH UNIQUE KEY id
7 TH_NAME_NAME Protected See coding 20090821 th_name_name TYPE HASHED TABLE OF ts_name_name WITH UNIQUE KEY logical_name
8 TH_REFFIELD Private See coding 20091215 th_reffield TYPE HASHED TABLE OF s_reffield WITH UNIQUE KEY tabname fieldname
9 TS_NAME_NAME Protected See coding 20090821 BEGIN OF ts_name_name, logical_name TYPE if_fdt_types=>name, name TYPE if_fdt_types=>name, END OF ts_name_name
10 T_DFIES Private See coding 20091215 t_dfies TYPE TABLE OF dfies WITH KEY fieldname
11 T_FIELD_REF Public See coding 20100122 t_field_ref TYPE STANDARD TABLE OF s_field_ref WITH KEY field
Method Signatures

Method ADD_AM_QUAN_REF_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AM_QUAN_VALUE_NAME Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122
2 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20100122
3 Importing IV_FIELD Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122
4 Importing IV_REF_FIELD Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122
5 Importing IV_SUPPL_VALUE_NAME Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122

Method ADD_AM_QUAN_REF_INFO on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) CL_FDT_DATA_CONVERSION_MNG BRF+: Data Conversion Between External and Internal Format 20090814
2 Importing IV_DDIC_NAME Call by reference Type reference (TYPE) CLIKE 20090814
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090814
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20090814
# Exception Resumable Description Created on
1 CX_FDT_INPUT FDT: Invalid Input 20090814

Method DESTRUCT_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090821

Method DESTRUCT_OBJECT on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_AM_QUAN_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Elementary Data Type 20100122
2 Returning RT_FIELD_REF Value transfer Type reference (TYPE) T_FIELD_REF 20100122

Method GET_AM_QUAN_INFO on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_DDIC_FIELD_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DFIES Call by reference Type reference (TYPE) DFIES DD Interface: Table Fields for DDIF_FIELDINFO_GET 20091215
2 Exporting EV_DATATYPE Call by reference Type reference (TYPE) DATATYPE_D Data Type in ABAP Dictionary 20091215
3 Exporting EV_DDOBJTYPE Call by reference Type reference (TYPE) DD02V-TABCLASS Table category 20091215
4 Exporting EV_LENGTH Call by reference Type reference (TYPE) INT4 Natural number 20110316
5 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20091215
6 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Element ID 20120221
7 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20091215
# Exception Resumable Description Created on
1 CX_FDT_CONFIG FDT: Insufficient Configuration 20100111

Method GET_DDIC_FIELD_OF_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DFIES Call by reference Type reference (TYPE) DDFIELDS DD Interface: Table Fields for DDIF_FIELDINFO_GET 20100127
2 Importing IV_DATATYPE Call by reference Type reference (TYPE) DYNPTYPE Field Name 20091215
3 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20091215

Method GET_DDIC_FIELD_OF_TYPE on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_DOBJ_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NAME Value transfer Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122

Method GET_DOBJ_NAME on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_PARENT Call by reference Object reference (TYPE REF TO) CL_FDT_DATA_CONVERSION_MNG BRF+: Data Conversion Between External and Internal Format 20090814
2 Importing IR_DATA Call by reference Object reference (TYPE REF TO) DATA 20090814
3 Importing IV_DDIC_NAME Call by reference Type reference (TYPE) CLIKE 20090814
4 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090814
5 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20090814
6 Returning RO_CONVERSION_MNG Value transfer Object reference (TYPE REF TO) CL_FDT_DATA_CONVERSION_MNG BRF+: Data Conversion Between External and Internal Format 20090814

Method GET_INSTANCE on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_REFERNCED_FIELD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_DATA_DESCR Call by reference Object reference (TYPE REF TO) CL_ABAP_DATADESCR Runtime Type Services 20120720
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) CLIKE 20090821
3 Importing IV_VALUE Call by reference Type reference (TYPE) ANY 20090821
4 Returning RV_REFERENCED_FIELD Value transfer Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20090821

Method GET_REFERNCED_FIELD on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_REFERNCED_FIELD_FOR_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_REFERENCED_FIELD Value transfer Type reference (TYPE) FIELDNAME Field Name 20091215
2 Importing IV_FIELDNAME Call by reference Type reference (TYPE) FIELDNAME Field Name 20091215
3 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20091215

Method GET_REFERNCED_FIELD_FOR_TAB on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_REF_FIELD_CORRECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_AMOUNT_REF_CORRECTION Call by reference Type reference (TYPE) ABAP_BOOL 20100122
2 Exporting EV_QUANTITY_REF_CORRECTION Call by reference Type reference (TYPE) ABAP_BOOL 20100122

Method GET_REF_FIELD_CORRECTION on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_VARIABLE_DECLARATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_SOURCE_CODE Value transfer Type reference (TYPE) IF_FDT_TYPES=>T_SOURCE_CODE Table with Source Code 20090821

Method GET_VARIABLE_DECLARATION on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method GET_VARIABLE_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGICAL_NAME Call by reference Type reference (TYPE) CLIKE 20090821
2 Importing IV_VAR_LOCATION Call by reference Type reference (TYPE) CLIKE 20090821
3 Returning RV_NAME Value transfer Type reference (TYPE) STRING 20090821

Method GET_VARIABLE_NAME on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method IS_ROOT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_ROOT Value transfer Type reference (TYPE) ABAP_BOOL 20090821

Method IS_ROOT on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method IS_VARIABLE_DEFINED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGICAL_NAME Call by reference Type reference (TYPE) CLIKE 20090821
2 Importing IV_VAR_LOCATION Call by reference Type reference (TYPE) CLIKE 20090821
3 Returning RV_NAME Value transfer Type reference (TYPE) STRING 20090821

Method IS_VARIABLE_DEFINED on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method SET_DOBJ_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NAME Call by reference Type reference (TYPE) IF_FDT_TYPES=>NAME Beschreibung 20100122

Method SET_DOBJ_NAME on class CL_FDT_DATA_CONVERSION_MNG has no exception.

Method SET_REF_FIELD_CORRECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_AMOUNT Call by reference Type reference (TYPE) ABAP_BOOL 20100122
2 Importing IV_QUANTITY Call by reference Type reference (TYPE) ABAP_BOOL 20100122

Method SET_REF_FIELD_CORRECTION on class CL_FDT_DATA_CONVERSION_MNG has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703