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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT | Elementary Data Type Amount | 20130813 | |||
| 2 | Static Attribute | Protected | See coding | Helper structure for amounts | 20120621 | ||||
| 3 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_QUANTITY | Elementary Data Type Quantity | 20130813 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TIMEPOINT | Helper structure for timepoints | 20120621 | |||
| 5 | Static Attribute | Protected | See coding | Helper structure for quantities | 20120621 | ||||
| 6 | Static Attribute | Protected | Type reference (TYPE) | FDT_S_VALUE | Helper structure for direct values | 20120621 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TH_DDBV_AUTHORIZATION | 20130814 | ||||
| 8 | Static Attribute | Private | Type reference (TYPE) | TH_TABLE_AUTHORIZATION | Internal buffer for table authorization | 20120621 | |||
| 9 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Not needed for first iteration of RCG | 20120621 | |||
| 10 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Authority Check for DB Lookup expression | 20120621 | |||
| 11 | Static Attribute | Protected | Type reference (TYPE) | CLASSNAME | Classname of the genreated class | 20120621 | |||
| 12 | Static Attribute | Protected | Type reference (TYPE) | STRING | Usage in Macros | 20120621 | |||
| 13 | Static Attribute | Protected | Type reference (TYPE) | XSTRING | Usage in Macros | 20120621 | |||
| 14 | Static Attribute | Protected | Type reference (TYPE) | STRING | Usage in Macros | 20120621 | |||
| 15 | Static Attribute | Protected | Type reference (TYPE) | XSTRING | Usage in Macros | 20120621 | |||
| 16 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TEXT | Helper variable for texts | 20120621 | |||
| 17 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | Helper variable for numbers | 20120621 | |||
| 18 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | Helper variable for numbers | 20120621 | |||
| 19 | Static Attribute | Protected | Object reference (TYPE REF TO) | CX_ROOT | Root exception | 20120621 | |||
| 20 | Static Attribute | Protected | Type reference (TYPE) | FDT_S_VALUE | ??? | 20120621 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Authority check for Dynamic Database View | 20130814 | |
| 2 | Static method | Public | Method | Authority check for used DDIC tables | 20120621 | |
| 3 | Static method | Protected | Method | Compare 2 amounts or an amount with the number 0 | 20120621 | |
| 4 | Static method | Protected | Method | Compare 2 simple values | 20120621 | |
| 5 | Static method | Protected | Method | Compare 2 quantities or an quantity with the number 0 | 20120621 | |
| 6 | Static method | Public | Method | Move currency data to external format | 20120706 | |
| 7 | Static method | Protected | Method | Move currency/quantity data into an internal format | 20120801 | |
| 8 | Static method | Public | Method | Move quantity data to external format | 20120706 | |
| 9 | 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 | IV_DDBV_ID | Call by reference | Type reference (TYPE) | FDT_UUID | DDBV ID | 20130814 | |||
| 2 | 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 | IV_TABLENAME | Call by reference | Type reference (TYPE) | TABNAME | Table name | 20120621 | |||
| 2 | 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 | IV_COMPARE_OPERATOR | Call by reference | Type reference (TYPE) | DDOPTION | Comparison option | 20120621 | |||
| 2 | IV_ELEMENT_TYPE_1 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type 1 | 20120621 | |||
| 3 | IV_ELEMENT_TYPE_2 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type 2 | 20120621 | |||
| 4 | IV_VALUE_1 | Call by reference | Type reference (TYPE) | ANY | Value 1 | 20120621 | |||
| 5 | IV_VALUE_2 | Call by reference | Type reference (TYPE) | ANY | Value 2 | 20120621 | |||
| 6 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Comparison result | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method COMPARE_NUMBERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMPARE_OPERATOR | Call by reference | Type reference (TYPE) | DDOPTION | Comparison operator | 20120621 | |||
| 2 | IV_VALUE_1 | Call by reference | Type reference (TYPE) | SIMPLE | Value 1 | 20120621 | |||
| 3 | IV_VALUE_2 | Call by reference | Type reference (TYPE) | SIMPLE | Value 2 | 20120621 | |||
| 4 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Comparison result | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method COMPARE_QUANTITIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COMPARE_OPERATOR | Call by reference | Type reference (TYPE) | DDOPTION | Comparison operator | 20120621 | |||
| 2 | IV_ELEMENT_TYPE_1 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type 1 | 20120621 | |||
| 3 | IV_ELEMENT_TYPE_2 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type 2 | 20120621 | |||
| 4 | IV_VALUE_1 | Call by reference | Type reference (TYPE) | ANY | Value 1 | 20120621 | |||
| 5 | IV_VALUE_2 | Call by reference | Type reference (TYPE) | ANY | Value 2 | 20120621 | |||
| 6 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Comparison result | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method MOVE_CURRENCY_TO_EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_REFFIELD_NAME_VALUE | Call by reference | Type reference (TYPE) | TT_REFFIELD_NAME_VALUE | Table of field reference value | 20120706 | |||
| 2 | CV_FS_TARGET | Call by reference | Type reference (TYPE) | ANY | Target amount field | 20120706 | |||
| 3 | EV_DATA | Call by reference | Type reference (TYPE) | ANY | Target data( parent structure ) | 20120706 | |||
| 4 | IT_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | Details of parent structure fields | 20120801 | |||
| 5 | IV_AMT_FIELD | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT | Source Amount Field | 20120706 | |||
| 6 | IV_AMT_FIELD_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Amount Field ID | 20120706 | |||
| 7 | IV_AMT_NAME | Call by reference | Type reference (TYPE) | CLIKE | Name of the amount field | 20120706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CV_FS_TARGET | Call by reference | Type reference (TYPE) | ANY | Target amount or quantity data | 20120801 | |||
| 2 | IT_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | Table Fields for the parent structure | 20120801 | |||
| 3 | IV_DATA | Call by reference | Type reference (TYPE) | ANY | Source data | 20120801 | |||
| 4 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | CLIKE | Fieldname of Amount/Quantity field | 20120801 | |||
| 5 | IV_FS_SOURCE | Call by reference | Type reference (TYPE) | ANY | Source amount or quantity field | 20120801 | |||
| 6 | 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 | CT_REFFIELD_NAME_VALUE | Call by reference | Type reference (TYPE) | TT_REFFIELD_NAME_VALUE | Table of field reference value | 20120706 | |||
| 2 | CV_FS_TARGET | Call by reference | Type reference (TYPE) | ANY | Target quantity data | 20120706 | |||
| 3 | EV_DATA | Call by reference | Type reference (TYPE) | ANY | Target data | 20120706 | |||
| 4 | IT_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | Details of fields in the parent structure | 20120801 | |||
| 5 | IV_QTY_FIELD | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_QUANTITY | Source quantity field | 20120706 | |||
| 6 | IV_QTY_FIELD_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Quantity field ID | 20120706 | |||
| 7 | IV_QTY_NAME | Call by reference | Type reference (TYPE) | CLIKE | Name of the quantity field | 20120706 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Processing Error | 20120801 |
Method SET_SIMPLE_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Context object (not used in BRS scenario) | 20120621 | |||
| 2 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Function ID | 20120621 | |||
| 3 | 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 |