/GBTRV/S_TER_MILEAGE SAP (TER Collection: Trip - Mileage) Structure details
Description: TER Collection: Trip - Mileage
Related tables to /GBTRV/S_TER_MILEAGE
Access table /GBTRV/S_TER_MILEAGE
Structure field list including key, data, relationships and ABAP select examples
/GBTRV/S_TER_MILEAGE 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 "TER Collection: Trip - Mileage" 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_/GBTRV/S_TER_MILEAGE TYPE /GBTRV/S_TER_MILEAGE.
The /GBTRV/S_TER_MILEAGE table consists of various fields, each holding specific information or linking keys about TER Collection: Trip - Mileage data available in SAP. These include EMPLOYEENUMBER (Employee Number), TRIPNUMBER (Trip Number), TRIPCHANGEDAT (Trip Changed at), COMMENT (TER: Mileage comment).. 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 /GBTRV/S_TER_MILEAGE 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 |
MESSAGEGUID | Message GUID | /GBTRV/TER_MESSAGEGUID | CHAR | 32 | CHAR32 | ||||
EMPLOYEENUMBER | Employee Number | /GBTRV/TER_EMPLOYEENUMBER | NUMC | 8 | PERNR | ||||
TRIPNUMBER | Trip Number | /GBTRV/TER_TRIPNUMBER | NUMC | 10 | REINR | ||||
TRIPCHANGEDAT | Trip Changed at | /GBTRV/TER_TRIP_CHANGEDAT | DEC | 15 | TZNTSTMPS | ||||
COMMENT | TER: Mileage comment | /GBTRV/TER_MILE_COMMENT | STRG | 0 | |||||
KEY_MILE | Sequence Number of Miles/Kilometers Distribution | /GBTRV/TER_MILE_KEY_MILE | CHAR | 3 | NRBEL | ||||
MIL_DATE | Date for Miles/Kilometers Traveled | /GBTRV/TER_MILE_MIL_DATE | DATS | 8 | REDAT | ||||
M_TOTAL | Total Miles/Kilometers | /GBTRV/TER_MILE_M_TOTAL | DEC | 5 | KMANZ | ||||
M_DOMEST | Domestic Miles/Kilometers | /GBTRV/TER_MILE_M_DOMEST | DEC | 5 | KMANZ | ||||
LIC_PLAT | License Plate Number | /GBTRV/TER_MILE_LIC_PLAT | CHAR | 10 | CHAR10 | ||||
CAR_MAKE | Vehicle Make (Model) | /GBTRV/TER_MILE_CAR_MAKE | CHAR | 17 | KFZMA | ||||
PASSENGE | Number of Passengers | /GBTRV/TER_MILE_PASSENGE | DEC | 1 | DEC1 | ||||
BAG_WGHT | Weight of Baggage | /GBTRV/TER_MILE_BAG_WGHT | DEC | 3 | KGGEP | ||||
ADD_FLRA | 'X' = Enterprise-Specific Travel Flat Rate | /GBTRV/TER_MILE_ADD_FLRA | CHAR | 1 | BOOLEAN | ||||
VEH_TYPE | Vehicle Type | /GBTRV/TER_MILE_VEH_TYPE | CHAR | 1 | Assigned to domain | KZPMF | |||
VEH_CLAS | Vehicle Class | /GBTRV/TER_MILE_VEH_CLAS | CHAR | 3 | Assigned to domain | PKWKL | |||
COUNTRY | Trip Country / Trip Country Group | /GBTRV/TER_MILE_COUNTRY | CHAR | 3 | Assigned to domain | LNDGR | |||
REGION | Trip Country/Trip Country Group/Trip Region | /GBTRV/TER_MILE_REGION | CHAR | 5 | Assigned to domain | RGION | |||
TT_COMSP | Trip Type: Enterprise-Specific | /GBTRV/TER_MILE_TT_COMSP | CHAR | 1 | Assigned to domain | BEREI | |||
KEY_STOP | Destination Assignment | /GBTRV/TER_MILE_KEY_STOP | CHAR | 2 | KEYZI | ||||
LOC_FROM | Starting Location of Trip Segment | /GBTRV/TER_MILE_LOC_FROM | CHAR | 59 | RZIELORT | ||||
LOC_TO | End Location of a Trip Segment | /GBTRV/TER_MILE_LOC_TO | CHAR | 59 | RZIELORT | ||||
ACTION_ID | Identify a CREATE, DELETE or UPDATE for a trip modification | /GBTRV/TER_ACTION_CONTROL | CHAR | 1 | /GBTRV/TER_ACTION_CONTROL |
Key field | Non-key field |
How do I retrieve data from SAP structure /GBTRV/S_TER_MILEAGE using ABAP code?
As /GBTRV/S_TER_MILEAGE 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 /GBTRV/S_TER_MILEAGE as there is no data to select.How to access SAP table /GBTRV/S_TER_MILEAGE
Within an ECC or HANA version of SAP you can also view further information about /GBTRV/S_TER_MILEAGE 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