PTRV_DOC_HD SAP (Transfer Travel -> FI/CO: Header of TRV int. document) Table details

Dictionary Type: Table
Description: Transfer Travel -> FI/CO: Header of TRV int. document




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




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

PTRV_DOC_HD is a standard SAP Table which is used to store Transfer Travel -> FI/CO: Header of TRV int. document data and is available within R/3 SAP systems depending on the version and release level.

The PTRV_DOC_HD table consists of various fields, each holding specific information or linking keys about Transfer Travel -> FI/CO: Header of TRV int. document data available in SAP. These include AWREF (Reference Document Number), AWORG (Reference Organizational Units), GLVOR (Business Transaction), INT_GLVOR (Business Transaction).. 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: Can be enhanced (character-type or numeric)


SAP PTRV_DOC_HD 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
CLIENTClient MANDTCLNT3Assigned to domainMANDT
AWREFReference Document Number AWREFCHAR10ALPHAAWREF
AWORGReference Organizational Units AWORGCHAR10AWORG
GLVORBusiness Transaction GLVORCHAR4CHAR4
INT_GLVORBusiness Transaction GLVORCHAR4CHAR4
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BUDATPosting Date in the Document HR_BUDATDATS8DATUM
BLDATDocument Date in Document HR_BLDATDATS8DATUM
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
MONATFiscal Period MONATNUMC2MONAT
XBLNRReference Document Number HR_XBLNRCHAR16HR_XBLNR
BLARTDocument Type BLARTCHAR2Assigned to domainBLARTBAR
RUNIDNumber of Posting Run P_EVNUMNUMC10NUMC10
COMMICommit Work PTRV_COMMITCHAR1PTRV_CHAR1
LEADING_BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
UEBNRNumber of a cross-company code travel expenses posting TRV_BVORGCHAR16TRV_BVORG
RECEIVERLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
.INCLU--AP 0
CHECKEDChecked PTRV_CHECKEDCHAR1PTRV_CHAR1

Key field Non-key field



How do I retrieve data from SAP table PTRV_DOC_HD using ABAP code

The following ABAP code Example will allow you to do a basic selection on PTRV_DOC_HD to SELECT all data from the table
DATA: WA_PTRV_DOC_HD TYPE PTRV_DOC_HD.

SELECT SINGLE *
FROM PTRV_DOC_HD
INTO CORRESPONDING FIELDS OF WA_PTRV_DOC_HD
WHERE...

How to access SAP table PTRV_DOC_HD

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