PKOSA SAP (Transfer Structure for Production Cost Collector) Structure details

Dictionary Type: Structure
Description: Transfer Structure for Production Cost Collector




ABAP Code to SELECT data from PKOSA
Related tables to PKOSA
Access table PKOSA




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
AUARTOrder Type AUFARTCHAR4T003OAUFARTAAT
AUTYPOrder category AUFTYPNUMC2AUFTYP
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
PROCNRProduction Process CKML_F_PROCNRNUMC12Assigned to domainCK_KALNRCKML_PROCNR
PROTYProcess Category (Procurement/Consumption) CKML_PROZESS_TYPCHAR4Assigned to domainCKML_PROZESS_TYP
SAFNRRun schedule header number SA_AUFNRCHAR12Assigned to domainALPHASA_AUFNR
VERIDProduction Version VERIDCHAR4MKALVERIDVER
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
ERDATDate on Which Record Was Created ERDATDATS8DATUM
AENAMLast changed by AUFAENAMCHAR12USNAM
AEDATChange date for Order Master AUFAEDATDATS8DATUM
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
AUFEXExternal order number AUFEXCHAR20ALPHAAUFEX
KTEXTDescription AUFTEXTCHAR40TEXT40
KOSTVResponsible cost center AUFKOSTVCHAR10Assigned to domainALPHAKOSTL
STORTLocation AUFSTORTCHAR10Assigned to domainAP_STAND
SOWRKLocation plant AUFSOWRKCHAR4Assigned to domainWERKS
LOEKZDeletion flag AUFLOEKZCHAR1XFELD
KLVARPCosting variant for planned costs KALKVARPLNCHAR4Assigned to domainKLVAR
KLVARICosting variant for actual costs KALKVARISTCHAR4Assigned to domainKLVAR
KALSMCosting Sheet AUFKALSMCHAR6T683KALSM
ZSCHLOverhead key AUFZSCHLCHAR6CHAR6
ABKRSProcessing group AUFABKRSNUMC2Assigned to domainAKREISAKR
KSTARSettlement cost element AUFKSTARCHAR10Assigned to domainALPHAKSTAR
KOSTLCost center for basic settlement AUFKOSTLCHAR10Assigned to domainALPHAKOSTLKOS
SAKNRG/L account for basic settlement AUFSAKNRCHAR10Assigned to domainALPHASAKNRSAK
SETNMAllocation set AUFSETNMCHAR12SETNRGSE
CYCLEAllocation cycle AUFCYCLECHAR10CYCLE
USER0Applicant AUFUSER0CHAR20AUFUSER0
USER1Applicant's telephone number AUFUSER1CHAR20AUFUSER1
USER2Person responsible AUFUSER2CHAR20AUFUSER2
USER3Telephone number of person in charge AUFUSER3CHAR20AUFUSER3
USER4Estimated total costs of order AUFUSER4CURR11(2) AUFUSER4
USER5Application Date AUFUSER5DATS8AUFUSER5
USER6Department AUFUSER6CHAR15AUFUSER6
USER7Work Start AUFUSER7DATS8AUFUSER7
USER8End of Work AUFUSER8DATS8AUFUSER8
USER9Identifier for work permit issued AUFUSER9CHAR1AUFUSER9
PSPELWork breakdown structure element (WBS element) PS_PSP_ELENUMC8Assigned to domainKONPRPS_POSNR
AWSLSVariance Key AWSLSCHAR6TKV01AWSLS
ABGSLResults Analysis Key ABGR_SCHLCHAR6TKKAAABGR_SCHLACS
BWTTYValuation Category BWTTY_DCHAR1Assigned to domainBWTTY
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
PRCTRProfit Center PRCTRCHAR10CEPCALPHAPRCTRPRCPRCTR_EMPTY
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
RTP01Cost collector for repetitive manufacturing RTP01CHAR1XFELD
RTP02Cost collector for KANBAN RTP02CHAR1XFELD
RTP03Cost collector for valuated sales order stock RTP03CHAR1XFELD
RTP04Cost collector for external PPC RTP04CHAR1XFELD
KSVONCost collector valid from KSVONDATS8DATUM
KSBISCost collector valid to KSBISDATS8DATUM
PWERKPlanning plant for the order CO_PWERKCHAR4Assigned to domainWERKS
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
FUNC_AREAFunctional Area FKBERCHAR16Assigned to domainFKBERFBE

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!