BAPIVTRK_G SAP (Tracking info) Structure details
Description: Tracking info
Structure field list including key, data, relationships and ABAP select examples
BAPIVTRK_G 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 "Tracking info" 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_BAPIVTRK_G TYPE BAPIVTRK_G.
The BAPIVTRK_G table consists of various fields, each holding specific information or linking keys about Tracking info data available in SAP. These include SORT (Not More Closely Defined Area, Possibly Used for Patchlevels), VLABDATA (Express Delivery Company's Data Field), VEMNG (Base Quantity Packed in the Handling Unit Item), VEMEH (Base Unit of Measure of the Quantity to be Packed (VEMNG)).. 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: Not classified
SAP BAPIVTRK_G 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 |
UEVBELN | Higher-level Document | UEVBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
SORT | Not More Closely Defined Area, Possibly Used for Patchlevels | CHAR4 | CHAR | 4 | CHAR4 | ||||
VLABDATA | Express Delivery Company's Data Field | VLABDATA | CHAR | 40 | VLABDATA | ||||
VEMNG | Base Quantity Packed in the Handling Unit Item | VEMNG | QUAN | 15(3) | MENG15 | ||||
VEMEH | Base Unit of Measure of the Quantity to be Packed (VEMNG) | VEMEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
TRKSTATD | Tracking status details | TRKSTATD | CHAR | 4 | Assigned to domain | TRKSTATD | |||
TRKSTAT | Tracking Status | TRKSTAT | CHAR | 1 | TRKSTAT | ||||
TRKTEXT | Significance of tracking status details | TRKTEXT | CHAR | 80 | TEXT80 | ||||
TRACKDATE | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
TRACKTIME | Character field, 8 characters long | CHAR8 | CHAR | 8 | CHAR8 | ||||
TRACKTZNZONE | Time Zone | TZNZONE | CHAR | 6 | Assigned to domain | TZNZONE | |||
XSITD | Express Delivery Company | XSITD | CHAR | 10 | Assigned to domain | XSITD | XSI | XSITD_S | |
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
TRACKLOC | Tracking location | TRACKLOC | CHAR | 50 | TEXT50 | ||||
TRACKTEXT | Description of tracking event | TRACKTEXT | CHAR | 80 | TEXT80 | ||||
TABNAME | Table Name | TABNAME | CHAR | 30 | Assigned to domain | AS4TAB | DTB | ||
VLABTYP | Express Delivery Company's Data Field | VLABTYP | CHAR | 10 | Assigned to domain | VLABTYP | |||
VGBEL | Document number of the reference document | VGBEL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
VGPOS | Item number of the reference item | VGPOS | NUMC | 6 | Assigned to domain | POSNR | |||
LVC_VALUE | ALV Control: Cell Content | LVC_VALUE | CHAR | 128 | TEXT128 | ||||
TREELEVEL | Count parameters | NUMC4 | NUMC | 4 | NUMC4 | ||||
NKEY | ALV Tree Control: Node Key | LVC_NKEY | CHAR | 12 | |||||
RELATKEY | ALV Tree Control: Node Key | LVC_NKEY | CHAR | 12 | |||||
TYPE | Message type: S Success, E Error, W Warning, I Info, A Abort | BAPI_MTYPE | CHAR | 1 | SYCHAR01 | ||||
ID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
NUMBER | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
MESSAGE | Message Text | BAPI_MSG | CHAR | 220 | TEXT220 | ||||
MESSAGE_V1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MESSAGE_V2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MESSAGE_V3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MESSAGE_V4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 |
Key field | Non-key field |
How do I retrieve data from SAP structure BAPIVTRK_G using ABAP code?
As BAPIVTRK_G 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 BAPIVTRK_G as there is no data to select.How to access SAP table BAPIVTRK_G
Within an ECC or HANA version of SAP you can also view further information about BAPIVTRK_G 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