SAP ABAP Class CL_FDT_FUNCTION_GEN_PROCESS (Generic processing of FDT functions)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_CODE_COMPOSER (Package) BRFplus: Code Composer
Properties
Class CL_FDT_FUNCTION_GEN_PROCESS  
Short Description Generic processing of FDT functions    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_CODE_COMPOSER   BRFplus: Code Composer 
Created 20061005   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_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_FUNCTION_GEN_PROCESS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_FDT_FUNCTION_PROCESS 20100506 FDT: Function Process Service
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GS_ELEMENT_AMOUNT Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_AMOUNT Elementary Data Type Amount 20130813
2 GS_ELEMENT_CURR Static Attribute Protected See coding 20061005
3 GS_ELEMENT_QUANT Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_QUANTITY Elementary Data Type Quantity 20130813
4 GS_ELEMENT_TIME Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TIMEPOINT 20061005
5 GS_ELEMENT_UNIT Static Attribute Protected See coding 20061005
6 GS_VALUE Static Attribute Protected Type reference (TYPE) FDT_S_VALUE FDT: Simple Value 20090617
7 GTH_DDBV_AUTHORIZATION Static Attribute Private Type reference (TYPE) TH_DDBV_AUTHORIZATION 20130814
8 GTH_TABLE_AUTHORIZATION Static Attribute Private Type reference (TYPE) TH_TABLE_AUTHORIZATION 20100506
9 GTS_ID_VALUE Static Attribute Public Type reference (TYPE) IF_FDT_TYPES=>TS_ID_VALUE 20081218
10 GV_ACTION_IN_UPDATE_TASK Static Attribute Public Type reference (TYPE) ABAP_BOOL Update Task 20110921
11 GV_AUTH_CHECK_DB_LOOKUP Static Attribute Public Type reference (TYPE) ABAP_BOOL 20100506
12 GV_CLASSNAME Static Attribute Protected Type reference (TYPE) CLASSNAME Reference type 20061010
13 GV_COMPARISON_TEST Static Attribute Protected Type reference (TYPE) STRING Used in Mocros 20061110
14 GV_COMPARISON_TESTX Static Attribute Protected Type reference (TYPE) XSTRING Used in Mocros 20061110
15 GV_COMPARISON_VAL Static Attribute Protected Type reference (TYPE) STRING Used in Mocros 20061110
16 GV_COMPARISON_VALX Static Attribute Protected Type reference (TYPE) XSTRING Used in Mocros 20061110
17 GV_ELEMENT_TIME_TEXT Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TEXT 20061005
18 GV_NUMBER_HELPER Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Used as temp variable for Number 20080416
19 GV_NUMBER_HELPER_2 Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Used as temp variable for Number 20110829
20 GV_PROCESSOR_INSTANCE Static Attribute Public Object reference (TYPE REF TO) IF_FDT_PROCESSOR FDT: Processor 20070703
21 GX_ROOT Static Attribute Protected Object reference (TYPE REF TO) CX_ROOT 20061005
22 _V_GS_VALUE_EXT Static Attribute Protected Type reference (TYPE) FDT_S_VALUE FDT: Simple Value 20100128
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORITY_FOR_DDBV Static method Public Method Authority check on S_TABU_DIS 20130813
2 AUTHORITY_FOR_TABLE Static method Public Method Authority check on S_TABU_DIS 20100506
3 BUILD_CONTEXT_FROM_IV_TAB Static method Protected Method Build contex using the ID-Value-Table 20070116
4 COMPARE_AMOUNTS Static method Protected Method Compare two amounts or amounts and numbers 20061129
5 COMPARE_NUMBERS Static method Protected Method Compare two numbers 20061129
6 COMPARE_QUANTITIES Static method Protected Method Compare two quantities or quantites and numbers 20061129
7 CONVERT_SIMPLE_CONTEXT Static method Public Method 20100520
8 GET_CONTEXT_OBJ Static method Protected Method Build contex using the ID-Value-Table 20091030
9 GET_PROCESSOR_INSTANCE Static method Public Method Get instance of the class cl_fdt_processor 20070703
10 MOVE_CURRENCY_TO_EXT Static method Public Method Move currency data into an external format 20120704
11 MOVE_CURR_QUAN_FROM_EXT Static method Protected Method Move currency/quantity data into an internal format 20120725
12 MOVE_QUANTITY_TO_EXT Static method Public Method Move quantity data into an external format 20120704
13 SET_RESULT_ATTRIBUTES Static method Protected Method Set Attributes of Result Object 20070111
14 SET_SIMPLE_CONTEXT Static method Protected Method 20100319
Events
Class CL_FDT_FUNCTION_GEN_PROCESS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DDBV_AUTHORIZATION Private See coding 20130813 BEGIN OF s_ddbv_authorization, ddbv_id TYPE fdt_uuid, passed TYPE abap_bool, END OF s_ddbv_authorization
2 S_TABLE_AUTHORIZATION Private See coding 20100506 BEGIN OF s_table_authorization, tabname TYPE tabname, passed TYPE abap_bool, END OF s_table_authorization
3 TH_DDBV_AUTHORIZATION Private See coding 20130813 th_ddbv_authorization TYPE HASHED TABLE OF s_ddbv_authorization WITH UNIQUE KEY ddbv_id
4 TH_TABLE_AUTHORIZATION Private See coding 20100506 th_table_authorization TYPE HASHED TABLE OF s_table_authorization WITH UNIQUE KEY tabname
5 TT_REFFIELD_NAME_VALUE Public See coding 20120704 tt_reffield_name_value TYPE STANDARD TABLE OF ty_reffield_name_value
6 TY_REFFIELD_NAME_VALUE Public See coding 20120704 BEGIN OF ty_reffield_name_value, name TYPE if_fdt_types=>name, value TYPE char5, END OF ty_reffield_name_value
Method Signatures

