PTRV_SREC SAP (Trip Statistics - Receipts) Table details
Dictionary Type: Table
Description: Trip Statistics - Receipts
Description: Trip Statistics - Receipts
Table field list including key, data, relationships and ABAP select examples
PTRV_SREC is a standard SAP Table which is used to store Trip Statistics - Receipts data and is available within R/3 SAP systems depending on the version and release level.
The PTRV_SREC table consists of various fields, each holding specific information or linking keys about Trip Statistics - Receipts 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: 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_SREC 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 | ||||
PERIO | Trip Period Number | PTRV_PEROD | NUMC | 3 | PTRV_PEROD | ||||
RECEIPTNO | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
SEQNO | Sequential number for receipts | PTRV_RECSEQNO | NUMC | 2 | NUMC2 | ||||
DED_FLAG | Deduction Indicator | BELAZ | CHAR | 1 | BELAZ | ||||
PAID_COM | Paid by Company | BEZFA | CHAR | 1 | XFELD | TRV_PAID_COMPANY | |||
EXP_TYPE | Travel Expense Type | SPKZL | CHAR | 4 | Assigned to domain | SPKZL | RSA | SH_EXPENSE_TYPES | |
REC_AMOUNT | Amount on Individual Receipt | PTRV_REC_AMOUNT | CURR | 13(2) | WERTV7 | ||||
REC_CURR | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
REC_RATE | Exchange rate | REC_RATE | DEC | 9(5) | UKURS | ||||
LOC_AMOUNT | Receipt amount in local currency | PTRV_LOC_AMOUNT | CURR | 13(2) | WERTV7 | ||||
LOC_CURR | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
TAX_CODE | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
REC_DATE | Receipt Date | BELDT | DATS | 8 | REDAT | ||||
SHORTTXT | Short Receipt Information | TXBEL | CHAR | 10 | TXBEL | ||||
ABOVE_LIMIT | Customizing Limit for Travel Expense Type Exceeded | PTRV_ABOVE_LIMIT | CHAR | 1 | P_ATYPE | ||||
.INCLU--AP | 0 | ||||||||
PAPER_RECEIPT | Paper Receipt Exists | PAPER_RECEIPT | CHAR | 1 | XFELD | ||||
RECEIPT_OK | Expense Receipt Checked | RECEIPT_VALIDATED | CHAR | 1 | XFELD | ||||
PAYOT | Service Provider | PAYOT | CHAR | 2 | Assigned to domain | PAYOT | |||
PAPER_MISSING | Required Paper Receipt Is Missing | PAPER_MISSING | CHAR | 1 | P_ATYPE | ||||
RECEIPT_NO | Invoice Number of Original Receipt | PTRV_RECEIPT_NO | CHAR | 16 | |||||
RECEIPT_ITEM | Number of Invoice Item | PTRV_RECEIPT_ITEM | NUMC | 3 | |||||
REC_FWSTE | Tax amount in document currency | WMWST | CURR | 13(2) | WERT7 | ||||
LOC_FWSTE | Tax amount in document currency | WMWST | CURR | 13(2) | WERT7 | ||||
VAT_POSTING_TYPE | Reporting and Posting of VAT Amount | PTRV_VAT_POSTING_TYPE | CHAR | 1 | PTRV_VAT_POSTING_TYPE | ||||
VAT_SERVICE_CODE | VAT Refund Code | PTRV_VAT_SERVICE_CODE | CHAR | 3 | Assigned to domain | PTRV_VAT_SERVICE_CODE | |||
VAT_SERVICE_DESC | Description of Goods and Services | PTRV_VAT_SERVICE_DESC | CHAR | 100 | TEXT100 | ||||
VAT_STATUS | Status of Data for VAT Refund | PTRV_VAT_STATUS | CHAR | 1 | PTRV_VAT_STATUS | ||||
VAT_CHANGED_MAN | VAT Amount Changed Manually | PTRV_VAT_CHANGED_MAN | CHAR | 1 | |||||
DIFF_VIOLATION | Maximum Difference Exceeded | DIFF_VIOLATION | CHAR | 1 | P_ATYPE |
Key field | Non-key field |
How do I retrieve data from SAP table PTRV_SREC using ABAP code
The following ABAP code Example will allow you to do a basic selection on PTRV_SREC to SELECT all data from the tableDATA: WA_PTRV_SREC TYPE PTRV_SREC.
SELECT SINGLE *
FROM PTRV_SREC
INTO CORRESPONDING FIELDS OF WA_PTRV_SREC
WHERE...
How to access SAP table PTRV_SREC
Within an ECC or HANA version of SAP you can also view further information about PTRV_SREC 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