SAP ABAP Class CL_FDT_BRS_SUPERCLASS (FDT: Business Rule Service Superclass for Generated Classes)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_BRS_CORE (Package) Business Rule Services: Runtime Services
Properties
Class CL_FDT_BRS_SUPERCLASS  
Short Description FDT: Business Rule Service Superclass for Generated Classes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_BRS_CORE   Business Rule Services: Runtime Services 
Created 20111122   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_BRS_SUPERCLASS has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_FDT_FUNCTION_PROCESS 20120621 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 Helper structure for amounts 20120621
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 Helper structure for timepoints 20120621
5 GS_ELEMENT_UNIT Static Attribute Protected See coding Helper structure for quantities 20120621
6 GS_VALUE Static Attribute Protected Type reference (TYPE) FDT_S_VALUE Helper structure for direct values 20120621
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 Internal buffer for table authorization 20120621
9 GV_ACTION_IN_UPDATE_TASK Static Attribute Public Type reference (TYPE) ABAP_BOOL Not needed for first iteration of RCG 20120621
10 GV_AUTH_CHECK_DB_LOOKUP Static Attribute Public Type reference (TYPE) ABAP_BOOL Authority Check for DB Lookup expression 20120621
11 GV_CLASSNAME Static Attribute Protected Type reference (TYPE) CLASSNAME Classname of the genreated class 20120621
12 GV_COMPARISON_TEST Static Attribute Protected Type reference (TYPE) STRING Usage in Macros 20120621
13 GV_COMPARISON_TESTX Static Attribute Protected Type reference (TYPE) XSTRING Usage in Macros 20120621
14 GV_COMPARISON_VAL Static Attribute Protected Type reference (TYPE) STRING Usage in Macros 20120621
15 GV_COMPARISON_VALX Static Attribute Protected Type reference (TYPE) XSTRING Usage in Macros 20120621
16 GV_ELEMENT_TIME_TEXT Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TEXT Helper variable for texts 20120621
17 GV_NUMBER_HELPER Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Helper variable for numbers 20120621
18 GV_NUMBER_HELPER_2 Static Attribute Protected Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_NUMBER Helper variable for numbers 20120621
19 GX_ROOT Static Attribute Protected Object reference (TYPE REF TO) CX_ROOT Root exception 20120621
20 _V_GS_VALUE_EXT Static Attribute Protected Type reference (TYPE) FDT_S_VALUE ??? 20120621
Methods
# Method Level Visibility Method type Description Created on
1 AUTHORITY_FOR_DDBV Static method Public Method Authority check for Dynamic Database View 20130814
2 AUTHORITY_FOR_TABLE Static method Public Method Authority check for used DDIC tables 20120621
3 COMPARE_AMOUNTS Static method Protected Method Compare 2 amounts or an amount with the number 0 20120621
4 COMPARE_NUMBERS Static method Protected Method Compare 2 simple values 20120621
5 COMPARE_QUANTITIES Static method Protected Method Compare 2 quantities or an quantity with the number 0 20120621
6 MOVE_CURRENCY_TO_EXT Static method Public Method Move currency data to external format 20120706
7 MOVE_CURR_QUAN_FROM_EXT Static method Protected Method Move currency/quantity data into an internal format 20120801
8 MOVE_QUANTITY_TO_EXT Static method Public Method Move quantity data to external format 20120706
9 SET_SIMPLE_CONTEXT Static method Protected Method NOT NEEDED IN BRS, needed to avoid syntax errors 20120621
Events
Class CL_FDT_BRS_SUPERCLASS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_DDBV_AUTHORIZATION Private See coding 20130814 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 20120621 BEGIN OF s_table_authorization, tabname TYPE tabname, passed TYPE abap_bool, END OF s_table_authorization
3 TH_DDBV_AUTHORIZATION Private See coding 20130814 th_ddbv_authorization TYPE HASHED TABLE OF s_ddbv_authorization WITH UNIQUE KEY ddbv_id
4 TH_TABLE_AUTHORIZATION Private See coding 20120621 th_table_authorization TYPE HASHED TABLE OF s_table_authorization WITH UNIQUE KEY tabname
5 TT_REFFIELD_NAME_VALUE Public See coding 20120706 tt_reffield_name_value TYPE STANDARD TABLE OF ty_reffield_name_value
6 TY_REFFIELD_NAME_VALUE Public See coding 20120706 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 20130814
2 Returning RV_PASSED Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE: Authority check passed 20130814

