SAP BAPITRACKINGHEADER Bapi for message input: message Header Table data and field list

BAPITRACKINGHEADER 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 "Bapi for message input: message Header" 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_BAPITRACKINGHEADER TYPE BAPITRACKINGHEADER.

The BAPITRACKINGHEADER table consists of various fields, each holding specific information or linking keys about Bapi for message input: message Header data available in SAP. These include EVTCOD (External Event Code Set), EVTID (External Event Code ID), TRXCOD (Tracking ID Code Set), TRXID (Tracking ID)... 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. .

BAPITRACKINGHEADER structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP BAPITRACKINGHEADER structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the BAPITRACKINGHEADER table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
EVTCNTCounter for Event /SAPTRX/EVTCNTNUMC10NUM10
EVTCODExternal Event Code Set /SAPTRX/EV_EVTCODCHAR20/SAPTRX/EV_EVTCOD
EVTIDExternal Event Code ID /SAPTRX/EV_EVTIDCHAR50/SAPTRX/EV_EVTID
TRXCODTracking ID Code Set /SAPTRX/TRXCODCHAR20/SAPTRX/EV_TRXCODTRCKCOD
TRXIDTracking ID /SAPTRX/TRXIDCHAR50/SAPTRX/TRXIDTRCKID
TIPCODCode Set for Tracking ID Provider /SAPTRX/EV_TIPCODCHAR20/SAPTRX/EV_PARCODTIPCOD
TIPIDCode ID for Tracking ID Provider /SAPTRX/EV_TIPIDCHAR50/SAPTRX/EV_PARIDTIPID
TIPNAMName for Tracking ID Provider /SAPTRX/EV_TIPNAMCHAR50/SAPTRX/TEXT50
PHYSTPPhysical Sender Type /SAPTRX/EV_SNDTYPCHAR2EDI_PARTYP
PHYSNDEM Sender Logical System /SAPTRX/EV_LOGSYSCHAR10Assigned to domainALPHALOGSYS
SNDCODSender Code Set /SAPTRX/EV_SNDCODCHAR20/SAPTRX/EV_PARCOD
SNDIDSender Code ID /SAPTRX/EV_SNDIDCHAR50/SAPTRX/EV_PARID
SNDNAMSender Name /SAPTRX/EV_SNDNAMCHAR50/SAPTRX/TEXT50
RCVCODRecipient Code Set /SAPTRX/EV_RCVCODCHAR20/SAPTRX/EV_PARCOD
RCVIDRecipient Code ID /SAPTRX/EV_RCVIDCHAR50/SAPTRX/EV_PARID
RCVNAMRecipient Name /SAPTRX/EV_RCVNAMCHAR50/SAPTRX/TEXT50
REPCODReporting Partner Code Set /SAPTRX/EV_REPCODCHAR20/SAPTRX/EV_PARCOD
REPIDReporting Partner Code ID /SAPTRX/EV_REPIDCHAR50/SAPTRX/EV_PARID
REPNAMName of Reporting Partner /SAPTRX/EV_REPNAMCHAR50/SAPTRX/TEXT50
EVTDATEvent Date /SAPTRX/EV_EVTDATDATS8DATE
EVTTIMEvent Time /SAPTRX/EV_EVTTIMTIMS6TIME
EVTZONTime Zone for Event Time Stamp /SAPTRX/EV_EVTZONCHAR6Assigned to domainTZNZONE
EVTTSTUTC Time Stamp for Event /SAPTRX/EV_EVTTSTNUMC15TSTPSTZNTSTMPSL
REPDATEvent Message Transmission Date /SAPTRX/EV_REPDATDATS8DATE
REPTIMEvent Message Transmission Time /SAPTRX/EV_REPTIMTIMS6TIME
REPZONEvent Message Transmission Time Zone /SAPTRX/EV_REPZONCHAR6Assigned to domainTZNZONE
REPTSTUTC Time Stamp for Transmission /SAPTRX/EV_REPTSTNUMC15TSTPSTZNTSTMPSL
PRCTSTProcessing Time Stamp /SAPTRX/EV_PRCTSTNUMC15TSTPSTZNTSTMPSL
LODSTSLoading Status /SAPTRX/EV_LODSTSCHAR1/SAPTRX/EV_LODSTS
PRODDSProduct Description /SAPTRX/EV_PRODDSCHAR4CHAR4
PRODDTProduct Description Text /SAPTRX/EV_PRODDTCHAR35CHAR35
SRCCODEvent Reason Code Set /SAPTRX/EV_SRCCODCHAR20/SAPTRX/EV_SRCCOD
SRCIDEvent Reason Code ID /SAPTRX/EV_SRCIDCHAR50/SAPTRX/EV_SRCID
SRCTXEvent Reason Text /SAPTRX/EV_SRCTXCHAR100/SAPTRX/TEXT100
MSGMODType of Message Creation /SAPTRX/EV_MSGMODCHAR1/SAPTRX/EV_MSGMOD
IDOCIDIDoc number EDI_DOCNC3CHAR16CHAR16
MSGNUMSender Event Message Number /SAPTRX/EV_MSGNUMCHAR50/SAPTRX/EV_MSGNUM
MSGSRCTYPEvent Message Source Type /SAPTRX/EV_SRCTYPCHAR1/SAPTRX/EV_SRCTYP

Key field Non-key field



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

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

How to access SAP table BAPITRACKINGHEADER

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

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