SAP ABAP Class CL_FDT_BRS_PROCESSOR (FDT: Business Rule Service Processor)
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_PROCESSOR | |
| Short Description | FDT: Business Rule Service Processor | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_BRS_CORE | Business Rule Services: Runtime Services |
| Created | 20111118 | 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_PROCESSOR has no interface implemented.
Friends
Class CL_FDT_BRS_PROCESSOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | CHAR1 | 'A' | ABAP data format | 20120621 | ||
| 2 | Constant | Public | Type reference (TYPE) | CHAR1 | 'B' | BRFplus data format | 20120621 | ||
| 3 | Constant | Private | Type reference (TYPE) | SEOSCONAME | '_V_E_METH_PARAM_RESULT_ED' | Result parameter name | 20120621 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | IF_FDT_TYPES=>NAME | '_V_RESULT' | Result name | 20120621 | ||
| 5 | Constant | Private | Type reference (TYPE) | SEOSCONAME | '_IV_TIMESTAMP' | Timestamp parameter name | 20120621 | ||
| 6 | Constant | Private | Type reference (TYPE) | SEOSCONAME | '_IO_TRACE' | Trace parameter name | 20120621 | ||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FDT_BRS_TRACE | Trace object | 20120621 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: Process actions in update task | 20120911 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE: Do an authority check for DB-Lookups | 20120621 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SEOCLSNAME | Classname | 20120621 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | IF_FDT_TYPES=>ID | Function ID | 20120621 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | TIMESTAMP | Processing timestamp | 20120621 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | IF_FDT_TYPES=>TRACE_MODE | Lean Trace | 20131011 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Lean Trace | 20131011 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Clear collected trace data (from one or many calls) | 20120621 | |
| 2 | Instance method | Public | Method | Move data to data object (function context, BRFplus format) | 20120621 | |
| 3 | Instance method | Public | Method | Get Data Objects in Context | 20120621 | |
| 4 | Instance method | Public | Method | Get reference to a function's context data object or result | 20120621 | |
| 5 | Static method | Public | Method | Returns an instance | 20120621 | |
| 6 | Instance method | Public | Method | Returns trace buffer | 20120731 | |
| 7 | Instance method | Public | Method | Process Function (Business Rule Service) | 20120621 | |
| 8 | Instance method | Public | Method | Save collected trace data to DB (from one or many calls) | 20120621 |
Events
Class CL_FDT_BRS_PROCESSOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | DATA_FORMAT | Public | Type reference (TYPE) | CHAR1 | 20120621 | |
|
| 2 | S_DATA_OBJECT | Public | See coding | 20120621 | BEGIN OF s_data_object ,
id TYPE if_fdt_types=>id,
name TYPE if_fdt_types=>name,
data_object_type TYPE if_fdt_types=>data_object_type,
END OF s_data_object
|
||
| 3 | S_NAME_VALUE | Public | See coding | 20120621 | BEGIN OF s_name_value,
name TYPE abap_parmname,
value TYPE REF TO data,
END OF s_name_value
|
||
| 4 | T_DATA_OBJECT | Public | See coding | 20120621 | t_data_object TYPE STANDARD TABLE OF s_data_object
|
||
| 5 | T_NAME_VALUE | Public | See coding | 20120621 | t_name_value TYPE STANDARD TABLE OF s_name_value WITH KEY name
|
Method Signatures
Method CLEAR_TRACE_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ONLY_ADD_START | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Add only a new function start to the already existing trace | 20120801 |
Method CLEAR_TRACE_BUFFER on class CL_FDT_BRS_PROCESSOR has no exception.
Method CONVERT_DATA_FOR_PROCESSING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to BRFplus Data Object | 20120621 | |||
| 2 | IR_DATA | Call by reference | Type reference (TYPE) | DATA | Reference to any ABAP Data Object | 20120621 | |||
| 3 | IV_DATA_OBJECT | Call by reference | Type reference (TYPE) | CLIKE | Data object: Name or ID | 20120621 | |||
| 4 | IV_HAS_DDIC_BINDING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Data is passed in the DDIC-Structure defined in BRF+ | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method GET_CONTEXT_DATA_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA_OBJECT | Call by reference | Type reference (TYPE) | T_DATA_OBJECT | Context object list | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method GET_DATA_OBJECT_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to the data object ( no value ) | 20120621 | |||
| 2 | EV_DATA_OBJECT_NAME | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>NAME | Technical name for the data object object | 20120621 | |||
| 3 | IV_DATA_OBJECT | Call by reference | Type reference (TYPE) | CLIKE | Data object: Name or ID | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACTION_IN_UPDATE_TASK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: Process actions in update task | 20120911 | ||
| 2 | IV_AUTH_CHECK_FOR_DB_LOOKUP | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: Enable authority check for DB-Lookup expression | 20120621 | ||
| 3 | IV_FUNCTION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Function ID | 20120621 | |||
| 4 | IV_PROCESSING_TIMESTAMP | Call by reference | Type reference (TYPE) | TIMESTAMP | Processing timestamp | 20120621 | |||
| 5 | IV_TRACE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TRACE_MODE | ' ' | ABAP_TRUE: Use lean trace | 20120621 | ||
| 6 | RO_PROCESSOR | Value transfer | Object reference (TYPE REF TO) | CL_FDT_BRS_PROCESSOR | Processor instance | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 |
Method GET_TRACE_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TRACE_HEADER | Call by reference | Type reference (TYPE) | FDT_BRS_T_TRACE_HEADER | BRFplus: Lean Trace Header | 20120731 | |||
| 2 | ET_TRACE_RECORD | Call by reference | Type reference (TYPE) | FDT_BRS_T_TRACE_RECORD | BRFplus: Lean Trace Record | 20120731 |
Method GET_TRACE_BUFFER on class CL_FDT_BRS_PROCESSOR has no exception.
Method PROCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NAME_VALUE | Call by reference | Type reference (TYPE) | T_NAME_VALUE | Name value table for context with value change | 20120621 | |||
| 2 | EA_RESULT | Call by reference | Type reference (TYPE) | ANY | Function result data | 20120621 | |||
| 3 | IT_NAME_VALUE | Call by reference | Type reference (TYPE) | T_NAME_VALUE | Name value table for context without value change | 20120621 | |||
| 4 | IV_DATA_FORMAT | Call by reference | Type reference (TYPE) | CHAR1 | GC_DATA_FORMAT_BRFPLUS | Data format: ABAP/BRFplus | 20120621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120621 | |||
| 2 | 20120621 |
Method SAVE_TRACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXTERNAL_ID | Call by reference | Type reference (TYPE) | CL_FDT_BRS_TRACE=>EXTERNAL_ID | External trace ID | 20120621 | |||
| 2 | IV_UPDATE_TASK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | ABAP_TRUE: Save trace in update task | 20120621 |
Method SAVE_TRACE on class CL_FDT_BRS_PROCESSOR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |