PTRV_APPR SAP (Trip Approval) Structure details
Description: Trip Approval
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 |
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 | ||||
PERIO | Trip Period Number | PTRV_PEROD | NUMC | 3 | PTRV_PEROD | ||||
PDVRS | Sequential Number of Period | PTRV_PDVRS | NUMC | 2 | NUMC2 | ||||
DRUCK | Trip Print Status | P_PRINT | CHAR | 1 | P_PRINT | ||||
ANTRG | Travel Request or Trip Approved (Indicator) | ANTRG | CHAR | 1 | ANTRG | ||||
ABREC | Open / To be Settled / Settled (Indicator) | ABREC | CHAR | 1 | ABREC | ||||
UEBLG | HR Payroll Transfer (Indicator) | UEBLG | CHAR | 1 | UEBLG | ||||
UEBRF | FI Transfer (Indicator) | UEBRF | CHAR | 1 | UEBRF | ||||
UEBDT | Data Medium Exchange Transfer (Indicator) | UEBDT | CHAR | 1 | UEBDT | ||||
VERPA | Per-Diem Accounting for Meals | VERPA | CHAR | 1 | VERPA | ||||
ABRJ1 | Payroll Year | PABRJ | NUMC | 4 | GJAHR | GJAHR | |||
ABRP1 | Payroll Period | PABRP | NUMC | 2 | PABRP | ||||
PERM1 | Period modifier | IPERM | CHAR | 2 | CHAR2 | ||||
ABKR1 | Payroll Area | ABKRS | CHAR | 2 | Assigned to domain | ABKRS | ABK | ||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HDVRS | Sequential Number of Travel Expenses Table THEADER | PTRV_HDVRS | NUMC | 2 | PTRVNUMC2 | ||||
MOREI | Trip Provision Variant | MOREI | CHAR | 2 | T702N | MOREI | MOR | ||
SCHEM | Trip schema | RSCHE | CHAR | 2 | T706S | RSCHE | |||
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 | |||
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 | ||||
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 | ||||
TRIP_TOTAL | Total Cost of Trip | PTRV_TRIP_TOTAL | CURR | 13(2) | WERTV7 | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
TRIPDUR | Trip Duration in Days | PTRV_TRIPDUR | DEC | 4 | DEC4 | ||||
CORR_ICON | Correction Indicator | PTRV_CORR_ICON | STRG | 0 | |||||
ANTRG_TXT | Travel Request or Trip Approved - Long Text | ANTRG_TXT | CHAR | 20 | TEXT20 | ||||
ABREC_TXT | Trip Open/To be Settled/Settled - Long Text | ABREC_TXT | CHAR | 20 | TEXT20 | ||||
ENAME | Formatted Name of Employee or Applicant | EMNAM | CHAR | 40 | TEXT40 | ||||
SNAME | Employee's Name (Sortable by LAST NAME FIRST NAME) | SMNAM | CHAR | 30 | CHAR30 | ||||
PFLAG_ICON | Trip Status | PTRV_PFLAG_ICON | STRG | 0 | |||||
RACCOBJ | Account Assignment | PTRV_RACCOBJ | CHAR | 25 | TEXT25 | ||||
RACCOBJ_GENREC | Account Assignment Object | PTRV_RACCOBJ_GENREC | CHAR | 35 | CHAR_35 | ||||
RACCOBJ_TEXT | Account Assignment Text | PTRV_RACCOBJ_TEXT | STRG | 0 | |||||
ADDITIONAL_RECEIVERS | Multiple Account Assignment | PTRV_ADDITIONAL_RECEIVERS | STRG | 0 |
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 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