PTRV_APPROVAL SAP (List Layout for Report RPR_APPROVE_TRAVEL_EXPENSES) Structure details

Dictionary Type: Structure
Description: List Layout for Report RPR_APPROVE_TRAVEL_EXPENSES




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




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

PTRV_APPROVAL 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 "List Layout for Report RPR_APPROVE_TRAVEL_EXPENSES" 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_APPROVAL TYPE PTRV_APPROVAL.

The PTRV_APPROVAL table consists of various fields, each holding specific information or linking keys about List Layout for Report RPR_APPROVE_TRAVEL_EXPENSES data available in SAP. These include ENAME (Formatted Name of Employee or Applicant), 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 (character-type or numeric)


SAP PTRV_APPROVAL 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
ICONIcon in text fields (substitute display, alias) ICON_DCHAR4Assigned to domainICON
ENAMEFormatted Name of Employee or Applicant EMNAMCHAR40TEXT40
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
REINRTrip Number REINRNUMC10REINR
PERIOTrip Period Number PTRV_PERODNUMC3PTRV_PEROD
DATV1Beginning Date of Trip Segment REBEDDATS8REDAT
UHRV1Beginning Time of Trip Segment REBEUTIMS6REUHR
DATB1End Date of Trip Segment REENDDATS8REDAT
UHRB1End Time of Trip Segment REENUTIMS6REUHR
TRIPDURTrip Duration in Days PTRV_TRIPDURDEC4DEC4
ZORT1Location RZIELORTCHAR59RZIELORT
TRIP_TOTALTotal Cost of Trip PTRV_TRIP_TOTALCURR13(2) WERTV7
CURRENCYCurrency Key TRVWAERSCUKY5Assigned to domainWAERSFWS
KUNDEReason for Trip (for example, customer/requisitioner) RKUNDECHAR59RKUNDE
ZLANDTrip Country / Trip Country Group LNDGRCHAR3Assigned to domainLNDGR
HRGIORegion of Main Destination HRGIOCHAR5Assigned to domainRGION
PDVRSSequential Number of Period PTRV_PDVRSNUMC2NUMC2
ANTRGTravel Request or Trip Approved (Indicator) ANTRGCHAR1ANTRG
ANTRG_TXTTravel Request or Trip Approved - Long Text ANTRG_TXTCHAR20TEXT20
ABRECOpen / To be Settled / Settled (Indicator) ABRECCHAR1ABREC
ABREC_TXTTrip Open/To be Settled/Settled - Long Text ABREC_TXTCHAR20TEXT20
UEBLGHR Payroll Transfer (Indicator) UEBLGCHAR1UEBLG
UEBRFFI Transfer (Indicator) UEBRFCHAR1UEBRF
UEBDTData Medium Exchange Transfer (Indicator) UEBDTCHAR1UEBDT
UNAMELast changed by AENAMECHAR12UNAME
BOXIndicator: active/inactive AKTKNCHAR1CHAR1
SNAMEEmployee's Name (Sortable by LAST NAME FIRST NAME) SMNAMCHAR30CHAR30
.INCLU--AP 0
STATUS_ICONTrip Status PTRV_STATUS_ICONCHAR50
CORR_ICONCorrection Indicator PTRV_CORR_ICON_CHARCHAR50
NR_ATTACHMENTSNumber of Attachments NR_OF_ATTACHMENTSCHAR5CHAR5
NR_OPT_ARCHIVENumber of Originals NR_OF_FACSIMILESCHAR5CHAR5

Key field Non-key field



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

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

How to access SAP table PTRV_APPROVAL

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