PTK17 SAP (Trip Costs Assignment Specification) Structure details
Description: Trip Costs Assignment Specification
Structure field list including key, data, relationships and ABAP select examples
PTK17 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 Assignment Specification" 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_PTK17 TYPE PTK17.
The PTK17 table consists of various fields, each holding specific information or linking keys about Trip Costs Assignment Specification data available in SAP. These include BUKRS (Company Code), GSBER (Business Area), KOKRS (Controlling Area), KOSTL (Cost Center).. 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: Can be enhanced (character-type or numeric)
SAP PTK17 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 |
KOKEY | Account Assignment Allocation | KEYKO | CHAR | 2 | KEYKO | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
KSTRG | Cost Object | KSTRG | CHAR | 12 | CKPH | KSTRG | KTR | ||
POSNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | PRPS | KONPR | PS_POSNR | ||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | AUFK | ALPHA | AUFNR | NET | |
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
FIPOS | Commitment Item | FIPOS | CHAR | 14 | Assigned to domain | FIPOS | FIP | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | EKKO | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | EKPO | EBELP | BSP | ||
LSTNR | Activity Number | ASNUM | CHAR | 18 | ASMD | ALPHA | ASNUM | ASN | |
LTLST | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
SBUKR | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
SGSBR | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
SKOST | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
LSTAR | Activity Type | LSTAR | CHAR | 6 | CSLA | LSTAR | LAR | LART_EMPTY | |
EXBEL | Assignment number | HR_ZUONR | CHAR | 18 | HR_ZUONR | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
OTYPE | Object Type | OTYPE | CHAR | 2 | T778O | OTYPE | POT | ||
STELL | Job | STELL | NUMC | 8 | Assigned to domain | STELL | |||
POHRS | Number of Hours for Activity Allocation/External Services | POHRS | DEC | 7(2) | PTM_DEC5_2S | ||||
DART | Service Type (Public Service Germany) | DART | CHAR | 2 | Assigned to domain | DART | DAR | ||
UDART | Service Category (Public Service Germany) | UDART | CHAR | 2 | Assigned to domain | UDART | UDA | ||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
FIPEX | Commitment Item | FM_FIPEX | CHAR | 24 | Assigned to domain | FM_FIPEX | FPS | ||
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
SGEBER | Sender fund | FM_SFONDS | CHAR | 10 | Assigned to domain | BP_GEBER | SENDER_FUND | ||
SFKBER | Sending Functional Area | SFKTBER | CHAR | 16 | Assigned to domain | FKBER | |||
SGRANT_NBR | Sender Grant | GM_GRANT_SENDER | CHAR | 20 | ALPHA | GM_GRANT_NBR | |||
PROJECT_GUID | Project GUID (cProjects) | PTRV_PROJECT_GUID | RAW | 16 | CGPLP | CGPL_PROJECT_GUID | |||
PROJECT_EXT_ID | Project Number (cProjects) | PTRV_PROJECT_EXT_ID | CHAR | 24 | CGPL_EXTID | ||||
TASK_ROLE_GUID | Task GUID (cProjects) | PTRV_TASK_GUID | RAW | 16 | CGPLP | CGPL_PROJECT_GUID | |||
TASK_ROLE_EXT_ID | TaskRole Number (cProjects) | PTRV_TASK_ROLE_EXT_ID | CHAR | 24 | CGPL_EXTID | ||||
OBJECT_TYPE | Object Type (cProjects) | PTRV_OBJ_TYPE | CHAR | 3 | CHAR3 | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
SEGMENT | Segment for Segmental Reporting | FB_SEGMENT | CHAR | 10 | Assigned to domain | ALPHA | FB_SEGMENT | ||
BUDGET_PERIOD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
.INCLU--AP | 0 | ||||||||
CATEGORY | Cost Category | GLO_PTRV_COST_CAT | CHAR | 5 | Assigned to domain | GLO_PTRV_COST_CAT |
Key field | Non-key field |
How do I retrieve data from SAP structure PTK17 using ABAP code?
As PTK17 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 PTK17 as there is no data to select.How to access SAP table PTK17
Within an ECC or HANA version of SAP you can also view further information about PTK17 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