SWFTRCHEAD SAP (Trace: Trace Header Data) Structure details
Description: Trace: Trace Header Data
Structure field list including key, data, relationships and ABAP select examples
SWFTRCHEAD 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 "Trace: Trace Header Data" 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_SWFTRCHEAD TYPE SWFTRCHEAD.
The SWFTRCHEAD table consists of various fields, each holding specific information or linking keys about Trace: Trace Header Data data available in SAP. These include TRACE_COMPONENT (Application Component Implementing Its Own Trace Extensions), IS_ACTIVE (Trace active), IS_LOCAL (Trace only visible locally), IS_PATTERN (Trace is a pattern).. 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 SWFTRCHEAD 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 | ||||
TRACE_COMPONENT | Application Component Implementing Its Own Trace Extensions | SWFTRC_CMP | CHAR | 30 | Assigned to domain | SWFTRC_CMP | |||
IS_ACTIVE | Trace active | SWFTRCDSP_ACTIVE | CHAR | 1 | XFLAG | ||||
IS_LOCAL | Trace only visible locally | SWFTRCDSP_LOCAL | CHAR | 1 | XFLAG | ||||
IS_PATTERN | Trace is a pattern | SWFTRCDSP_PATTERN | CHAR | 1 | XFLAG | ||||
PATTERN_MAX | Max. Number of Trace Entries to Be Created from Pattern | 0 | |||||||
PATTERN_COUNT | Number of Trace Entries Already Created | 0 | |||||||
NO_DISPLAY | 'X' - Do Not Display Trace in Catalog | 0 | |||||||
IS_SYSTEM | Trace created by system | SWFTRCDSP_SYSTEM | CHAR | 1 | XFLAG | ||||
TRC_LEVEL | Level of Detail Determining Which Trace Entries Are Written | TRC_LEVEL | NUMC | 1 | TRC_LEVEL | ||||
TRACE_TYPE | Type of Trace (Debug, Performance,...) | SWFTRC_TYP | CHAR | 5 | SWFTRC_TYP | ||||
PROPAGATE | Propagate trace to sub-objects | SWFTRCDSP_PROPAGATE | CHAR | 1 | XFLAG | ||||
PARENT | Unique ID in Trace | SWFTRACEID | RAW | 16 | SWFTRACEID | ||||
VALID_FROM | Earliest Activation Time for Trace | SWFTRCDSP_TSTP | DEC | 15 | TZNTSTMPS | ||||
VALID_TO | Time: End of Trace Validity | SWFTRCDSP_TSTE | DEC | 15 | TZNTSTMPS | ||||
REMOVE_ON | Time: Trace Can Be Deleted | SWFTRCDSP_TSTR | DEC | 15 | TZNTSTMPS | ||||
DESCRIPT | Trace Header: Descriptive Text | SWFTRCHDSC | CHAR | 132 | SWFTRCHDSC | ||||
TEXT | Trace-Catalog-Entry Descriptive Text | SWFTRCDSP_TEXT | STRG | 0 | |||||
CREA_REL | Release at Creation | SWFUTLCREASAPRL | CHAR | 4 | SAPRL | ||||
CREA_TMSTP | Time Created as Time Stamp | SWFUTLCREATST | DEC | 15 | TZNTSTMPS | ||||
CREA_USER | User (Logon Name) at Creation | SWFUTLCREAUSER | CHAR | 12 | SYCHAR12 | ||||
CHG_REL | Last Changed in Release | SWFUTLCHGSAPRL | CHAR | 4 | SAPRL | ||||
CHG_TMSTP | Time of Last Change as Time Stamp | SWFUTLCHGTST | DEC | 15 | TZNTSTMPS | ||||
CHG_USER | Last-Change User (Logon Name) | SWFUTLCHGAUSER | CHAR | 12 | SYCHAR12 | ||||
HIER_FILTER | Unique ID in Trace | SWFTRACEID | RAW | 16 | SWFTRACEID | ||||
APPL_FILTER | Unique ID in Trace | SWFTRACEID | RAW | 16 | SWFTRACEID |
Key field | Non-key field |
How do I retrieve data from SAP structure SWFTRCHEAD using ABAP code?
As SWFTRCHEAD 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 SWFTRCHEAD as there is no data to select.How to access SAP table SWFTRCHEAD
Within an ECC or HANA version of SAP you can also view further information about SWFTRCHEAD 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