Method AUTHORITY_FOR_DDBV on class CL_FDT_BRS_SUPERCLASS 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 20120621
2 Returning RV_PASSED Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE: Authority check passed 20120621

Method AUTHORITY_FOR_TABLE on class CL_FDT_BRS_SUPERCLASS has no exception.

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 Comparison option 20120621
2 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type 1 20120621
3 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type 2 20120621
4 Importing IV_VALUE_1 Call by reference Type reference (TYPE) ANY Value 1 20120621
5 Importing IV_VALUE_2 Call by reference Type reference (TYPE) ANY Value 2 20120621
6 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Comparison result 20120621
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION 20120621

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 Comparison operator 20120621
2 Importing IV_VALUE_1 Call by reference Type reference (TYPE) SIMPLE Value 1 20120621
3 Importing IV_VALUE_2 Call by reference Type reference (TYPE) SIMPLE Value 2 20120621
4 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Comparison result 20120621
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION 20120621

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 Comparison operator 20120621
2 Importing IV_ELEMENT_TYPE_1 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type 1 20120621
3 Importing IV_ELEMENT_TYPE_2 Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_TYPE Element type 2 20120621
4 Importing IV_VALUE_1 Call by reference Type reference (TYPE) ANY Value 1 20120621
5 Importing IV_VALUE_2 Call by reference Type reference (TYPE) ANY Value 2 20120621
6 Returning RV_RESULT Value transfer Type reference (TYPE) ABAP_BOOL Comparison result 20120621
# Exception Resumable Description Created on
1 CX_FDT_CONVERSION 20120621

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 Table of field reference value 20120706
2 Changing CV_FS_TARGET Call by reference Type reference (TYPE) ANY Target amount field 20120706
3 Exporting EV_DATA Call by reference Type reference (TYPE) ANY Target data( parent structure ) 20120706
4 Importing IT_DFIES Call by reference Type reference (TYPE) DDFIELDS Details of parent structure fields 20120801
5 Importing IV_AMT_FIELD Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_AMOUNT Source Amount Field 20120706
6 Importing IV_AMT_FIELD_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Amount Field ID 20120706
7 Importing IV_AMT_NAME Call by reference Type reference (TYPE) CLIKE Name of the amount field 20120706
# Exception Resumable Description Created on
1 CX_FDT_PROCESSING FDT: Processing Error 20120801

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 Target amount or quantity data 20120801
2 Importing IT_DFIES Call by reference Type reference (TYPE) DDFIELDS Table Fields for the parent structure 20120801
3 Importing IV_DATA Call by reference Type reference (TYPE) ANY Source data 20120801
4 Importing IV_FIELDNAME Call by reference Type reference (TYPE) CLIKE Fieldname of Amount/Quantity field 20120801
5 Importing IV_FS_SOURCE Call by reference Type reference (TYPE) ANY Source amount or quantity field 20120801
6 Importing IV_IS_QUANTITY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE True if the field is a quantity; false otherwise 20120801

Method MOVE_CURR_QUAN_FROM_EXT on class CL_FDT_BRS_SUPERCLASS has no exception.

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 Table of field reference value 20120706
2 Changing CV_FS_TARGET Call by reference Type reference (TYPE) ANY Target quantity data 20120706
3 Exporting EV_DATA Call by reference Type reference (TYPE) ANY Target data 20120706
4 Importing IT_DFIES Call by reference Type reference (TYPE) DDFIELDS Details of fields in the parent structure 20120801
5 Importing IV_QTY_FIELD Call by reference Type reference (TYPE) IF_FDT_TYPES=>ELEMENT_QUANTITY Source quantity field 20120706
6 Importing IV_QTY_FIELD_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Quantity field ID 20120706
7 Importing IV_QTY_NAME Call by reference Type reference (TYPE) CLIKE Name of the quantity field 20120706
# Exception Resumable Description Created on
1 CX_FDT_PROCESSING FDT: Processing Error 20120801

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) OBJECT Context object (not used in BRS scenario) 20120621
2 Importing IV_FUNCTION_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Function ID 20120621
3 Importing IV_STATE Call by reference Type reference (TYPE) CHAR01 Context state 20120621

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