TXW_PTRV_HEAD SAP (General Trip Data) Structure details
Description: General Trip Data
Related tables to TXW_PTRV_HEAD
Access table TXW_PTRV_HEAD
Structure field list including key, data, relationships and ABAP select examples
TXW_PTRV_HEAD 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 "General Trip Data" 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_PTRV_HEAD TYPE TXW_PTRV_HEAD.
The TXW_PTRV_HEAD table consists of various fields, each holding specific information or linking keys about General Trip Data data available in SAP. These include PERNR (Personnel Number), REINR (Trip number), HDVRS (Sequential Number of Travel Expenses Table THEADER), MOLGA (Country Grouping).. 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_PTRV_HEAD 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 | ||||
HDVRS | Sequential Number of Travel Expenses Table THEADER | TXW_PTRV_HDVRS | NUMC | 2 | NUMC2 | ||||
MOLGA | Country Grouping | TXW_PTRV_MOLGA | CHAR | 2 | CHAR2 | MOL | |||
MOREI | Trip provision variant | TXW_MOREI | CHAR | 2 | Assigned to domain | TXW_MOREI | |||
SCHEM | Trip schema | TXW_PT_RSCHE | CHAR | 2 | CHAR2 | ||||
KZREA | Trip Type: Statutory | TXW_PT_KZREA | CHAR | 1 | CHAR1 | ||||
BEREI | Trip type: Enterprise-specific | TXW_PT_BEREI | CHAR | 1 | CHAR1 | ||||
KZTKT | Trip Activity Type | TXW_PT_KZTKT | CHAR | 1 | CHAR1 | ||||
ZORT1 | Destination | TXW_PT_RZIELORT | CHAR | 59 | CHAR59 | ||||
ZLAND | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
HRGIO | Region of Main Destination | TXW_PT_HRGIO | CHAR | 5 | CHAR5 | ||||
NDNST | Name of New Workplace (P.S.) | TXW_PTRV_NDNST | CHAR | 25 | CHAR25 | ||||
KUNDE | Reason for Trip (for example, customer/requisitioner) | TXW_PT_RKUNDE | CHAR | 59 | CHAR59 | ||||
DATV1 | Part of trip: Beginning date | TXW_PT_BEGIN | DATS | 8 | DATS | ||||
UHRV1 | Trip segment: Beginning time | TXW_PT_BEGTIME | TIMS | 6 | TIME | ||||
DATB1 | Fictitious End of Trip (Comparision Calculation) | TXW_PT_REEND | DATS | 8 | DATS | ||||
UHRB1 | Trip segment: End time | TXW_PT_ENDTIME | TIMS | 6 | TIME | ||||
DATH1 | Border Crossing (Trip Out): Date | TXW_PT_DATGH | DATS | 8 | DATS | ||||
UHRH1 | Time: Border crossing(trip out) | TXW_PT_UHRGH | TIMS | 6 | TIMES | ||||
DATR1 | Border Crossing (Return Trip): Date | TXW_PT_DATGZ | DATS | 8 | DATS | ||||
UHRR1 | Time: Border crossing(return trip) | TXW_PT_UHRGZ | TIMS | 6 | TIMES | ||||
AGRZ1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
GRGIO | Region of Border Crossing: Return Trip | TXW_PT_GRGIO | CHAR | 5 | CHAR5 | ||||
GRBER | Border crossing: Trip type enterprise-specific | TXW_PTRV_GRBER | CHAR | 1 | CHAR1 | ||||
UZKVG | Confirmation of Moving Costs Refund | TXW_PTRV_UZKVG | CHAR | 1 | CHAR1 | ||||
ZUSAG | Admin. Office That Confirmed Moving Costs Compensation (PS) | TXW_PTRV_ZUSAG | CHAR | 25 | CHAR25 | ||||
ENDRG | Different End of Travel Allowance (in Separation Allowance) | TXW_PTRV_ENDRG | DATS | 8 | DATS | ||||
DEPAR | Departure from Residence or Place of Work | TXW_PTRV_DEPAR | CHAR | 1 | CHAR1 | ||||
ARRVL | Arrival at Accommodations/New Place of Work | TXW_PTRV_ARRVL | CHAR | 1 | CHAR1 | ||||
RETRN | Return to Residence/Workplace | TXW_PTRV_RETRN | CHAR | 1 | CHAR1 | ||||
DATES | Creation date of the change document | CDDATUM | DATS | 8 | DATUM | ||||
TIMES | Time changed | CDUZEIT | TIMS | 6 | UZEIT | ||||
UNAME | User Name | UNAME | CHAR | 12 | UNAME | ||||
REPID | Reportname | TXW_REPID | CHAR | 40 | CHAR40 | ||||
DANTN | Trip Number of Corresponding Trip to Start Work | TXW_PTRV_DANTN | NUMC | 10 | NUMC10 | ||||
FINTN | Trip Number of Associated Business Trip Return | TXW_PTRV_FINTN | NUMC | 10 | NUMC10 | ||||
REQUEST | Indicator for objects request, plan and expense report | TXW_PTRV_OBJEKT | CHAR | 1 | CHAR1 | ||||
TRAVEL_PLAN | Indicator for objects request, plan and expense report | TXW_PTRV_OBJEKT | CHAR | 1 | CHAR1 | ||||
EXPENSES | Indicator for objects request, plan and expense report | TXW_PTRV_OBJEKT | CHAR | 1 | CHAR1 | ||||
ST_TRGTG | Start of Taxation for Per Diem Separation Allowance | TXW_PS_ST_TRGTG | DATS | 8 | REDAT | ||||
ST_TRGALL | Start of Taxation for Complete Separation Allowance | TXW_PS_ST_TRGALL | DATS | 8 | REDAT | ||||
PERIODENART | Associated Trip Period Types | TXW_PS_PERIODENART | CHAR | 1 | CHAR1 | ||||
DAT_REDUC1 | Reduction of Entire Separation or Travel Allowance Level 1 | TXW_PS_DAT_REDUC1 | DATS | 8 | REDAT | ||||
DAT_REDUC2 | Reduction of Separation or Travel Allowance Level 2 | TXW_PS_DAT_REDUC2 | DATS | 8 | REDAT | ||||
DATV1_DIENST | Date on Which Work Commences | TXW_PS_DATV1_DIENST | DATS | 8 | REDAT | ||||
UHRV1_DIENST | Time at Which Work Commences | TXW_PS_UHRV1_DIENST | TIMS | 6 | REUHR | ||||
DATB1_DIENST | Date on Which Work Ends | TXW_PS_DATB1_DIENST | DATS | 8 | REDAT | ||||
UHRB1_DIENST | Time at Which Work Ends | TXW_PS_UHRB1_DIENST | TIMS | 6 | REUHR | ||||
ABORDNUNG | Associated Superior Separation Allowance | TXW_PS_ABORD | NUMC | 10 | REINR |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_PTRV_HEAD using ABAP code?
As TXW_PTRV_HEAD 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_PTRV_HEAD as there is no data to select.How to access SAP table TXW_PTRV_HEAD
Within an ECC or HANA version of SAP you can also view further information about TXW_PTRV_HEAD 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