PTRV_HEAD SAP (General Trip Data) Table details
Dictionary Type: Table
Description: General Trip Data
Description: General Trip Data
Table field list including key, data, relationships and ABAP select examples
PTRV_HEAD is a standard SAP Table which is used to store General Trip Data data and is available within R/3 SAP systems depending on the version and release level.
The PTRV_HEAD table consists of various fields, each holding specific information or linking keys about General Trip Data data available in SAP. These include MANDT (Client), PERNR (Personnel Number), REINR (Trip Number), HDVRS (Sequential Number of Travel Expenses Table THEADER).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP PTRV_HEAD table 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 | PERNR_D | NUMC | 8 | PERNR | PER | |||
REINR | Trip Number | REINR | NUMC | 10 | REINR | ||||
HDVRS | Sequential Number of Travel Expenses Table THEADER | PTRV_HDVRS | NUMC | 2 | PTRVNUMC2 | ||||
MOLGA | Country Grouping | MOLGA | CHAR | 2 | T500L | MOLGA | MOL | ||
MOREI | Trip Provision Variant | MOREI | CHAR | 2 | T702N | MOREI | MOR | ||
SCHEM | Trip schema | RSCHE | CHAR | 2 | T706S | RSCHE | |||
KZREA | Trip Type: Statutory | KZREA | CHAR | 1 | T702G | KZREA | |||
BEREI | Trip Type: Enterprise-Specific | BEREI | CHAR | 1 | T702X | BEREI | |||
KZTKT | Trip Activity Type | KZTKT | CHAR | 1 | T702R | KZTKT | |||
ZORT1 | Location | RZIELORT | CHAR | 59 | RZIELORT | ||||
ZLAND | Trip Country / Trip Country Group | LNDGR | CHAR | 3 | T702O | LNDGR | |||
HRGIO | Region of Main Destination | HRGIO | CHAR | 5 | T702O | RGION | |||
NDNST | Name of new administrative office (P.S.) | PTRV_NDNST | CHAR | 25 | PTRV_CHAR25 | ||||
KUNDE | Reason for Trip (for example, customer/requisitioner) | RKUNDE | CHAR | 59 | RKUNDE | ||||
DATV1 | Beginning Date of Trip Segment | REBED | DATS | 8 | REDAT | ||||
UHRV1 | Beginning Time of Trip Segment | REBEU | TIMS | 6 | REUHR | ||||
DATB1 | End Date of Trip Segment | REEND | DATS | 8 | REDAT | ||||
UHRB1 | End Time of Trip Segment | REENU | TIMS | 6 | REUHR | ||||
DATH1 | Border Crossing (Trip Out): Date | DATGH | DATS | 8 | REDAT | ||||
UHRH1 | Time: Border crossing(trip out) | UHRGH | TIMS | 6 | REUHR | ||||
DATR1 | Border Crossing (Return Trip): Date | DATGZ | DATS | 8 | REDAT | ||||
UHRR1 | Time: Border crossing(return trip) | UHRGZ | TIMS | 6 | REUHR | ||||
AGRZ1 | Trip Country / Trip Country Group | LNDGR | CHAR | 3 | T702O | LNDGR | |||
GRGIO | Region of Border Crossing: Return Trip | GRGIO | CHAR | 5 | T702O | RGION | |||
GRBER | Border crossing: Trip type enterprise-specific | PTRV_GRBER | CHAR | 1 | T702X | BEREI | |||
UZKVG | Confirmation of Moving Costs Refund | PTRV_UZKVG | CHAR | 1 | UMZUGSKVG | ||||
ZUSAG | Admin. Office That Confirmed Moving Costs Compensation (PS) | PTRV_ZUSAG | CHAR | 25 | PTRV_CHAR25 | ||||
ENDRG | Different End of Travel Allowance (in Separation Allowance) | PTRV_ENDRG | DATS | 8 | REDAT | ||||
DEPAR | Departure from Residence or Place of Work | PTRV_DEPAR | CHAR | 1 | PTRV_CHAR1 | ||||
ARRVL | Return Trip: Arrival at Place of Residence or Work | PTRV_ARRVL | CHAR | 1 | PTRV_CHAR1 | ||||
RETRN | Arrival at Accommodations or New Workplace | PTRV_RETRN | CHAR | 1 | PTRV_CHAR1 | ||||
DATES | Changed On | AEDAT | DATS | 8 | DATUM | ||||
TIMES | Time of Last Change | AEUHR | TIMS | 6 | ATIME | ||||
UNAME | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
REPID | Change Report | AEREP | CHAR | 40 | AEREP | ||||
DANTN | Trip Number of Corresponding Trip to Start Work | PTRV_DANTN | NUMC | 10 | REINR | ||||
FINTN | Trip Number of Associated Business Trip Return | PTRV_FINTN | NUMC | 10 | REINR | ||||
REQUEST | Indicator for objects request, plan and expense report | PTRV_OBJEKT | CHAR | 1 | CHAR1 | ||||
TRAVEL_PLAN | Indicator for objects request, plan and expense report | PTRV_OBJEKT | CHAR | 1 | CHAR1 | ||||
EXPENSES | Indicator for objects request, plan and expense report | PTRV_OBJEKT | CHAR | 1 | CHAR1 | ||||
.INCLU--AP | 0 | ||||||||
ST_TRGTG | Start of Taxation for Per Diem Separation Allowance | PTRV_PS_ST_TRGTG | DATS | 8 | REDAT | ||||
ST_TRGALL | Start of Taxation for Complete Separation Allowance | PTRV_PS_ST_TRGALL | DATS | 8 | REDAT | ||||
PERIODENART | Associated Trip Period Types | PTRV_PS_PERIODENART | CHAR | 1 | PTRV_PS_PERIODENART | ||||
DAT_REDUC1 | Reduction of Entire Separation or Travel Allowance Level 1 | PTRV_PS_DAT_REDUC1 | DATS | 8 | REDAT | ||||
DAT_REDUC2 | Reduction of Separation or Travel Allowance Level 2 | PTRV_PS_DAT_REDUC2 | DATS | 8 | REDAT | ||||
DATV1_DIENST | Date of Commencement of Work | PTRV_PS_DATV1_DIENST | DATS | 8 | REDAT | ||||
UHRV1_DIENST | Time at Which Work Commences | PTRV_PS_UHRV1_DIENST | TIMS | 6 | REUHR | ||||
DATB1_DIENST | Date on Which Work Ends | PTRV_PS_DATB1_DIENST | DATS | 8 | REDAT | ||||
UHRB1_DIENST | Time at Which Work Ends | PTRV_PS_UHRB1_DIENST | TIMS | 6 | REUHR | ||||
ABORDNUNG | Associated Superior Separation Allowance | PTRV_PS_ABORD | NUMC | 10 | REINR | ||||
ST_TRG_TYP | Temporary Assignment (Indicator) | PTRV_PS_ST_TYP | CHAR | 1 | CHAR1 | ||||
ST_WOHN_TYP | Home for Separation Allowance Taxation | PTRV_ST_WOHN_TYP | CHAR | 1 | CHAR1 | ||||
KEIN_REISEGELD | No Separation Allowance for Travel Is Paid (Indicator) | PTRV_KEIN_REISEGELD | CHAR | 1 | CHAR1 | ||||
TAX_PER_DIEM | Automatic Taxation of Meals and Accommodations Per Diems | PTRV_TAX_PER_DIEM | CHAR | 1 | XFELD | ||||
TAX_PD_MAN | Manually Triggered Taxation of Meals Per Diems | PTRV_TAX_PD_MAN | CHAR | 1 | XFELD | ||||
TAX_OV_MAN | Manually Triggered Taxation of Accommodations Per Diems | PTRV_TAX_OV_MAN | CHAR | 1 | XFELD | ||||
EXCHANGE_DATE | Reference Date of Trip | PTRV_DATTN | DATS | 8 | REDAT | ||||
ROUNDING | Travel Amounts Are Rounded (Indicator) | PTRV_ROUNDING | CHAR | 1 | XFELD | ||||
DZ_LIMIT_180 | Limitation of DA Fee to 180 Days | PTRV_PS_DZ_LIMIT_180 | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table PTRV_HEAD using ABAP code
The following ABAP code Example will allow you to do a basic selection on PTRV_HEAD to SELECT all data from the tableDATA: WA_PTRV_HEAD TYPE PTRV_HEAD.
SELECT SINGLE *
FROM PTRV_HEAD
INTO CORRESPONDING FIELDS OF WA_PTRV_HEAD
WHERE...
How to access SAP table PTRV_HEAD
Within an ECC or HANA version of SAP you can also view further information about 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