PTRV_STATS_DOCU SAP (Fields for Documentation of Trip Statistics) Structure details
Description: Fields for Documentation of Trip Statistics
Related tables to PTRV_STATS_DOCU
Access table PTRV_STATS_DOCU
Structure field list including key, data, relationships and ABAP select examples
PTRV_STATS_DOCU 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 "Fields for Documentation of Trip Statistics" 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_STATS_DOCU TYPE PTRV_STATS_DOCU.
The PTRV_STATS_DOCU table consists of various fields, each holding specific information or linking keys about Fields for Documentation of Trip Statistics data available in SAP. These include UPDATE_TYPE (Save function for trip statistics), AUTH_CHECK (Authorization checks in travel reporting), CURRENT_VERSION (Select Current Trip Version Only), TODAY (Only Select Personnel Numbers Valid Today).. 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: Not classified
SAP PTRV_STATS_DOCU 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 |
OPTIMIZE | Runtime optimization | PTRV_OPTIMIZE | CHAR | 1 | PTRV_OPTIMIZE | ||||
UPDATE_TYPE | Save function for trip statistics | PTRV_STATS_UPDATE_TYPE | CHAR | 1 | PTRV_STATS_UPDATE_TYPE | ||||
AUTH_CHECK | Authorization checks in travel reporting | PTRV_STATS_AUTH_CHECK | CHAR | 1 | CHAR1 | ||||
CURRENT_VERSION | Select Current Trip Version Only | PTRV_CURRENT_VERSION | CHAR | 1 | AKTKN | ||||
TODAY | Only Select Personnel Numbers Valid Today | PTRV_LDBTODAY | CHAR | 1 | XFELD | ||||
AUTOAPPR | Approve Trip(s) Automatically | PTRV_AUTOAPPR | CHAR | 1 | XFELD | ||||
AUTOAPPR_NODOC | Automatic Approval of Trips Without Receipts | PTRV_AUTOAPPR_NODOC | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure PTRV_STATS_DOCU using ABAP code?
As PTRV_STATS_DOCU 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_STATS_DOCU as there is no data to select.How to access SAP table PTRV_STATS_DOCU
Within an ECC or HANA version of SAP you can also view further information about PTRV_STATS_DOCU 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