SAP ABAP Class CL_FDT_BRS_TRACE (FDT: Business Rule ServiceTrace)
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_TRACE | |
| Short Description | FDT: Business Rule ServiceTrace | |
| 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 | 20140121 | 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... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_BRS_TRACE has no interface implemented.
Friends
Class CL_FDT_BRS_TRACE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | FDT_UUID | '00000000000000000000000000000000' | FDT: Universal Unique Identifier | 20130925 | ||
| 2 | Constant | Public | Type reference (TYPE) | INT4 | 100 | Constant for infinite number of table lines | 20131011 | ||
| 3 | Constant | Public | Type reference (TYPE) | INT4 | -1 | Constant for infinite number of table lines | 20131011 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'CondCell' | Position Code for Condition Cell in Decision Table | 20131011 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'CondNode' | Position Code for Condition Node in decision tree | 20130925 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'Context' | Position Code for Context | 20130926 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'CtxtUpd' | Position Code for Context Update | 20130926 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'Expression' | Position Code for Expression | 20131011 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'Function' | Position Code for Function | 20130925 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'FunctionResult' | Position Code for the Result of a Function | 20131011 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'FunctionSystem' | Position Code for Rules System | 20131011 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'Importing' | Position Code for an Importing Parameter | 20130925 | ||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'NodeCond' | Positoin Code for Node Condition in Search Tree | 20130925 | ||
| 14 | Constant | Public | Type reference (TYPE) | STRING | 'WorkflowAgent' | Position Code for agent determination expression in workflow | 20130925 | ||
| 15 | Constant | Public | Type reference (TYPE) | STRING | 'WorkflowContainerElement' | Position Code for Expression in workflow container element | 20130925 | ||
| 16 | Constant | Public | Type reference (TYPE) | STRING | 'WhereCond' | Position Code for Condition in Rule | 20130925 | ||
| 17 | Constant | Public | Type reference (TYPE) | INT4 | 10 | Constant for infinite number of table lines | 20131011 | ||
| 18 | Constant | Public | Type reference (TYPE) | INT4 | 1000 | Constant for infinite number of table lines | 20131011 | ||
| 19 | Constant | Public | Type reference (TYPE) | INT4 | 0 | Constant for infinite number of table lines | 20131011 | ||
| 20 | Instance attribute | Public | Type reference (TYPE) | S_TRACE_HEADER | BRFplus: Lean Trace Header structure | 20120621 | |||
| 21 | Instance attribute | Public | Type reference (TYPE) | S_TRACE_RECORD | BRFplus: Lean Trace Record structure | 20120621 | |||
| 22 | Instance attribute | Public | Type reference (TYPE) | TS_TRACE_RECORD | Trace records | 20120621 | |||
| 23 | Instance attribute | Public | Type reference (TYPE) | T_TRACE_HEADER | Trace Header | 20120621 | |||
| 24 | Instance attribute | Public | Type reference (TYPE) | IF_FDT_TYPES=>TRACE_MODE | Trace Mode | 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 | Constructor | CONSTRUCTOR | 20131011 | |
| 3 | Instance method | Public | Method | Convert Records (into JSON and or into Cluster) | 20130518 | |
| 4 | Instance method | Public | Method | Merge the trace of other (sub) functions | 20120621 | |
| 5 | Instance method | Public | Method | Save collected trace data to DB (from one or many calls) | 20120621 | |
| 6 | Instance method | Public | Method | Set value in record | 20130515 | |
| 7 | Instance method | Public | Method | Dummy method, not used in Remote code generation | 20120621 |
Events
Class CL_FDT_BRS_TRACE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | EXTERNAL_ID | Public | Type reference (TYPE) | FDT_TRACE_EXTERNAL_ID | BRFplus: External ID for Lean Trace | 20120621 | |
| 2 | S_OTE | Public | See coding | 20130925 | BEGIN OF s_ote,
id TYPE if_fdt_types=>id.
INCLUDE TYPE if_fdt_wd_types=>s_object_type_extended.
TYPES: END OF s_ote
|
||
| 3 | S_TRACE_HEADER | Public | See coding | Trace Header | 20120621 | BEGIN OF s_trace_header.
INCLUDE TYPE fdt_brs_s_trace_header.
TYPES: END OF s_trace_header
|
|
| 4 | S_TRACE_RECORD | Public | See coding | BRFplus: Lean Trace Record structure | 20120621 | BEGIN OF s_trace_record.
INCLUDE TYPE fdt_brs_s_trace_record.
TYPES:ref TYPE REF TO data,
END OF s_trace_record
|
|
| 5 | TS_OTE | Public | See coding | 20130925 | ts_ote TYPE SORTED TABLE OF s_ote WITH UNIQUE KEY id
|
||
| 6 | TS_TRACE_RECORD | Public | See coding | BRFplus: Lean Trace Header | 20120621 | ts_trace_record TYPE SORTED TABLE OF s_trace_record
WITH UNIQUE KEY trace_uuid seqnr
WITH NON-UNIQUE SORTED KEY skey2 COMPONENTS trace_uuid parent_id
|
|
| 7 | T_TRACE_HEADER | Public | See coding | Trace Header | 20120621 | t_trace_header TYPE STANDARD TABLE OF s_trace_header
|
Method Signatures
Method CLEAR_MEMORY Signature
Method CLEAR_MEMORY on class CL_FDT_BRS_TRACE has no parameter.
Method CLEAR_MEMORY on class CL_FDT_BRS_TRACE has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TRACE_MODE | Trace mode | 20131011 |
Method CONSTRUCTOR on class CL_FDT_BRS_TRACE has no exception.
Method CONVERT_RECORDS Signature
Method CONVERT_RECORDS on class CL_FDT_BRS_TRACE has no parameter.
Method CONVERT_RECORDS on class CL_FDT_BRS_TRACE has no exception.
Method MERGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_TRACE | Call by reference | Object reference (TYPE REF TO) | CL_FDT_BRS_TRACE | FDT: Lean Trace | 20120621 | |||
| 2 | IV_AS_CHILD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Merge IO_TRACE as a child | 20120621 | ||
| 3 | IV_PARENT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Parent ID for IO_TRACE if it is to be merged as a child | 20120621 | |||
| 4 | IV_POSITION | Call by reference | Type reference (TYPE) | STRING | 'TargetFunction' | Trace position | 20120621 |
Method MERGE on class CL_FDT_BRS_TRACE has no exception.
Method SAVE 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) | EXTERNAL_ID | External ID of Trace | 20120621 | |||
| 2 | IV_UPDATE_TASK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Save Trace in Update Task | 20120621 |
Method SAVE on class CL_FDT_BRS_TRACE has no exception.
Method SET_RECORD_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RECORD | Call by reference | Type reference (TYPE) | S_TRACE_RECORD | Trace Record | 20130515 | |||
| 2 | IA_ANY | Call by reference | Type reference (TYPE) | ANY | Value | 20130515 |
Method SET_RECORD_VALUE on class CL_FDT_BRS_TRACE has no exception.
Method SET_UNVERSIONED_OBJECT_USED Signature
Method SET_UNVERSIONED_OBJECT_USED on class CL_FDT_BRS_TRACE has no parameter.
Method SET_UNVERSIONED_OBJECT_USED on class CL_FDT_BRS_TRACE has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |