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 | 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_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 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT | Elementary Data Type Amount | 20130813 | |||
| 2 | Static Attribute | Protected | See coding | 20061005 | |||||
| 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 | 20061005 | ||||
| 5 | Static Attribute | Protected | See coding | 20061005 | |||||
| 6 | Static Attribute | Protected | Type reference (TYPE) | FDT_S_VALUE | FDT: Simple Value | 20090617 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TH_DDBV_AUTHORIZATION | 20130814 | ||||
| 8 | Static Attribute | Private | Type reference (TYPE) | TH_TABLE_AUTHORIZATION | 20100506 | ||||
| 9 | Static Attribute | Public | Type reference (TYPE) | IF_FDT_TYPES=>TS_ID_VALUE | 20081218 | ||||
| 10 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Update Task | 20110921 | |||
| 11 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | 20100506 | ||||
| 12 | Static Attribute | Protected | Type reference (TYPE) | CLASSNAME | Reference type | 20061010 | |||
| 13 | Static Attribute | Protected | Type reference (TYPE) | STRING | Used in Mocros | 20061110 | |||
| 14 | Static Attribute | Protected | Type reference (TYPE) | XSTRING | Used in Mocros | 20061110 | |||
| 15 | Static Attribute | Protected | Type reference (TYPE) | STRING | Used in Mocros | 20061110 | |||
| 16 | Static Attribute | Protected | Type reference (TYPE) | XSTRING | Used in Mocros | 20061110 | |||
| 17 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TEXT | 20061005 | ||||
| 18 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | Used as temp variable for Number | 20080416 | |||
| 19 | Static Attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_NUMBER | Used as temp variable for Number | 20110829 | |||
| 20 | Static Attribute | Public | Object reference (TYPE REF TO) | IF_FDT_PROCESSOR | FDT: Processor | 20070703 | |||
| 21 | Static Attribute | Protected | Object reference (TYPE REF TO) | CX_ROOT | 20061005 | ||||
| 22 | Static Attribute | Protected | Type reference (TYPE) | FDT_S_VALUE | FDT: Simple Value | 20100128 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Authority check on S_TABU_DIS | 20130813 | |
| 2 | Static method | Public | Method | Authority check on S_TABU_DIS | 20100506 | |
| 3 | Static method | Protected | Method | Build contex using the ID-Value-Table | 20070116 | |
| 4 | Static method | Protected | Method | Compare two amounts or amounts and numbers | 20061129 | |
| 5 | Static method | Protected | Method | Compare two numbers | 20061129 | |
| 6 | Static method | Protected | Method | Compare two quantities or quantites and numbers | 20061129 | |
| 7 | Static method | Public | Method | 20100520 | ||
| 8 | Static method | Protected | Method | Build contex using the ID-Value-Table | 20091030 | |
| 9 | Static method | Public | Method | Get instance of the class cl_fdt_processor | 20070703 | |
| 10 | Static method | Public | Method | Move currency data into an external format | 20120704 | |
| 11 | Static method | Protected | Method | Move currency/quantity data into an internal format | 20120725 | |
| 12 | Static method | Public | Method | Move quantity data into an external format | 20120704 | |
| 13 | Static method | Protected | Method | Set Attributes of Result Object | 20070111 | |
| 14 | 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 | IV_DDBV_ID | Call by reference | Type reference (TYPE) | FDT_UUID | DDBV ID | 20130813 | |||
| 2 | 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 | IV_TABLENAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20100506 | |||
| 2 | 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 | EO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20070116 | |||
| 2 | ITS_ID_VALUE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_ID_VALUE | 20070116 | ||||
| 3 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070116 | ||||
| 4 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | 20070116 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Insufficient Configuration | 20070116 | ||
| 2 | FDT: Invalid Input | 20070116 |
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 | Type of OPTION component in row type of a Ranges type | 20061129 | |||
| 2 | IV_ELEMENT_TYPE_1 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | 20061129 | ||||
| 3 | IV_ELEMENT_TYPE_2 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | 20061129 | ||||
| 4 | IV_VALUE_1 | Call by reference | Type reference (TYPE) | ANY | 20061129 | ||||
| 5 | IV_VALUE_2 | Call by reference | Type reference (TYPE) | ANY | 20061129 | ||||
| 6 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20061129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Conversion Failure | 20061129 |
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 | Compare operator | 20061129 | |||
| 2 | IV_VALUE_1 | Call by reference | Type reference (TYPE) | SIMPLE | First number | 20061129 | |||
| 3 | IV_VALUE_2 | Call by reference | Type reference (TYPE) | SIMPLE | Second number to be compared to first | 20061129 | |||
| 4 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Result of comparison (true/false) | 20061129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Conversion Failure | 20061129 |
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 | Compare operator | 20061129 | |||
| 2 | IV_ELEMENT_TYPE_1 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type of first value | 20061129 | |||
| 3 | IV_ELEMENT_TYPE_2 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | Element type of second value | 20061129 | |||
| 4 | IV_VALUE_1 | Call by reference | Type reference (TYPE) | ANY | First quantity or number | 20061129 | |||
| 5 | IV_VALUE_2 | Call by reference | Type reference (TYPE) | ANY | Second quantity or number to be compared to first | 20061129 | |||
| 6 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Result of comparison (true/false) | 20061129 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Conversion Failure | 20061129 |
Method CONVERT_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) | IF_FDT_CONTEXT | FDT: Context | 20100907 | |||
| 2 | IV_RESULT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20100907 | |||
| 3 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | 20100907 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EO_CONTEXT | Value transfer | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20091030 | |||
| 2 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20091030 | ||||
| 3 | IV_TIMESTAMP | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TIMESTAMP | 20091030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Insufficient Configuration | 20091030 | ||
| 2 | FDT: Invalid Input | 20091030 |
Method GET_PROCESSOR_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | CT_REFFIELD_NAME_VALUE | Call by reference | Type reference (TYPE) | TT_REFFIELD_NAME_VALUE | 20120704 | ||||
| 2 | CV_FS_TARGET | Call by reference | Type reference (TYPE) | ANY | 20120704 | ||||
| 3 | EV_DATA | Call by reference | Type reference (TYPE) | ANY | 20120704 | ||||
| 4 | IT_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | Field Information | 20120730 | |||
| 5 | IV_AMT_FIELD | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_AMOUNT | Elementary Data Type Amount | 20120704 | |||
| 6 | IV_AMT_FIELD_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20120704 | |||
| 7 | IV_AMT_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20120704 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CV_FS_TARGET | Call by reference | Type reference (TYPE) | ANY | 20120725 | ||||
| 2 | IT_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | DD Interface: Table Fields for DDIF_FIELDINFO_GET | 20120728 | |||
| 3 | IV_DATA | Call by reference | Type reference (TYPE) | ANY | 20120725 | ||||
| 4 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | CLIKE | 20120725 | ||||
| 5 | IV_FS_SOURCE | Call by reference | Type reference (TYPE) | ANY | 20120725 | ||||
| 6 | IV_IS_QUANTITY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120725 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | CT_REFFIELD_NAME_VALUE | Call by reference | Type reference (TYPE) | TT_REFFIELD_NAME_VALUE | 20120704 | ||||
| 2 | CV_FS_TARGET | Call by reference | Type reference (TYPE) | ANY | 20120704 | ||||
| 3 | EV_DATA | Call by reference | Type reference (TYPE) | ANY | 20120704 | ||||
| 4 | IT_DFIES | Call by reference | Type reference (TYPE) | DDFIELDS | DD Interface: Table Fields for DDIF_FIELDINFO_GET | 20120730 | |||
| 5 | IV_QTY_FIELD | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_QUANTITY | Elementary Data Type Quantity | 20120704 | |||
| 6 | IV_QTY_FIELD_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20120704 | |||
| 7 | IV_QTY_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20120704 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Processing Error | 20120727 |
Method SET_RESULT_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_RESULT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_RESULT | FDT: Result | 20070111 | |||
| 2 | IR_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | 20070111 | ||||
| 3 | IV_DATA_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>DATA_OBJECT_TYPE | 20070111 | ||||
| 4 | IV_ELEMENT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ELEMENT_TYPE | 20070111 | ||||
| 5 | IV_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070111 | ||||
| 6 | IV_RESULT_DATA_OBJECT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070118 | ||||
| 7 | 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 | IO_CONTEXT | Call by reference | Object reference (TYPE REF TO) | IF_FDT_CONTEXT | FDT: Context | 20100319 | |||
| 2 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20100820 | |||
| 3 | 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 |