PTRV_WEB_MILEAGE_EXT SAP (Legs of Trip for External Display) Structure details

Dictionary Type: Structure
Description: Legs of Trip for External Display




ABAP Code to SELECT data from PTRV_WEB_MILEAGE_EXT
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_MILESequence Number of Miles/Kilometers Distribution KEY_MILECHAR3NRBEL
MIL_DATEDate for Miles/Kilometers Traveled DATKMDATS8REDAT
M_TOTALTotal Miles/Kilometers KMGESDEC5KMANZ
M_DOMESTDomestic Miles/Kilometers KMINLDEC5KMANZ
LIC_PLATLicense Plate Number KFZKZCHAR10CHAR10
CAR_MAKEVehicle Make (Model) KFZMACHAR17KFZMA
PASSENGENumber of Passengers AZMITCHAR1AZMIT
BAG_WGHTWeight of Baggage KGGEPDEC3KGGEP
ADD_FLRAAdditional Travel Flat Rate: Enterprise-Specific BETPACHAR1BETPA
VEH_TYPEVehicle Type KZPMFCHAR1Assigned to domainKZPMF
VEH_CLASVehicle Class PKWKLCHAR3Assigned to domainPKWKL
COUNTRYTrip Country / Trip Country Group LNDGRCHAR3Assigned to domainLNDGR
REGIONTrip Country/Trip Country Group/Trip Region RGIONCHAR5Assigned to domainRGION
LOC_FROMStarting Location of Trip Segment PTRV_LOC_FROMCHAR59RZIELORT
LOC_TOEnd Location of a Trip Segment PTRV_LOC_TOCHAR59RZIELORT
TT_COMSPTrip Type: Enterprise-Specific BEREICHAR1Assigned to domainBEREI
M_ACC_DOMAccumulated Miles/Kilometers at Time of Accounting KMKUMDEC6KMKUM
M_ACC_ABRAccumulated Miles/Kilometers at Time of Accounting KMKUMDEC6KMKUM
ADD_INFOAdditional Information for Corresponding KMVER Table Lines PTRV_PTK10_ADD_INFOCHAR1PTRV_PTK10_ADD_INFO
DISPLAY_ONLYLeg of Trip Can Only Be Displayed MILEAGE_DISPLAY_ONLYCHAR1XFELD
EDITOREditor in Web Structures PTRV_WEB_EDITORSTRG0
COMPUTED_DISTCalculated Distance in Miles/Kilometers COMPUTED_DISTDEC5KMANZ
ROUND_TRIPRound Trip ROUND_TRIPCHAR1XFELD
CONSUMPTION_TYPETesting Procedure of Fuel Consumption/Fuel Economy Rating PTRV_CAR_CONSUMPTION_TYPECHAR1PTRV_CAR_CONSUMPTION_TYPE
FUEL_RCPT_EXISTAutomatically Determine Fuel Price PTRV_FUEL_RCPT_EXISTCHAR1XFELD
FUEL_PRICEFuel Price PTRV_FUEL_PRICECURR10(2) PTRV_FUEL_PRICE
FUEL_PRICE_CURRCurrency Key WAERSCUKY5TCURCWAERSFWS
.INCLU-AD1 0
ADRNRAD1Address number AD_ADDRNUMCHAR10Assigned to domainALPHAAD_ADDRNUMADR
CITYAD1City AD_CITY1CHAR40TEXT40CLCITYNAME
CITY_DISTRICTAD1District AD_CITY2CHAR40TEXT40CITY_PART
POST_CODEAD1City postal code AD_PSTCD1CHAR10CHAR10
CITY_CODEAD1City code for city/street file AD_CITYNUMCHAR12Assigned to domainALPHACITY_CODE
STREETAD1Street AD_STREETCHAR60TEXT60CLSTRTNAME
HOUSE_NUMAD1House Number AD_HSNM1CHAR10TEXT10
COUNTRYAD1Country Key LAND1CHAR3Assigned to domainLAND1LND
REGIONAD1STATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
.INCLU-AD2 0
ADRNRAD2Address number AD_ADDRNUMCHAR10Assigned to domainALPHAAD_ADDRNUMADR
CITYAD2City AD_CITY1CHAR40TEXT40CLCITYNAME
CITY_DISTRICTAD2District AD_CITY2CHAR40TEXT40CITY_PART
POST_CODEAD2City postal code AD_PSTCD1CHAR10CHAR10
CITY_CODEAD2City code for city/street file AD_CITYNUMCHAR12Assigned to domainALPHACITY_CODE
STREETAD2Street AD_STREETCHAR60TEXT60CLSTRTNAME
HOUSE_NUMAD2House Number AD_HSNM1CHAR10TEXT10
COUNTRYAD2Country Key LAND1CHAR3Assigned to domainLAND1LND
REGIONAD2STATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
VEH_TYPE_NAMEName for Vehicle Type TEXT_KZPMFCHAR30REITX
VEH_CLAS_NAMEName for vehicle class TEXT_PKWKLCHAR25TRV25
COUNTRY_REGION_NAMEName of Trip Country/Country Group/Region TEXT_RGIONCHAR25TRV25
TT_COMSP_NAMEName for enterprise-specific trip type TEXT_BEREICHAR25TRV25
KEY_STOP_NAMELong Text LTEXTCHAR40TEXT40

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 as

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


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!