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
Description: Transfer Travel -> FI/CO: Header of TRV int. document
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 |
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
AWREF | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
GLVOR | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
INT_GLVOR | Business Transaction | GLVOR | CHAR | 4 | CHAR4 | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
BUDAT | Posting Date in the Document | HR_BUDAT | DATS | 8 | DATUM | ||||
BLDAT | Document Date in Document | HR_BLDAT | DATS | 8 | DATUM | ||||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
MONAT | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
XBLNR | Reference Document Number | HR_XBLNR | CHAR | 16 | HR_XBLNR | ||||
BLART | Document Type | BLART | CHAR | 2 | Assigned to domain | BLART | BAR | ||
RUNID | Number of Posting Run | P_EVNUM | NUMC | 10 | NUMC10 | ||||
COMMI | Commit Work | PTRV_COMMIT | CHAR | 1 | PTRV_CHAR1 | ||||
LEADING_BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
UEBNR | Number of a cross-company code travel expenses posting | TRV_BVORG | CHAR | 16 | TRV_BVORG | ||||
RECEIVER | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
.INCLU--AP | 0 | ||||||||
CHECKED | Checked | PTRV_CHECKED | CHAR | 1 | PTRV_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 tableDATA: 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 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