PTK54 SAP (Trip Costs Accounting Results with TE Key for BAPI) Structure details
Description: Trip Costs Accounting Results with TE Key for BAPI
Structure field list including key, data, relationships and ABAP select examples
PTK54 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 "Trip Costs Accounting Results with TE Key for BAPI" 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_PTK54 TYPE PTK54.
The PTK54 table consists of various fields, each holding specific information or linking keys about Trip Costs Accounting Results with TE Key for BAPI data available in SAP. These include PERNR (Personnel Number), REINR (Trip Number), PERIO (Trip Period Number), PDVRS (Sequential Number of Period).. 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 PTK54 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 |
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 | ||||
PDVRS | Sequential Number of Period | PTRV_PDVRS | NUMC | 2 | NUMC2 | ||||
ABART | Employee subgroup grouping for personnel calculation rule | ABRAR | CHAR | 1 | Assigned to domain | ABRAR | |||
LGART | Wage Type | LGART | CHAR | 4 | Assigned to domain | LGART | |||
APZNR | PC205 assignment | APZNR | RAW | 1 | PRSPL | ||||
CNTR1 | National assignment indicator | CNTRN | RAW | 1 | RAW1 | ||||
CNTR2 | National assignment indicator | CNTRN | RAW | 1 | RAW1 | ||||
CNTR3 | National assignment indicator | CNTRN | RAW | 1 | RAW1 | ||||
ALZNR | Assignment for alternative payment | ALZNR | RAW | 1 | PRSPL | ||||
C1ZNR | Pointer to cost accounting | C1ZNO | RAW | 2 | C1NUM | ||||
BTZNR | Assignment of Bank Transfers | BTZNO | RAW | 1 | PRSPL | ||||
ABZNR | Absence assignment | ABZNO | RAW | 1 | PRSPL | ||||
V0TYP | Variable assignment type | V0TYP | CHAR | 1 | V0TYP | ||||
V0ZNR | Variable assignment number | V0ZNR | RAW | 1 | RAW1 | ||||
ZEINH | Time/Measurement Unit | PT_ZEINH | CHAR | 3 | Assigned to domain | RPMSH | |||
BETPE | Payroll: Amount per unit | BETPE | CURR | 15(2) | PRBETPE | ||||
ANZHL | HR payroll: Number | PRANZ | DEC | 15(2) | PRANZHL | ||||
BETRG | HR Payroll: Amount | MAXBT | CURR | 15(2) | PRBETRG | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
WAERS | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
LINE | Line in results table ROT of cluster TE | ROT_LINE | NUMC | 4 | NUM4 | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
.INCLU--AP | 0 | ||||||||
BELNR | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
UMDAT | Reference Date of Trip | PTRV_DATTN | DATS | 8 | REDAT | ||||
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_CHANGED_MAN | VAT Amount Changed Manually | PTRV_VAT_CHANGED_MAN | CHAR | 1 |
Key field | Non-key field |
How do I retrieve data from SAP structure PTK54 using ABAP code?
As PTK54 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 PTK54 as there is no data to select.How to access SAP table PTK54
Within an ECC or HANA version of SAP you can also view further information about PTK54 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