SBRF_TRACE SAP (BRF: For Debug and Trace) Structure details

Dictionary Type: Structure
Description: BRF: For Debug and Trace




ABAP Code to SELECT data from SBRF_TRACE
Related tables to SBRF_TRACE
Access table SBRF_TRACE




Structure field list including key, data, relationships and ABAP select examples

SBRF_TRACE 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 "BRF: For Debug and Trace" 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_SBRF_TRACE TYPE SBRF_TRACE.

The SBRF_TRACE table consists of various fields, each holding specific information or linking keys about BRF: For Debug and Trace data available in SAP. These include PARENT_TRACE_ID (Parent Trace ID), STACK_LEVEL (Trace Hierarchy Depth), CONTROLLER_ID (Active Controller), EVENT_ID (Active Event).. 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: Can Be Enhanced (Deep)


SAP SBRF_TRACE 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_IDTrace ID BRF_TRACE_IDINT410BRF_TRACE_ID
PARENT_TRACE_IDParent Trace ID BRF_PARENT_TRACE_IDINT410BRF_TRACE_ID
STACK_LEVELTrace Hierarchy Depth BRF_STACK_LEVELINT410BRF_STACK_LEVEL
CONTROLLER_IDActive Controller BRF_CONTROLLER_IDINT410BRF_CONTROLLER_ID
EVENT_IDActive Event BRF_EVENT_IDINT410BRF_CONTROLLER_ID
ICONBRF: Icon/Symbol BRF_ICONCHAR4Assigned to domainICON
CATEGORYType of Implementing Class BRF_CLASS_CATEGORYCHAR1BRF_CLASS_CATEGORY
CATEGORY_LTXTBRF: Type of Implementing Class (Long Text) BRF_CLASS_CATEGORY_LTXTCHAR25
IDDeputy for BRF Objects (Like Events) BRF_OBJECTCHAR20BRF_OBJECT
APPLCLASSBRF: Application Class BRF_APPLCLASSCHAR30Assigned to domainBRF_APPLCLASSBRF_APPLCLASS
SUBEVENTSubevent (Sequence Number) BRF_SUBEVENTCHAR4BRF_SUBEVENT
FUNCTIONFunction BRF_FUNCTIONCHAR30BRF_FUNCTION
UNDOUndo-Action BRF_UNDOCHAR1BRF_BOOLE_D
XPREPAREBRF: Prepare Method BRF_XPREPARECHAR1BRF_BOOLE_D
XPROCESSProcess Method BRF_XPROCESSCHAR1BRF_BOOLE_D
XFROM_BUFFERData Procured from Buffer BRF_XFROM_BUFFERCHAR1BRF_BOOLE_D
RUNTIME_STARTStart Time BRF_RUNTIME_STARTINT410BRF_RUNTIME
RUNTIME_STOPEnd Time BRF_RUNTIME_STOPINT410BRF_RUNTIME
RUNTIMERuntime BRF_RUNTIMEINT410BRF_RUNTIME
START_ATTrace Start Time (UTC Time Stamp) BRF_START_ATDEC15TZNTSTMPS
STOP_ATTrace Stop Time (UTC Time Stamp) BRF_STOP_ATDEC15TZNTSTMPS
RESULT_TYPEBRF: Result Type BRF_RESULT_TYPECHAR1BRF_RESULT_TYPE
RESULT_TYPE_LTXTBRF: Result Category (Long Text) BRF_RESULT_TYPE_LTXTCHAR25
RESULT_VALUEResult BRF_RESULT_VALUECHAR50SYCHAR50
RESULT_CURRCurrency Key BRF_CURRENCYCUKY5Assigned to domainWAERS
SHORTBRF: General Short Text BRF_SHORT_TEXTCHAR80BRF_SHORT_TEXT
NODE_IDALV Tree Control: Node Key LVC_NKEYCHAR12
CLASS_NAMEObject Type Name SEOCLSNAMECHAR30SEOCLSNAMECLASS
BUFFER_STATUSBuffer Status BRF_BUFFER_STATUSINT13BRF_TRACE_BUFFER_STATUS
MSGIDMessage Class SYMSGIDCHAR20Assigned to domainARBGB
MSGNOMessage Number SYMSGNONUMC3SYMSGNO
MSGTYMessage Type SYMSGTYCHAR1SYCHAR01
MSGV1Message Variable SYMSGVCHAR50SYCHAR50
MSGV2Message Variable SYMSGVCHAR50SYCHAR50
MSGV3Message Variable SYMSGVCHAR50SYCHAR50
MSGV4Message Variable SYMSGVCHAR50SYCHAR50
MSGTXTComplete Message Text BRF_MSG_TEXTCHAR255BRF_MSG_TEXT
RESULT_VALUE_STRResult BRF_RESULT_VALUE_STSTRG0BRF_STRING

Key field Non-key field



How do I retrieve data from SAP structure SBRF_TRACE using ABAP code?

As SBRF_TRACE 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 SBRF_TRACE as there is no data to select.

How to access SAP table SBRF_TRACE

Within an ECC or HANA version of SAP you can also view further information about SBRF_TRACE and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!