PTRV_TRIPS_FOR_APPROVAL SAP (Trips to Be Approved) Structure details
Description: Trips to Be Approved
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 |
EMPLOYEENUMBER | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
TRIPNUMBER | Trip Number | REINR | NUMC | 10 | REINR | ||||
PERIOD_NR | Trip Period Number | PTRV_PEROD | NUMC | 3 | PTRV_PEROD | ||||
STEXT | Name for trip schema | TEXT_RSCHE | CHAR | 30 | REITX | ||||
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-DEP | 0 | ||||||||
DATEDEP | Beginning Date of Trip Segment | REBED | DATS | 8 | REDAT | ||||
TIMEDEP | Beginning Time of Trip Segment | REBEU | TIMS | 6 | REUHR | ||||
.INCLU-ARR | 0 | ||||||||
DATEARR | End Date of Trip Segment | REEND | DATS | 8 | REDAT | ||||
TIMEARR | End Time of Trip Segment | REENU | TIMS | 6 | REUHR | ||||
DESTINATION | Location | RZIELORT | CHAR | 59 | RZIELORT | ||||
REASON | Reason for Trip (for example, customer/requisitioner) | RKUNDE | CHAR | 59 | RKUNDE | ||||
COUNTRY | Trip Country / Trip Country Group | LNDGR | CHAR | 3 | Assigned to domain | LNDGR | |||
COUNTRY_TEXT | Name of Trip Country/Country Group/Region | TEXT_RGION | CHAR | 25 | TRV25 | ||||
AMOUNT_SUM_REIMB | Reimbursement amount for a trip | PTRV_SUM_REIMBU | CURR | 13(2) | WERTV7 | ||||
AMOUNT_SUM_TOTAL | Total Cost of Trip | PTRV_TRIP_TOTAL | CURR | 13(2) | WERTV7 | ||||
AMOUNT_SUM_DELTA | Difference Amount when Resubmitting a Trip | PTRV_DELTA_AMOUNT | CURR | 13(2) | WERTV7 | ||||
ESTIMATED_COST | Estimated Costs of Trip | PTRV_EST_COST | CURR | 13(2) | WERTV7 | ||||
AMOUNT_SUM_ADVANCE | Total Advances for a Trip | PTRV_SUM_ADVANC | CURR | 13(2) | WERTV7 | ||||
CURRENCY | Currency Key | TRVWAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
NR_OPT_ARCHIVE | Number of Originals | NUMBER_OF_FACSIMILES | NUMC | 3 | NUMC3 | ||||
NR_ATTACHMENTS | Number of Attachments | NUMBER_OF_ATTACHMENTS | NUMC | 3 | NUMC3 | ||||
HISTORY | Long Text | LTEXT | CHAR | 40 | TEXT40 | ||||
NR_RECEIPTS | Number of Receipts | PTRV_NR_RECEIPTS | NUMC | 3 | NUMC3 | ||||
PNR_LOCATOR | Passenger Name Record Locator | PNR_RECORD_LOCATOR | CHAR | 20 | FTPD_PNR_RECORD_LOCATOR | ||||
POLICY_VIOLATION | Violation of Travel Policy | PTRV_POLICY_VIOLATION | CHAR | 1 | XFELD | ||||
EXCEPTION_FLAG | Exception Indicator | PTRV_EXCEPTION | CHAR | 1 | XFELD | ||||
SUBMISSION_STATUS | Resubmission for Approval | PTRV_SUBMISSION | CHAR | 1 | PTRV_SUBMISSION | ||||
SUBMISSION_STATUS_TEXT | Text for Submission Status | PTRV_SUBMISSION_TEXT | CHAR | 60 | TEXT60 |
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 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