/SAPTRX/AOTREF SAP (Reference between application objects and event handlers) Table details

Dictionary Type: Table
Description: Reference between application objects and event handlers




ABAP Code to SELECT data from /SAPTRX/AOTREF
Related tables to /SAPTRX/AOTREF
Access table /SAPTRX/AOTREF




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

/SAPTRX/AOTREF is a standard SAP Table which is used to store Reference between application objects and event handlers data and is available within R/3 SAP systems depending on the version and release level.

The /SAPTRX/AOTREF table consists of various fields, each holding specific information or linking keys about Reference between application objects and event handlers data available in SAP. These include AOTYPE (Application Object Type), AOID (Application Object), TRK_OBJ_TYPE (Business Process Type), TRXSERVER (Name/ID of Event Manager).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP /SAPTRX/AOTREF table 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
AOTYPEApplication Object Type /SAPTRX/AOTYPECHAR20/SAPTRX/AOTYPE
AOIDApplication Object /SAPTRX/AOIDCHAR50/SAPTRX/AOID
TRK_OBJ_TYPEBusiness Process Type /SAPTRX/TRK_OBJ_TYPECHAR20Assigned to domain/SAPTRX/TRK_OBJ_TYPE
TRXSERVERName/ID of Event Manager /SAPTRX/TRXSERVERNAMECHAR10CHAR10
TRXOBJECTEvent Handler Number for Application Object /SAPTRX/AOTONRCHAR22/SAPTRX/GUID
BUSOBJTYPEObject Type SWO_OBJTYPCHAR10Assigned to domainOJ_NAMEOBJ
BUSOBJKEYKey Value of a Busines Object /SAPTRX/BUSOBJKEYCHAR80CHAR80
MAINTABDEFDDIC Definition /SAPTRX/STRUCDATADEFCHAR30Assigned to domainAS4TAB
MAINTABKEYKey Value of a DB Table (Without Client) /SAPTRX/MAINTABKEYCHAR80CHAR80
POSTSTATUSApplication Object Posting Status /SAPTRX/AOTRKSTATCHAR1/SAPTRX/AOTRKSTAT
AOPOSTACTIONUpdate Indicator /SAPTRX/UPDATE_INDICATORCHAR1/SAPTRX/UPDATE_INDICATOR
TRRELEvent Management Relevant Application Object /SAPTRX/AOTRRELCHAR1XFELD
TRACTApplication Object is Active /SAPTRX/AOTRACTCHAR1/SAPTRX/AOTRACT
TRXCODTracking ID Code Set /SAPTRX/TRXCODCHAR20/SAPTRX/EV_TRXCODTRCKCOD
TRXIDTracking ID /SAPTRX/TRXIDCHAR50/SAPTRX/TRXIDTRCKID
CHGDATEDate of Last Change /SAPTRX/DATE_OF_CHANGEDATS8DATE
CHGTIMETime of Last Change /SAPTRX/TIME_OF_CHANGETIMS6TIME
PROCLOGApplication Log Handling for Overall Process Log /SAPTRX/APPLOGHND_PROCCHAR22SYSUUID_22
BOBJLOGApplication Log Handling for Business Object Log /SAPTRX/APPLOGHND_BOBJCHAR22SYSUUID_22
AOBJLOGApplication Log Handling for Application Object Log /SAPTRX/APPLOGHND_AOBJCHAR22SYSUUID_22

Key field Non-key field



How do I retrieve data from SAP table /SAPTRX/AOTREF using ABAP code

The following ABAP code Example will allow you to do a basic selection on /SAPTRX/AOTREF to SELECT all data from the table
DATA: WA_/SAPTRX/AOTREF TYPE /SAPTRX/AOTREF.

SELECT SINGLE *
FROM /SAPTRX/AOTREF
INTO CORRESPONDING FIELDS OF WA_/SAPTRX/AOTREF
WHERE...

How to access SAP table /SAPTRX/AOTREF

Within an ECC or HANA version of SAP you can also view further information about /SAPTRX/AOTREF 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!