SAP ABAP Class CL_FM_SPLIT_TRACE (Trace functions for Rule-Based Account Distributions)
Hierarchy
☛
EA-PS (Software Component) SAP Enterprise Extension Public Services
⤷
PSM-FM (Application Component) Funds Management
⤷
FM_SPLIT_E (Package) Automatic FM account assignment splitting tool
⤷
⤷
Properties
| Class | CL_FM_SPLIT_TRACE | |
| Short Description | Trace functions for Rule-Based Account Distributions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | FMSPLIT | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | FM_SPLIT_E | Automatic FM account assignment splitting tool |
| Created | 20041130 | SAP |
| Last change | 20050411 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FM_SPLIT_TRACE has no forward declaration.
Interfaces
Class CL_FM_SPLIT_TRACE has no interface implemented.
Friends
Class CL_FM_SPLIT_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) | INT4 | 0 | Toolbar button type: normal button | 20041130 | ||
| 2 | Constant | Private | Type reference (TYPE) | INT4 | 3 | Toolbar button type: separator bar | 20041130 | ||
| 3 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'E' | Error message | 20041130 | ||
| 4 | Constant | Private | Type reference (TYPE) | FCODE | 'ABADR_TRACE' | Function code to show derivation trace | 20041130 | ||
| 5 | Constant | Private | Type reference (TYPE) | FCODE | 'DISPLAY_RULE' | Function code to display a rule | 20041130 | ||
| 6 | Constant | Private | Type reference (TYPE) | FCODE | 'SHOW_MESSAGES' | Function code: show message log | 20041202 | ||
| 7 | Constant | Private | Type reference (TYPE) | ICON_L2 | '@10@' | Display icon | 20041202 | ||
| 8 | Constant | Private | Type reference (TYPE) | ICON_L2 | '@DH@' | Protocol icon | 20041202 | ||
| 9 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'I' | Info message | 20041130 | ||
| 10 | Constant | Private | Type reference (TYPE) | BOOLE_D | ' ' | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20041130 | ||
| 11 | Constant | Private | Type reference (TYPE) | BOOLE_D | 'X' | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20041130 | ||
| 12 | Constant | Private | Type reference (TYPE) | MEMORYID | 'FM_SPLIT_TRACE' | PID value for overall trace flag | 20041130 | ||
| 13 | Constant | Private | Type reference (TYPE) | CHAR12 | 'FMSP_TRACE_' | 1st part of key for saving to INDX | 20041130 | ||
| 14 | Constant | Public | Type reference (TYPE) | CHAR1 | 'D' | Trace step type: Derive rule | 20041130 | ||
| 15 | Constant | Private | Type reference (TYPE) | CHAR1 | 'Z' | Step type for top level of a processing session | 20041201 | ||
| 16 | Constant | Public | Type reference (TYPE) | CHAR1 | 'R' | Trace step type: Process rule | 20041130 | ||
| 17 | Constant | Public | Type reference (TYPE) | CHAR1 | 'S' | Trace step type: Process split | 20041130 | ||
| 18 | Constant | Private | Type reference (TYPE) | CHAR1 | 'T' | Step type for top level of a processing session | 20041201 | ||
| 19 | Constant | Private | Type reference (TYPE) | SYMSGTY | 'W' | Warning message | 20041130 | ||
| 20 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GUI_DIALOGBOX_CONTAINER | Dialog box for displaying trace | 20041130 | |||
| 21 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GUI_TOOLBAR | Toolbar Control | 20041130 | |||
| 22 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_GUI_ALV_TREE | ALV Tree Control | 20041130 | |||
| 23 | Static Attribute | Private | Type reference (TYPE) | TP_T_TRACE_DATA | All trace data from current session | 20041130 | |||
| 24 | Static Attribute | Private | Type reference (TYPE) | TP_T_TRACE_FLAG | Table of rule-dependent trace flags | 20041130 | |||
| 25 | Static Attribute | Private | Type reference (TYPE) | FMSP_T_TRACE_STEP | Copy of table used by tree control | 20041201 | |||
| 26 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Indicate if INDX data buffer is valid | 20041130 | |||
| 27 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20041201 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Turn off overall trace flag and rule-dependent trace flags | 20041130 | |
| 2 | Static method | Public | Method | Get overall trace flag or an individual rule trace flag | 20041130 | |
| 3 | Static method | Private | Method | Import trace data from INDX database | 20041201 | |
| 4 | Static method | Private | Method | 20041130 | ||
| 5 | Static method | Public | Method | Display application log | 20041130 | |
| 6 | Static method | Private | Event handling method | On trace dialogbox close | 20041130 | |
| 7 | Static method | Private | Event handling method | Handle user functions during trace display | 20041130 | |
| 8 | Static method | Public | Method | Save trace and result data to INDX and TABADRX | 20041201 | |
| 9 | Static method | Public | Method | Set an individual rule trace flag or overall controller flag | 20041130 | |
| 10 | Static method | Public | Method | Display the results of the splitting process to the user | 20041202 | |
| 11 | Static method | Public | Method | Method to display trace results | 20041130 | |
| 12 | Static method | Private | Method | Set field catalog for display of results | 20041130 | |
| 13 | Static method | Private | Method | Register events to handle in ALV tree for trace display | 20041130 | |
| 14 | Static method | Private | Method | 20041130 |
Events
Class CL_FM_SPLIT_TRACE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TP_TRACE_DATA | Private | See coding | 20041201 | BEGIN OF tp_trace_data,
trace_key TYPE text60,
trigger TYPE fmsplit_derive,
results TYPE fmsplit_results,
t_trace TYPE fmsp_t_trace_step,
t_fields_to_display TYPE fmsp_t_field_profile_fields,
t_msg TYPE bal_t_msg,
END OF tp_trace_data
|
||
| 2 | TP_TRACE_FLAG | Private | See coding | Trace flag settings per rule and for controller | 20041201 | BEGIN OF tp_trace_flag,
split_rule TYPE fmsp_rule_id, " Blank = Controller trace
trace_flag TYPE fmsp_trace_flag,
END OF tp_trace_flag
|
|
| 3 | TP_TRACE_NODE | Private | See coding | 20041202 | BEGIN OF tp_trace_node,
step_nbr TYPE int4,
key TYPE lvc_nkey,
END OF tp_trace_node
|
||
| 4 | TP_T_TRACE_DATA | Private | See coding | 20041201 | tp_t_trace_data TYPE STANDARD TABLE OF tp_trace_data WITH KEY trace_key
|
||
| 5 | TP_T_TRACE_FLAG | Private | See coding | Trace flag settings per rule and for controller | 20041201 | tp_t_trace_flag TYPE STANDARD TABLE OF tp_trace_flag
|
|
| 6 | TP_T_TRACE_NODE | Private | See coding | 20041202 | tp_t_trace_node TYPE STANDARD TABLE OF tp_trace_node WITH KEY step_nbr
|
Method Signatures
Method CLEAR_ALL_TRACE_FLAGS Signature
Method CLEAR_ALL_TRACE_FLAGS on class CL_FM_SPLIT_TRACE has no parameter.
Method CLEAR_ALL_TRACE_FLAGS on class CL_FM_SPLIT_TRACE has no exception.
Method GET_TRACE_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TRACE_FLAG | Call by reference | Type reference (TYPE) | FMSP_TRACE_FLAG | The requested trace flag value | 20041130 | |||
| 2 | I_CONTROLLER_TRACE | Call by reference | Type reference (TYPE) | BOOLE_D | Indicates you want the overall trace flag | 20041130 | |||
| 3 | I_SPLIT_RULE | Call by reference | Type reference (TYPE) | FMSP_RULE_ID | Identifier for rule whose trace flag you want | 20041130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Cannot request both individual and overall in one call | 20041130 |
Method IMPORT_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | FMSP_TRACE_HEADER | Header data about an account assignment trace | 20041202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Load from database failed | 20041202 |
Method LOAD_TRACE_FLAGS_FROM_DB Signature
Method LOAD_TRACE_FLAGS_FROM_DB on class CL_FM_SPLIT_TRACE has no parameter.
Method LOAD_TRACE_FLAGS_FROM_DB on class CL_FM_SPLIT_TRACE has no exception.
Method LOG_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_MESSAGE | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20041202 | |||
| 2 | I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20041130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No messages to display | 20041202 |
Method ON_TRACE_CLOSE Signature
Method ON_TRACE_CLOSE on class CL_FM_SPLIT_TRACE has no parameter.
Method ON_TRACE_CLOSE on class CL_FM_SPLIT_TRACE has no exception.
Method ON_TRACE_FUNCTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FCODE | Value transfer | Attribute reference (LIKE) | 20041130 |
Method ON_TRACE_FUNCTION on class CL_FM_SPLIT_TRACE has no exception.
Method SAVE_TRACE_TO_DB Signature
Method SAVE_TRACE_TO_DB on class CL_FM_SPLIT_TRACE has no parameter.
Method SAVE_TRACE_TO_DB on class CL_FM_SPLIT_TRACE has no exception.
Method SET_TRACE_FLAGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CONTROLLER_TRACE | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20041130 | |||
| 2 | I_RULE_TRACE | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20041130 | |||
| 3 | I_SPLIT_RULE | Call by reference | Type reference (TYPE) | FMSP_RULE_ID | Identifier for FM account assignment splitting rule | 20041130 |
Method SET_TRACE_FLAGS on class CL_FM_SPLIT_TRACE has no exception.
Method STORE_FOR_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RESULTS | Call by reference | Type reference (TYPE) | FMSPLIT_RESULTS | Result data from processing an FM assignment split in COBL | 20041202 | |||
| 2 | IS_TRIGGER | Call by reference | Type reference (TYPE) | FMSPLIT_DERIVE | Derivation Structure for FM account assignment splitting | 20041202 | |||
| 3 | IT_FIELDS_TO_DISPLAY | Call by reference | Type reference (TYPE) | FMSP_T_FIELD_PROFILE_FIELDS | Fields in a field profile for FM account assignment split | 20041202 | |||
| 4 | IT_TRACE | Call by reference | Type reference (TYPE) | FMSP_T_TRACE_STEP | Table of trace data for account assignment splitting | 20041202 | |||
| 5 | I_FLG_SAVE | Call by reference | Type reference (TYPE) | BOOLE_D | Flag: store results for later display | 20041202 | |||
| 6 | I_LOG_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Application Log: Log handle | 20041202 | |||
| 7 | I_TRACE_KEY | Call by reference | Type reference (TYPE) | TEXT60 | Ident string used to identify trace data | 20041202 | |||
| 8 | I_WITH_TRACE_DETAILS | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | Include trace details | 20041202 |
Method STORE_FOR_DISPLAY on class CL_FM_SPLIT_TRACE has no exception.
Method TRACE_DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_HEADER | Call by reference | Type reference (TYPE) | FMSP_TRACE_HEADER | Header data about an account assignment trace | 20041202 | |||
| 2 | I_GUI_CONTAINER | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20041202 | |||
| 3 | I_LOAD_FROM_DB | Call by reference | Type reference (TYPE) | BOOLE_D | ' ' | Load trace data from INDX, TABADRX | 20041201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unable to load trace data to display | 20041202 |
Method TRACE_FIELDCAT_LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_FIELDCATALOG | Value transfer | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20041130 |
Method TRACE_FIELDCAT_LOAD on class CL_FM_SPLIT_TRACE has no exception.
Method TRACE_TREE_EVENTS_REGISTER Signature
Method TRACE_TREE_EVENTS_REGISTER on class CL_FM_SPLIT_TRACE has no parameter.
Method TRACE_TREE_EVENTS_REGISTER on class CL_FM_SPLIT_TRACE has no exception.
Method TRACE_TREE_HIERARCHY_LOAD Signature
Method TRACE_TREE_HIERARCHY_LOAD on class CL_FM_SPLIT_TRACE has no parameter.
Method TRACE_TREE_HIERARCHY_LOAD on class CL_FM_SPLIT_TRACE has no exception.
History
| Last changed by/on | SAP | 20050411 |
| SAP Release Created in | 600 |