SWFTRCSTAT SAP (Status of Trace Instance) Structure details
Description: Status of Trace Instance
Structure field list including key, data, relationships and ABAP select examples
SWFTRCSTAT is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Status of Trace Instance" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_SWFTRCSTAT TYPE SWFTRCSTAT.
The SWFTRCSTAT table consists of various fields, each holding specific information or linking keys about Status of Trace Instance data available in SAP. These include TRC_CMP (Application Component Implementing Its Own Trace Extensions), IS_ACTIVE ('X' - Trace is Active), IS_INSTANCE ('X' - Entry Applies for ONE Object, ' ' for Multiple Objects), TRC_LEVEL (Level of Detail Determining Which Trace Entries Are Written).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP SWFTRCSTAT structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
TRACE_ID | Unique ID in Trace | SWFTRACEID | RAW | 16 | SWFTRACEID | ||||
TRC_CMP | Application Component Implementing Its Own Trace Extensions | SWFTRC_CMP | CHAR | 30 | Assigned to domain | SWFTRC_CMP | |||
IS_ACTIVE | 'X' - Trace is Active | 0 | |||||||
IS_INSTANCE | 'X' - Entry Applies for ONE Object, ' ' for Multiple Objects | 0 | |||||||
TRC_LEVEL | Level of Detail Determining Which Trace Entries Are Written | TRC_LEVEL | NUMC | 1 | TRC_LEVEL | ||||
PROPAGATE | 'X' - Also Write Trace for Dependent Objects | 0 | |||||||
LINETYPE | Condition Editor: Type of Line in Internal Display | SWB_LINTYP | CHAR | 1 | SWB_LINTYP | ||||
NOTFLAG | Negation Flag for Condition Evaluation ('NOT') | SWB_NOT | CHAR | 1 | SWB_NOT | ||||
O_BRACK | Number of Open Parentheses | 0 | |||||||
TRC_PCK | Trace: (Software) Package Name | SWFTRC_PCK | CHAR | 30 | Assigned to domain | SWFTRC_PCK | |||
TRC_EVT | Trace: Logical Time/Date Within a Package | SWFTRC_EVT | CHAR | 12 | |||||
TRC_PNT | Trace: Physical Trace Point (Code Reference) | SWFTRC_PNT | CHAR | 12 | CHAR12 | ||||
TRC_PCK1 | Trace: (Software) Package Name | SWFTRC_PCK | CHAR | 30 | Assigned to domain | SWFTRC_PCK | |||
TRC_EVT1 | Trace: Logical Time/Date Within a Package | SWFTRC_EVT | CHAR | 12 | |||||
TRC_PNT1 | Trace: Physical Trace Point (Code Reference) | SWFTRC_PNT | CHAR | 12 | CHAR12 | ||||
TRC_PCK2 | Trace: (Software) Package Name | SWFTRC_PCK | CHAR | 30 | Assigned to domain | SWFTRC_PCK | |||
TRC_EVT2 | Trace: Logical Time/Date Within a Package | SWFTRC_EVT | CHAR | 12 | |||||
TRC_PNT2 | Trace: Physical Trace Point (Code Reference) | SWFTRC_PNT | CHAR | 12 | CHAR12 | ||||
CONTINUED | 'X' - Hierarchy Continued in Next Line | 0 | |||||||
C_BRACK | Number of Closing Parentheses | 0 | |||||||
LOGOP | Logical Operator for Boolean Conditions | SWB_LOGOP | CHAR | 3 | SWB_LOGOP |
Key field | Non-key field |
How do I retrieve data from SAP structure SWFTRCSTAT using ABAP code?
As SWFTRCSTAT is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on SWFTRCSTAT as there is no data to select.How to access SAP table SWFTRCSTAT
Within an ECC or HANA version of SAP you can also view further information about SWFTRCSTAT and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects