RTRIG SAP (Structure of ABAP Trigger Control Block) Structure details
Description: Structure of ABAP Trigger Control Block
Structure field list including key, data, relationships and ABAP select examples
RTRIG 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 "Structure of ABAP Trigger Control Block" 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_RTRIG TYPE RTRIG.
The RTRIG table consists of various fields, each holding specific information or linking keys about Structure of ABAP Trigger Control Block data available in SAP. These include EXTO (External Name), NEXT (Flag for similar subsequent event (0 or 1)), INIO (Offset of Event Initial Value in the Load Table INIT), INIL (Length of Local Data in Initial Record Layout for Procedure).. 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 RTRIG 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 |
CONT | Offset of First Cont CB of Processing Block | 0 | |||||||
EXTO | External Name | 0 | |||||||
NEXT | Flag for similar subsequent event (0 or 1) | 0 | |||||||
INIO | Offset of Event Initial Value in the Load Table INIT | 0 | |||||||
INIL | Length of Local Data in Initial Record Layout for Procedure | 0 | |||||||
PCNT | Number of Data Control Blocks in the DATP Table | 0 | |||||||
HASH | Hash value for the trigger table | 0 | |||||||
NAME | Internal name of event (..., #PBO, #PAI, Fnnn, Cnnn) | ABP_NAME | CHAR | 4 | SYCHAR04 | ||||
FLOCL | Flag for events with local data (SPACE or X) | ABP_FLOCL | CHAR | 1 | SYCHAR01 | ||||
FSYST | Flag for system events (SYEX or TRDIR-RSTAT = 'S') | ABP_FSYST | CHAR | 1 | SYCHAR01 | ||||
FFORM | Flag for FORM or FUNCTION (SPACE or X) | ABP_FFORM | CHAR | 1 | SYCHAR01 | ||||
FUNIT | Flag for FUNCTION (SPACE or X) | ABP_FUNIT | CHAR | 1 | SYCHAR01 | ||||
FMODL | Flag for MODULE (SPACE or X) | ABP_FMODL | CHAR | 1 | SYCHAR01 | ||||
FGLOB | Flag for FUNCTION with global interface (SPACE or X) | ABP_FGLOB | CHAR | 1 | SYCHAR01 | ||||
FRFC | Flag for RFC function or FORM (SPACE or X) | ABP_FRFC | CHAR | 1 | SYCHAR01 | ||||
FSYEX | Flag for event SYSTEM-EXIT (SPACE or X) | ABP_FSYEX | CHAR | 1 | SYCHAR01 | ||||
LBAS | Start of DSEG in Stack Frame | 0 | |||||||
LATT | Start of ATTA in Stack Frame | 0 | |||||||
LDAT | Start of DATTABE_PARAM in Stack Frame | 0 | |||||||
LLOC | Length of Static Part of Stack Frame (Stored in INIT) | 0 | |||||||
BCNT | Number of Local Base Entries (DSEG, ATTA) | 0 | |||||||
FMETH | Flag for METHOD (SPACE or X) | ABP_FMETH | CHAR | 1 | SYCHAR01 | ||||
ENVKIND | Type of Environment (I : Interface or C : Klasse) | 0 | |||||||
ENVID | Index in INTI (ENVKIND = I) or Index in CLAS (ENVKIND = C) | 0 | |||||||
DATLBEG | Index in the Load Table DATL | 0 | |||||||
DATLCNT | Number of Data Control Blocks in the Load Table DATL | 0 | |||||||
SRCHASH | Hash Value of Procedure Source (INCLUDES Will Be Dissolved) | 0 | |||||||
STMTCNT | Number of Statements According to LREF | 0 | |||||||
STMTCNTNET | Number of Statements according to LREF (Net w/o SKIPs) | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure RTRIG using ABAP code?
As RTRIG 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 RTRIG as there is no data to select.How to access SAP table RTRIG
Within an ECC or HANA version of SAP you can also view further information about RTRIG 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