PTRV_UTIL_KMVER SAP (Leg of Trip) Structure details
Description: Leg of Trip
Related tables to PTRV_UTIL_KMVER
Access table PTRV_UTIL_KMVER
Structure field list including key, data, relationships and ABAP select examples
PTRV_UTIL_KMVER 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 "Leg of Trip" 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_PTRV_UTIL_KMVER TYPE PTRV_UTIL_KMVER.
The PTRV_UTIL_KMVER table consists of various fields, each holding specific information or linking keys about Leg of Trip data available in SAP. These include DATUM (Date for Miles/Kilometers Traveled), KMGES (Total Miles/Kilometers), KMINL (Domestic Miles/Kilometers), KFZKZ (License Plate Number).. 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 (character-type or numeric)
SAP PTRV_UTIL_KMVER 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 |
DISPLAY_ONLY | Leg of Trip Can Only Be Displayed | MILEAGE_DISPLAY_ONLY | CHAR | 1 | XFELD | ||||
DATUM | Date for Miles/Kilometers Traveled | DATKM | DATS | 8 | REDAT | ||||
KMGES | Total Miles/Kilometers | KMGES | DEC | 5 | KMANZ | ||||
KMINL | Domestic Miles/Kilometers | KMINL | DEC | 5 | KMANZ | ||||
KFZKZ | License Plate Number | KFZKZ | CHAR | 10 | CHAR10 | ||||
KFZMA | Vehicle Make (Model) | KFZMA | CHAR | 17 | KFZMA | ||||
AZMIT | Number of Passengers | AZMIT | CHAR | 1 | AZMIT | ||||
KGGEP | Weight of Baggage | KGGEP | DEC | 3 | KGGEP | ||||
BETPA | Additional Travel Flat Rate: Enterprise-Specific | BETPA | CHAR | 1 | BETPA | ||||
KZPMF | Vehicle Type | KZPMF | CHAR | 1 | T702E | KZPMF | |||
BEREI | Trip Type: Enterprise-Specific | BEREI | CHAR | 1 | T702X | BEREI | |||
LAND1 | Trip Country / Trip Country Group | LNDGR | CHAR | 3 | T702O | LNDGR | |||
PKWKL | Vehicle Class | PKWKL | CHAR | 3 | T702W | PKWKL | |||
RGION | Trip Country/Trip Country Group/Trip Region | RGION | CHAR | 5 | T702O | RGION | |||
KMVNR | Sequence Number for Miles/Kilometers Traveled | NRKMV | CHAR | 3 | NRBEL | ||||
INLKM | Accumulated Miles/Kilometers at Time of Accounting | KMKUM | DEC | 6 | KMKUM | ||||
AUSKM | Accumulated Miles/Kilometers at Time of Accounting | KMKUM | DEC | 6 | KMKUM | ||||
LOC_FROM | Starting Location of Trip Segment | PTRV_LOC_FROM | CHAR | 59 | RZIELORT | ||||
LOC_TO | End Location of a Trip Segment | PTRV_LOC_TO | CHAR | 59 | RZIELORT | ||||
.INCLU--AP | 0 | ||||||||
ADD_INFO | Additional Information for Corresponding KMVER Table Lines | PTRV_PTK10_ADD_INFO | CHAR | 1 | PTRV_PTK10_ADD_INFO | ||||
COMPUTED_DIST | Calculated Distance in Miles/Kilometers | COMPUTED_DIST | DEC | 5 | KMANZ | ||||
ROUND_TRIP | Round Trip | ROUND_TRIP | CHAR | 1 | XFELD | ||||
CONSUMPTION_TYPE | Testing Procedure of Fuel Consumption/Fuel Economy Rating | PTRV_CAR_CONSUMPTION_TYPE | CHAR | 1 | PTRV_CAR_CONSUMPTION_TYPE | ||||
FUEL_RCPT_EXIST | Automatically Determine Fuel Price | PTRV_FUEL_RCPT_EXIST | CHAR | 1 | XFELD | ||||
FUEL_PRICE | Fuel Price | PTRV_FUEL_PRICE | CURR | 10(2) | PTRV_FUEL_PRICE | ||||
FUEL_PRICE_CURR | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
.INCLU-AD1 | 0 | ||||||||
ADRNRAD1 | Address number | AD_ADDRNUM | CHAR | 10 | Assigned to domain | ALPHA | AD_ADDRNUM | ADR | |
CITYAD1 | City | AD_CITY1 | CHAR | 40 | TEXT40 | CLCITYNAME | |||
CITY_DISTRICTAD1 | District | AD_CITY2 | CHAR | 40 | TEXT40 | CITY_PART | |||
POST_CODEAD1 | City postal code | AD_PSTCD1 | CHAR | 10 | CHAR10 | ||||
CITY_CODEAD1 | City code for city/street file | AD_CITYNUM | CHAR | 12 | Assigned to domain | ALPHA | CITY_CODE | ||
STREETAD1 | Street | AD_STREET | CHAR | 60 | TEXT60 | CLSTRTNAME | |||
HOUSE_NUMAD1 | House Number | AD_HSNM1 | CHAR | 10 | TEXT10 | ||||
COUNTRYAD1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
REGIONAD1 | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
.INCLU-AD2 | 0 | ||||||||
ADRNRAD2 | Address number | AD_ADDRNUM | CHAR | 10 | Assigned to domain | ALPHA | AD_ADDRNUM | ADR | |
CITYAD2 | City | AD_CITY1 | CHAR | 40 | TEXT40 | CLCITYNAME | |||
CITY_DISTRICTAD2 | District | AD_CITY2 | CHAR | 40 | TEXT40 | CITY_PART | |||
POST_CODEAD2 | City postal code | AD_PSTCD1 | CHAR | 10 | CHAR10 | ||||
CITY_CODEAD2 | City code for city/street file | AD_CITYNUM | CHAR | 12 | Assigned to domain | ALPHA | CITY_CODE | ||
STREETAD2 | Street | AD_STREET | CHAR | 60 | TEXT60 | CLSTRTNAME | |||
HOUSE_NUMAD2 | House Number | AD_HSNM1 | CHAR | 10 | TEXT10 | ||||
COUNTRYAD2 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
REGIONAD2 | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO |
Key field | Non-key field |
How do I retrieve data from SAP structure PTRV_UTIL_KMVER using ABAP code?
As PTRV_UTIL_KMVER 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 PTRV_UTIL_KMVER as there is no data to select.How to access SAP table PTRV_UTIL_KMVER
Within an ECC or HANA version of SAP you can also view further information about PTRV_UTIL_KMVER 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