PTK21 SAP (Trip Reimbursement Amounts for Travel Costs) Structure details
Description: Trip Reimbursement Amounts for Travel Costs
Structure field list including key, data, relationships and ABAP select examples
PTK21 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 Reimbursement Amounts for Travel Costs" 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_PTK21 TYPE PTK21.
The PTK21 table consists of various fields, each holding specific information or linking keys about Trip Reimbursement Amounts for Travel Costs data available in SAP. These include ZIKEY (Destination Assignment), DATUM (Travel Costs: Date), KZPMF (Vehicle Type), KZNZA (Reimbursement Group for Travel Costs/Additional Flat Rate).. 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 PTK21 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 |
KMKEY | Miles/Kilometers Distribution | KMKEY | CHAR | 2 | KMKEY | ||||
ZIKEY | Destination Assignment | KEYZI | CHAR | 2 | KEYZI | ||||
DATUM | Travel Costs: Date | FDATU | DATS | 8 | REDAT | ||||
KZPMF | Vehicle Type | KZPMF | CHAR | 1 | Assigned to domain | KZPMF | |||
KZNZA | Reimbursement Group for Travel Costs/Additional Flat Rate | KZNZA | CHAR | 1 | Assigned to domain | KZNZA | |||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BETFZ | Miles/Kilometers Amount for IRS | KMBFZ | CURR | 6(2) | KMBET | ||||
BETFA | Travel Costs: Company Amount | KMBFA | CURR | 6(2) | KMBET | ||||
BETKU | Travel Costs: Customer Amount | KMBKU | CURR | 6(2) | KMBET | ||||
ANZHL | Number of Miles/Kilometers | KMANZ | DEC | 5 | KMANZ | ||||
GBTFZ | Total IRS Tax Amount for Miles/Kilometers | KMGFZ | CURR | 10(2) | GESBE | ||||
GBTFA | Total Company Costs for Miles/Kilometers | KMGFA | CURR | 10(2) | GESBE | ||||
GBTKU | Total Customer Amount for Miles/Kilometers | KMGKU | CURR | 10(2) | GESBE | ||||
V0TYP | Variable assignment type | V0TYP | CHAR | 1 | V0TYP | ||||
V0ZNR | Variable assignment number | V0ZNR | RAW | 1 | RAW1 |
Key field | Non-key field |
How do I retrieve data from SAP structure PTK21 using ABAP code?
As PTK21 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 PTK21 as there is no data to select.How to access SAP table PTK21
Within an ECC or HANA version of SAP you can also view further information about PTK21 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