PTRV_TRIPS_FOR_APPROVAL SAP (Trips to Be Approved) Structure details

Dictionary Type: Structure
Description: Trips to Be Approved




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




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

PTRV_TRIPS_FOR_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 "Trips to Be Approved" 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_TRIPS_FOR_APPROVAL TYPE PTRV_TRIPS_FOR_APPROVAL.

The PTRV_TRIPS_FOR_APPROVAL table consists of various fields, each holding specific information or linking keys about Trips to Be Approved data available in SAP. These include TRIPNUMBER (Trip Number), PERIOD_NR (Trip Period Number), STEXT (Name for trip schema), REQUEST (Indicator for objects request, plan and expense report).. 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_TRIPS_FOR_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
EMPLOYEENUMBERPersonnel Number PERNR_DNUMC8PERNRPER
TRIPNUMBERTrip Number REINRNUMC10REINR
PERIOD_NRTrip Period Number PTRV_PERODNUMC3PTRV_PEROD
STEXTName for trip schema TEXT_RSCHECHAR30REITX
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
.INCLU-DEP 0
DATEDEPBeginning Date of Trip Segment REBEDDATS8REDAT
TIMEDEPBeginning Time of Trip Segment REBEUTIMS6REUHR
.INCLU-ARR 0
DATEARREnd Date of Trip Segment REENDDATS8REDAT
TIMEARREnd Time of Trip Segment REENUTIMS6REUHR
DESTINATIONLocation RZIELORTCHAR59RZIELORT
REASONReason for Trip (for example, customer/requisitioner) RKUNDECHAR59RKUNDE
COUNTRYTrip Country / Trip Country Group LNDGRCHAR3Assigned to domainLNDGR
COUNTRY_TEXTName of Trip Country/Country Group/Region TEXT_RGIONCHAR25TRV25
AMOUNT_SUM_REIMBReimbursement amount for a trip PTRV_SUM_REIMBUCURR13(2) WERTV7
AMOUNT_SUM_TOTALTotal Cost of Trip PTRV_TRIP_TOTALCURR13(2) WERTV7
AMOUNT_SUM_DELTADifference Amount when Resubmitting a Trip PTRV_DELTA_AMOUNTCURR13(2) WERTV7
ESTIMATED_COSTEstimated Costs of Trip PTRV_EST_COSTCURR13(2) WERTV7
AMOUNT_SUM_ADVANCETotal Advances for a Trip PTRV_SUM_ADVANCCURR13(2) WERTV7
CURRENCYCurrency Key TRVWAERSCUKY5Assigned to domainWAERSFWS
NR_OPT_ARCHIVENumber of Originals NUMBER_OF_FACSIMILESNUMC3NUMC3
NR_ATTACHMENTSNumber of Attachments NUMBER_OF_ATTACHMENTSNUMC3NUMC3
HISTORYLong Text LTEXTCHAR40TEXT40
NR_RECEIPTSNumber of Receipts PTRV_NR_RECEIPTSNUMC3NUMC3
PNR_LOCATORPassenger Name Record Locator PNR_RECORD_LOCATORCHAR20FTPD_PNR_RECORD_LOCATOR
POLICY_VIOLATIONViolation of Travel Policy PTRV_POLICY_VIOLATIONCHAR1XFELD
EXCEPTION_FLAGException Indicator PTRV_EXCEPTIONCHAR1XFELD
SUBMISSION_STATUSResubmission for Approval PTRV_SUBMISSIONCHAR1PTRV_SUBMISSION
SUBMISSION_STATUS_TEXTText for Submission Status PTRV_SUBMISSION_TEXTCHAR60TEXT60

Key field Non-key field



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

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

How to access SAP table PTRV_TRIPS_FOR_APPROVAL

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