PTRV_VERSION_EXT SAP (Version History Table with Texts) Structure details

Dictionary Type: Structure
Description: Version History Table with Texts




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




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

PTRV_VERSION_EXT 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 "Version History Table with Texts" 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_VERSION_EXT TYPE PTRV_VERSION_EXT.

The PTRV_VERSION_EXT table consists of various fields, each holding specific information or linking keys about Version History Table with Texts 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 (character-type or numeric)


SAP PTRV_VERSION_EXT 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
TRIP_COMPONENTPlan/Request/Expense Report (Indicator) PTRV_TRIP_COMPONENTCHAR1PTRV_TRIP_COMPONENT
VERSION_NUMBERSequential Version Number of Table PTRV_VERSION PTRV_VERSION_NUMBERNUMC4NUM4
PDVRSSequential Number of Period PTRV_PDVRSNUMC2NUMC2
HDVRSSequential Number of Travel Expenses Table THEADER PTRV_HDVRSNUMC2PTRVNUMC2
REQUESTVRSVersion of travel request REQUEST_VERSIONNUMC2FTPD_REQUEST_VERSION
DATUMChanged On AEDATDATS8DATUM
UZEITTime of Last Change AEUHRTIMS6ATIME
UNAMEName of Person Who Changed Object AENAMCHAR12USNAM
REPIDChange Report AEREPCHAR40AEREP
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
RUNIDSequential number of posting run TR_EVNUMNUMC10NUMC10
STATUStatus of Travel Expense Posting Runs TR_EVSTSCHAR2TR_EVSTATUS
REQ_STATUSTravel Plan Status PLAN_STATUSCHAR1FTPD_PSTAT
SUM_REIMBUReimbursement amount for a trip PTRV_SUM_REIMBUCURR13(2) WERTV7
SUM_ADVANCTotal Advances for a Trip PTRV_SUM_ADVANCCURR13(2) WERTV7
TRIP_TOTALTotal Cost of Trip PTRV_TRIP_TOTALCURR13(2) WERTV7
CURRENCYCurrency Key TRVWAERSCUKY5Assigned to domainWAERSFWS
ESTIMATED_COSTEstimated Total Cost of Trip PTRV_ESTIMATED_COSTCURR13(2) WERTV7
EST_COST_CURRCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
NR_RECEIPTSNumber of Receipts PTRV_NR_RECEIPTSNUMC3NUMC3
ARCHIVE_EXISTStatus of Document Archiving PTRV_ARCHIVE_EXISTCHAR1PTRV_ARCHIVE_EXIST
PROCESSING_STATUS_NAMEProcessing Status of Travel Expenses PTRV_PROCESSING_STATUS_NAMECHAR50
PROCESSING_REQ_STATUS_NAMEProcessing Status of Travel Request PTRV_PROCESS_REQ_STATUS_NAMECHAR50
REQ_STATUS_NAMEStatus of Travel Request PTRV_REQ_STATUS_NAMECHAR40TEXT40
APPVL_STATUS_NAMEApproval Status of Trip PTRV_APPVL_STATUS_NAMECHAR40TEXT40
ARCHIVE_EXIST_NAMEStatus of Archived Document PTRV_ARCHIVE_EXIST_NAMECHAR40TEXT40
VERSION_DISPLAY_ENABLEDCheckbox XFELDCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table PTRV_VERSION_EXT

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