PTK32 SAP (Weekly report) Structure details
Description: Weekly report
Structure field list including key, data, relationships and ABAP select examples
PTK32 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 "Weekly report" 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_PTK32 TYPE PTK32.
The PTK32 table consists of various fields, each holding specific information or linking keys about Weekly report data available in SAP. These include SPKZL (Travel Expense Type), CNTER (Four-digit number), BEART (Travel Expense Category), FIRMA (Paid by Company).. 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 PTK32 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 |
PR04X | Sequence of Expense Types in Weekly Report | PR04X | CHAR | 1 | PR04X | ||||
SPKZL | Travel Expense Type | SPKZL | CHAR | 4 | Assigned to domain | SPKZL | RSA | SH_EXPENSE_TYPES | |
CNTER | Four-digit number | NUM4 | NUMC | 4 | NUM04 | ||||
BEART | Travel Expense Category | BELAR | CHAR | 1 | BELAR | ||||
FIRMA | Paid by Company | BEZFA | CHAR | 1 | XFELD | TRV_PAID_COMPANY | |||
HBETR | Maximum Value | HBETR | CURR | 10(2) | GESBE | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
MESSA | Error Message When Maximum Value Exceeded | MESSA_D | CHAR | 1 | XFELD | ||||
SPTXT | Name of Travel Expense Type | TEXT_SPKZL | CHAR | 30 | REITX | ||||
BTRG1 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR1 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BTRG2 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR2 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BTRG3 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR3 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BTRG4 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR4 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BTRG5 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR5 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BTRG6 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR6 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BTRG7 | Amount on Individual Receipt | GESBB | CURR | 10(2) | GESBE | ||||
BLNR7 | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
BETRG | Receipt Total in Weekly Report | BELRT | CURR | 10(2) | GESBE |
Key field | Non-key field |
How do I retrieve data from SAP structure PTK32 using ABAP code?
As PTK32 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 PTK32 as there is no data to select.How to access SAP table PTK32
Within an ECC or HANA version of SAP you can also view further information about PTK32 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