PTRV_APPR SAP (Trip Approval) Structure details

Dictionary Type: Structure
Description: Trip Approval




ABAP Code to SELECT data from PTRV_APPR
Related tables to PTRV_APPR
Access table PTRV_APPR




Structure field list including key, data, relationships and ABAP select examples

PTRV_APPR 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 "Trip Approval" 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_APPR TYPE PTRV_APPR.

The PTRV_APPR table consists of various fields, each holding specific information or linking keys about Trip Approval data available in SAP. These include MANDT (Client), PERNR (Personnel Number), REINR (Trip Number), PERIO (Trip Period Number).. 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_APPR 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
REINRTrip Number REINRNUMC10REINR
PERIOTrip Period Number PTRV_PERODNUMC3PTRV_PEROD
PDVRSSequential Number of Period PTRV_PDVRSNUMC2NUMC2
DRUCKTrip Print Status P_PRINTCHAR1P_PRINT
ANTRGTravel Request or Trip Approved (Indicator) ANTRGCHAR1ANTRG
ABRECOpen / To be Settled / Settled (Indicator) ABRECCHAR1ABREC
UEBLGHR Payroll Transfer (Indicator) UEBLGCHAR1UEBLG
UEBRFFI Transfer (Indicator) UEBRFCHAR1UEBRF
UEBDTData Medium Exchange Transfer (Indicator) UEBDTCHAR1UEBDT
VERPAPer-Diem Accounting for Meals VERPACHAR1VERPA
ABRJ1Payroll Year PABRJNUMC4GJAHRGJAHR
ABRP1Payroll Period PABRPNUMC2PABRP
PERM1Period modifier IPERMCHAR2CHAR2
ABKR1Payroll Area ABKRSCHAR2Assigned to domainABKRSABK
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HDVRSSequential Number of Travel Expenses Table THEADER PTRV_HDVRSNUMC2PTRVNUMC2
MOREITrip Provision Variant MOREICHAR2T702NMOREIMOR
SCHEMTrip schema RSCHECHAR2T706SRSCHE
ZORT1Location RZIELORTCHAR59RZIELORT
ZLANDTrip Country / Trip Country Group LNDGRCHAR3T702OLNDGR
HRGIORegion of Main Destination HRGIOCHAR5T702ORGION
KUNDEReason for Trip (for example, customer/requisitioner) RKUNDECHAR59RKUNDE
DATV1Beginning Date of Trip Segment REBEDDATS8REDAT
UHRV1Beginning Time of Trip Segment REBEUTIMS6REUHR
DATB1End Date of Trip Segment REENDDATS8REDAT
UHRB1End Time of Trip Segment REENUTIMS6REUHR
REQUESTIndicator for objects request, plan and expense report PTRV_OBJEKTCHAR1CHAR1
TRAVEL_PLANIndicator for objects request, plan and expense report PTRV_OBJEKTCHAR1CHAR1
EXPENSESIndicator for objects request, plan and expense report PTRV_OBJEKTCHAR1CHAR1
TRIP_TOTALTotal Cost of Trip PTRV_TRIP_TOTALCURR13(2) WERTV7
CURRENCYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
TRIPDURTrip Duration in Days PTRV_TRIPDURDEC4DEC4
CORR_ICONCorrection Indicator PTRV_CORR_ICONSTRG0
ANTRG_TXTTravel Request or Trip Approved - Long Text ANTRG_TXTCHAR20TEXT20
ABREC_TXTTrip Open/To be Settled/Settled - Long Text ABREC_TXTCHAR20TEXT20
ENAMEFormatted Name of Employee or Applicant EMNAMCHAR40TEXT40
SNAMEEmployee's Name (Sortable by LAST NAME FIRST NAME) SMNAMCHAR30CHAR30
PFLAG_ICONTrip Status PTRV_PFLAG_ICONSTRG0
RACCOBJAccount Assignment PTRV_RACCOBJCHAR25TEXT25
RACCOBJ_GENRECAccount Assignment Object PTRV_RACCOBJ_GENRECCHAR35CHAR_35
RACCOBJ_TEXTAccount Assignment Text PTRV_RACCOBJ_TEXTSTRG0
ADDITIONAL_RECEIVERSMultiple Account Assignment PTRV_ADDITIONAL_RECEIVERSSTRG0

Key field Non-key field



How do I retrieve data from SAP structure PTRV_APPR using ABAP code?

As PTRV_APPR 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_APPR as there is no data to select.

How to access SAP table PTRV_APPR

Within an ECC or HANA version of SAP you can also view further information about PTRV_APPR 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!