PKOSA SAP (Transfer Structure for Production Cost Collector) Structure details
Description: Transfer Structure for Production Cost Collector
Structure field list including key, data, relationships and ABAP select examples
PKOSA 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 "Transfer Structure for Production Cost Collector" 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_PKOSA TYPE PKOSA.
The PKOSA table consists of various fields, each holding specific information or linking keys about Transfer Structure for Production Cost Collector data available in SAP. These include AUTYP (Order category), AUFNR (Order Number), PROCNR (Production Process), PROTY (Process Category (Procurement/Consumption)).. 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 PKOSA 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 |
AUART | Order Type | AUFART | CHAR | 4 | T003O | AUFART | AAT | ||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
PROCNR | Production Process | CKML_F_PROCNR | NUMC | 12 | Assigned to domain | CK_KALNR | CKML_PROCNR | ||
PROTY | Process Category (Procurement/Consumption) | CKML_PROZESS_TYP | CHAR | 4 | Assigned to domain | CKML_PROZESS_TYP | |||
SAFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
VERID | Production Version | VERID | CHAR | 4 | MKAL | VERID | VER | ||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
ERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
AENAM | Last changed by | AUFAENAM | CHAR | 12 | USNAM | ||||
AEDAT | Change date for Order Master | AUFAEDAT | DATS | 8 | DATUM | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
AUFEX | External order number | AUFEX | CHAR | 20 | ALPHA | AUFEX | |||
KTEXT | Description | AUFTEXT | CHAR | 40 | TEXT40 | ||||
KOSTV | Responsible cost center | AUFKOSTV | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | ||
STORT | Location | AUFSTORT | CHAR | 10 | Assigned to domain | AP_STAND | |||
SOWRK | Location plant | AUFSOWRK | CHAR | 4 | Assigned to domain | WERKS | |||
LOEKZ | Deletion flag | AUFLOEKZ | CHAR | 1 | XFELD | ||||
KLVARP | Costing variant for planned costs | KALKVARPLN | CHAR | 4 | Assigned to domain | KLVAR | |||
KLVARI | Costing variant for actual costs | KALKVARIST | CHAR | 4 | Assigned to domain | KLVAR | |||
KALSM | Costing Sheet | AUFKALSM | CHAR | 6 | T683 | KALSM | |||
ZSCHL | Overhead key | AUFZSCHL | CHAR | 6 | CHAR6 | ||||
ABKRS | Processing group | AUFABKRS | NUMC | 2 | Assigned to domain | AKREIS | AKR | ||
KSTAR | Settlement cost element | AUFKSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | ||
KOSTL | Cost center for basic settlement | AUFKOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
SAKNR | G/L account for basic settlement | AUFSAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | |
SETNM | Allocation set | AUFSETNM | CHAR | 12 | SETNR | GSE | |||
CYCLE | Allocation cycle | AUFCYCLE | CHAR | 10 | CYCLE | ||||
USER0 | Applicant | AUFUSER0 | CHAR | 20 | AUFUSER0 | ||||
USER1 | Applicant's telephone number | AUFUSER1 | CHAR | 20 | AUFUSER1 | ||||
USER2 | Person responsible | AUFUSER2 | CHAR | 20 | AUFUSER2 | ||||
USER3 | Telephone number of person in charge | AUFUSER3 | CHAR | 20 | AUFUSER3 | ||||
USER4 | Estimated total costs of order | AUFUSER4 | CURR | 11(2) | AUFUSER4 | ||||
USER5 | Application Date | AUFUSER5 | DATS | 8 | AUFUSER5 | ||||
USER6 | Department | AUFUSER6 | CHAR | 15 | AUFUSER6 | ||||
USER7 | Work Start | AUFUSER7 | DATS | 8 | AUFUSER7 | ||||
USER8 | End of Work | AUFUSER8 | DATS | 8 | AUFUSER8 | ||||
USER9 | Identifier for work permit issued | AUFUSER9 | CHAR | 1 | AUFUSER9 | ||||
PSPEL | Work breakdown structure element (WBS element) | PS_PSP_ELE | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
AWSLS | Variance Key | AWSLS | CHAR | 6 | TKV01 | AWSLS | |||
ABGSL | Results Analysis Key | ABGR_SCHL | CHAR | 6 | TKKAA | ABGR_SCHL | ACS | ||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | CEPC | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
RTP01 | Cost collector for repetitive manufacturing | RTP01 | CHAR | 1 | XFELD | ||||
RTP02 | Cost collector for KANBAN | RTP02 | CHAR | 1 | XFELD | ||||
RTP03 | Cost collector for valuated sales order stock | RTP03 | CHAR | 1 | XFELD | ||||
RTP04 | Cost collector for external PPC | RTP04 | CHAR | 1 | XFELD | ||||
KSVON | Cost collector valid from | KSVON | DATS | 8 | DATUM | ||||
KSBIS | Cost collector valid to | KSBIS | DATS | 8 | DATUM | ||||
PWERK | Planning plant for the order | CO_PWERK | CHAR | 4 | Assigned to domain | WERKS | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
FUNC_AREA | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE |
Key field | Non-key field |
How do I retrieve data from SAP structure PKOSA using ABAP code?
As PKOSA 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 PKOSA as there is no data to select.How to access SAP table PKOSA
Within an ECC or HANA version of SAP you can also view further information about PKOSA 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