PTRV_WEB_MILEAGE_EXT SAP (Legs of Trip for External Display) Structure details
Description: Legs of Trip for External Display
Related tables to PTRV_WEB_MILEAGE_EXT
Access table PTRV_WEB_MILEAGE_EXT
Structure field list including key, data, relationships and ABAP select examples
PTRV_WEB_MILEAGE_EXT 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 "Legs of Trip for External Display" 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_WEB_MILEAGE_EXT TYPE PTRV_WEB_MILEAGE_EXT.
The PTRV_WEB_MILEAGE_EXT table consists of various fields, each holding specific information or linking keys about Legs of Trip for External Display data available in SAP. These include KEY_MILE (Sequence Number of Miles/Kilometers Distribution), MIL_DATE (Date for Miles/Kilometers Traveled), M_TOTAL (Total Miles/Kilometers), M_DOMEST (Domestic Miles/Kilometers).. 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 PTRV_WEB_MILEAGE_EXT 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 |
KEY_MILE | Sequence Number of Miles/Kilometers Distribution | KEY_MILE | CHAR | 3 | NRBEL | ||||
MIL_DATE | Date for Miles/Kilometers Traveled | DATKM | DATS | 8 | REDAT | ||||
M_TOTAL | Total Miles/Kilometers | KMGES | DEC | 5 | KMANZ | ||||
M_DOMEST | Domestic Miles/Kilometers | KMINL | DEC | 5 | KMANZ | ||||
LIC_PLAT | License Plate Number | KFZKZ | CHAR | 10 | CHAR10 | ||||
CAR_MAKE | Vehicle Make (Model) | KFZMA | CHAR | 17 | KFZMA | ||||
PASSENGE | Number of Passengers | AZMIT | CHAR | 1 | AZMIT | ||||
BAG_WGHT | Weight of Baggage | KGGEP | DEC | 3 | KGGEP | ||||
ADD_FLRA | Additional Travel Flat Rate: Enterprise-Specific | BETPA | CHAR | 1 | BETPA | ||||
VEH_TYPE | Vehicle Type | KZPMF | CHAR | 1 | Assigned to domain | KZPMF | |||
VEH_CLAS | Vehicle Class | PKWKL | CHAR | 3 | Assigned to domain | PKWKL | |||
COUNTRY | Trip Country / Trip Country Group | LNDGR | CHAR | 3 | Assigned to domain | LNDGR | |||
REGION | Trip Country/Trip Country Group/Trip Region | RGION | CHAR | 5 | Assigned to domain | RGION | |||
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 | ||||
TT_COMSP | Trip Type: Enterprise-Specific | BEREI | CHAR | 1 | Assigned to domain | BEREI | |||
M_ACC_DOM | Accumulated Miles/Kilometers at Time of Accounting | KMKUM | DEC | 6 | KMKUM | ||||
M_ACC_ABR | Accumulated Miles/Kilometers at Time of Accounting | KMKUM | DEC | 6 | KMKUM | ||||
ADD_INFO | Additional Information for Corresponding KMVER Table Lines | PTRV_PTK10_ADD_INFO | CHAR | 1 | PTRV_PTK10_ADD_INFO | ||||
DISPLAY_ONLY | Leg of Trip Can Only Be Displayed | MILEAGE_DISPLAY_ONLY | CHAR | 1 | XFELD | ||||
EDITOR | Editor in Web Structures | PTRV_WEB_EDITOR | STRG | 0 | |||||
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 | |||
VEH_TYPE_NAME | Name for Vehicle Type | TEXT_KZPMF | CHAR | 30 | REITX | ||||
VEH_CLAS_NAME | Name for vehicle class | TEXT_PKWKL | CHAR | 25 | TRV25 | ||||
COUNTRY_REGION_NAME | Name of Trip Country/Country Group/Region | TEXT_RGION | CHAR | 25 | TRV25 | ||||
TT_COMSP_NAME | Name for enterprise-specific trip type | TEXT_BEREI | CHAR | 25 | TRV25 | ||||
KEY_STOP_NAME | Long Text | LTEXT | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure PTRV_WEB_MILEAGE_EXT using ABAP code?
As PTRV_WEB_MILEAGE_EXT 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_WEB_MILEAGE_EXT as there is no data to select.How to access SAP table PTRV_WEB_MILEAGE_EXT
Within an ECC or HANA version of SAP you can also view further information about PTRV_WEB_MILEAGE_EXT 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