TXW_KMVER SAP (Leg of trip) Structure details
Description: Leg of trip
Structure field list including key, data, relationships and ABAP select examples
TXW_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_TXW_KMVER TYPE TXW_KMVER.
The TXW_KMVER table consists of various fields, each holding specific information or linking keys about Leg of trip data available in SAP. These include PERNR (Personnel Number), REINR (Trip number), PERIO (Period), PDVRS (Sequential number of period).. 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 TXW_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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
PERNR | Personnel Number | TXW_PERNR_D | NUMC | 8 | PERNR | PER | |||
REINR | Trip number | TXW_REINR | NUMC | 10 | REINR | ||||
PERIO | Period | PERIODE | NUMC | 3 | NUM3 | GFP | |||
PDVRS | Sequential number of period | TXW_PDVRS | NUMC | 2 | NUMC2 | ||||
DATUM | Date for miles/kms covered | TXW_PT_DATUM | DATS | 8 | DATS | ||||
KMGES | Total miles/kms | TXW_PT_KMGES | CHAR | 6 | CHAR6 | ||||
KMINL | Domestic miles/kms | TXW_PT_KMINL | CHAR | 6 | CHAR6 | ||||
KFZKZ | License plate number | TXW_PT_KFZKZ | CHAR | 10 | CHAR10 | ||||
KFZMA | Vehicle make (type) | TXW_PT_KFZMA | CHAR | 17 | CHAR17 | ||||
AZMIT | Number of passengers | TXW_PT_AZMIT | CHAR | 1 | CHAR1 | ||||
KGGEP | Weight of baggage | TXW_PT_KGGEP | CHAR | 3 | CHAR3 | ||||
BETPA | Additional travel flat rate: enterprise-specific | TXW_PT_BETPA | CHAR | 1 | CHAR1 | ||||
KZPMF | Vehicle type | TXW_PT_KZPMF | CHAR | 1 | CHAR1 | ||||
BEREI | Trip type: Enterprise-specific | TXW_PT_BEREI | CHAR | 1 | CHAR1 | ||||
LAND1 | Trip country / trip country group | TXW_PT_LAND1 | CHAR | 3 | CHAR3 | ||||
PKWKL | Vehicle class | TXW_PT_PKWKL | CHAR | 3 | CHAR3 | ||||
RGION | Trip country/trip country group/trip region | TXW_PT_RGION | CHAR | 5 | CHAR5 | ||||
KMVNR | Sequential number for ms/kms traveled | TXW_PT_KMVNR | CHAR | 3 | CHAR3 | ||||
INLKM | Accumulated miles/kms at time of accounting | TXW_PT_MILES | CHAR | 7 | CHAR7 | ||||
AUSKM | Accumulated miles/kms at time of accounting | TXW_PT_MILES | CHAR | 7 | CHAR7 | ||||
LOC_FROM | Starting Location of Trip Segment | TXW_PT_LFROM | CHAR | 59 | CHAR59 | ||||
LOC_TO | End Location of a Trip Segment | TXW_PT_LOCTO | CHAR | 59 | CHAR59 | ||||
ADD_INFO | Additional Information for Corresponding KMVER Table Lines | TXW_PT_ADDI | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_KMVER using ABAP code?
As TXW_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 TXW_KMVER as there is no data to select.How to access SAP table TXW_KMVER
Within an ECC or HANA version of SAP you can also view further information about TXW_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