Method AUTHORITY_FOR_DDBV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DDBV_ID Call by reference Type reference (TYPE) FDT_UUID DDBV ID 20130813
2 Returning RV_PASSED Value transfer Type reference (TYPE) ABAP_BOOL 20130813

Method AUTHORITY_FOR_DDBV on class CL_FDT_FUNCTION_GEN_PROCESS has no exception.

Method AUTHORITY_FOR_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABLENAME Call by reference Type reference (TYPE) TABNAME Table Name 20100506
2 Returning RV_PASSED Value transfer Type reference (TYPE) ABAP_BOOL 20100506

Method AUTHORITY_FOR_TABLE on class CL_FDT_FUNCTION_GEN_PROCESS has no exception.

Method BUILD_CONTEXT_FROM_IV_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20070116
2 Importing ITS_ID_VALUE Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_ID_VALUE 20070116
3 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070116
4 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP 20070116
# Exception Resumable Description Created on
1 CX_FDT_CONFIG FDT: Insufficient Configuration 20070116
2 CX_FDT_INPUT FDT: Invalid Input 20070116

Method COMPARE_AMOUNTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPARE_OPERATOR Call by reference Type reference (TYPE) DDOPTION Type of OPTION component in row type of a Ranges type 20061129
2 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20061129
3 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20061129
4 Importing IV_VALUE_1 Call by reference Type reference (TYPE) ANY 20061129
5 Importing IV_VALUE_2 Call by reference Type reference (TYPE) ANY 20061129
6 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20061129
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20061129

Method COMPARE_NUMBERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPARE_OPERATOR Call by reference Type reference (TYPE) DDOPTION Compare operator 20061129
2 Importing IV_VALUE_1 Call by reference Type reference (TYPE) SIMPLE First number 20061129
3 Importing IV_VALUE_2 Call by reference Type reference (TYPE) SIMPLE Second number to be compared to first 20061129
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Result of comparison (true/false) 20061129
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20061129

Method COMPARE_QUANTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_COMPARE_OPERATOR Call by reference Type reference (TYPE) DDOPTION Compare operator 20061129
2 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of first value 20061129
3 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type of second value 20061129
4 Importing IV_VALUE_1 Call by reference Type reference (TYPE) ANY First quantity or number 20061129
5 Importing IV_VALUE_2 Call by reference Type reference (TYPE) ANY Second quantity or number to be compared to first 20061129
6 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Result of comparison (true/false) 20061129
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20061129

Method CONVERT_SIMPLE_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20100907
2 Importing IV_RESULT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20100907
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20100907
# Exception Resumable Description Created on
1 CX_FDT FDT: Abstract Exception Class 20100520

