PTRV_ARCHIVE SAP (Administrative Table for Archived Trip Data) Table details
Dictionary Type: Table
Description: Administrative Table for Archived Trip Data
Description: Administrative Table for Archived Trip Data
Table field list including key, data, relationships and ABAP select examples
PTRV_ARCHIVE is a standard SAP Table which is used to store Administrative Table for Archived Trip Data data and is available within R/3 SAP systems depending on the version and release level.
The PTRV_ARCHIVE table consists of various fields, each holding specific information or linking keys about Administrative Table for Archived Trip Data data available in SAP. These include PERNR (Personnel Number), REINR (Trip Number), ARC_GROUP (Archiving Group), ZORT1 (Location).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP PTRV_ARCHIVE table 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 | ||||
ARC_GROUP | Archiving Group | ARC_GROUP | NUMC | 6 | NUM06 | ||||
ZORT1 | Location | RZIEL | CHAR | 17 | RZIEL | ||||
ZLAND | Trip Country / Trip Country Group | LNDGR | CHAR | 3 | Assigned to domain | LNDGR | |||
HRGIO | Region of Main Destination | HRGIO | CHAR | 5 | Assigned to domain | RGION | |||
KUNDE | Reason for trip (e.g. customer/requisitioner) | RKUND | CHAR | 17 | RKUND | ||||
DATV1 | Beginning Date of Trip Segment | REBED | DATS | 8 | REDAT | ||||
DATB1 | End Date of Trip Segment | REEND | DATS | 8 | REDAT |
Key field | Non-key field |
How do I retrieve data from SAP table PTRV_ARCHIVE using ABAP code
The following ABAP code Example will allow you to do a basic selection on PTRV_ARCHIVE to SELECT all data from the tableDATA: WA_PTRV_ARCHIVE TYPE PTRV_ARCHIVE.
SELECT SINGLE *
FROM PTRV_ARCHIVE
INTO CORRESPONDING FIELDS OF WA_PTRV_ARCHIVE
WHERE...
How to access SAP table PTRV_ARCHIVE
Within an ECC or HANA version of SAP you can also view further information about PTRV_ARCHIVE 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