Method GET_CONTEXT_OBJ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EO_CONTEXT Value transfer Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20091030
2 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20091030
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) IF_FDT_TYPES=>TIMESTAMP 20091030
# Exception Resumable Description Created on
1 CX_FDT_CONFIG FDT: Insufficient Configuration 20091030
2 CX_FDT_INPUT FDT: Invalid Input 20091030

Method GET_PROCESSOR_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070703

Method GET_PROCESSOR_INSTANCE on class CL_FDT_FUNCTION_GEN_PROCESS has no exception.

Method MOVE_CURRENCY_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REFFIELD_NAME_VALUE Call by reference Type reference (TYPE) TT_REFFIELD_NAME_VALUE 20120704
2 Changing CV_FS_TARGET Call by reference Type reference (TYPE) ANY 20120704
3 Exporting EV_DATA Call by reference Type reference (TYPE) ANY 20120704
4 Importing IT_DFIES Call by reference Type reference (TYPE) DDFIELDS Field Information 20120730
5 Importing IV_AMT_FIELD Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_AMOUNT Elementary Data Type Amount 20120704
6 Importing IV_AMT_FIELD_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20120704
7 Importing IV_AMT_NAME Call by reference Type reference (TYPE) CLIKE 20120704
# Exception Resumable Description Created on
1 CX_FDT_PROCESSING FDT: Processing Error 20120727

Method MOVE_CURR_QUAN_FROM_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_FS_TARGET Call by reference Type reference (TYPE) ANY 20120725
2 Importing IT_DFIES Call by reference Type reference (TYPE) DDFIELDS DD Interface: Table Fields for DDIF_FIELDINFO_GET 20120728
3 Importing IV_DATA Call by reference Type reference (TYPE) ANY 20120725
4 Importing IV_FIELDNAME Call by reference Type reference (TYPE) CLIKE 20120725
5 Importing IV_FS_SOURCE Call by reference Type reference (TYPE) ANY 20120725
6 Importing IV_IS_QUANTITY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20120725
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION FDT: Conversion Failure 20130423

Method MOVE_QUANTITY_TO_EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_REFFIELD_NAME_VALUE Call by reference Type reference (TYPE) TT_REFFIELD_NAME_VALUE 20120704
2 Changing CV_FS_TARGET Call by reference Type reference (TYPE) ANY 20120704
3 Exporting EV_DATA Call by reference Type reference (TYPE) ANY 20120704
4 Importing IT_DFIES Call by reference Type reference (TYPE) DDFIELDS DD Interface: Table Fields for DDIF_FIELDINFO_GET 20120730
5 Importing IV_QTY_FIELD Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_QUANTITY Elementary Data Type Quantity 20120704
6 Importing IV_QTY_FIELD_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20120704
7 Importing IV_QTY_NAME Call by reference Type reference (TYPE) CLIKE 20120704
# Exception Resumable Description Created on
1 CX_FDT_PROCESSING FDT: Processing Error 20120727

Method SET_RESULT_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_RESULT Call by reference Object reference (TYPE REF TO) IF_FDT_RESULT FDT: Result 20070111
2 Importing IR_VALUE Call by reference Object reference (TYPE REF TO) DATA 20070111
3 Importing IV_DATA_OBJECT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>DATA_OBJECT_TYPE 20070111
4 Importing IV_ELEMENT_TYPE Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE 20070111
5 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070111
6 Importing IV_RESULT_DATA_OBJECT_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID 20070118
7 Importing IV_TABLE_IS_UNSTRUCTURED Call by reference Type reference (TYPE) ABAP_BOOL 20070302

Method SET_RESULT_ATTRIBUTES on class CL_FDT_FUNCTION_GEN_PROCESS has no exception.

Method SET_SIMPLE_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_CONTEXT Call by reference Object reference (TYPE REF TO) IF_FDT_CONTEXT FDT: Context 20100319
2 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20100820
3 Importing IV_STATE Call by reference Type reference (TYPE) CHAR01 Character Field Length 1 20100319

Method SET_SIMPLE_CONTEXT on class CL_FDT_FUNCTION_GEN_PROCESS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 710