KKS09 SAP (Variance Calculation: Objects to Be Processed) Structure details
Description: Variance Calculation: Objects to Be Processed
Structure field list including key, data, relationships and ABAP select examples
KKS09 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 "Variance Calculation: Objects to Be Processed" 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_KKS09 TYPE KKS09.
The KKS09 table consists of various fields, each holding specific information or linking keys about Variance Calculation: Objects to Be Processed data available in SAP. These include MATNR (Material Number for Order), AUFNR (Order Number), POSNR (Order Item Number), OBJNR (Object number).. 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 KKS09 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 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number for Order | CO_MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
POSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
OBJNP | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
PKOSA | Cost collector for production process PROCNR | PKOSA_D | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
OBJNC | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
ERDAT | Created on | AUFERFDAT | DATS | 8 | DATUM | ||||
WAERS | Order Currency | AUFWAERS | CUKY | 5 | Assigned to domain | WAERS | |||
IDAT2 | Technical completion date | AUFIDAT2 | DATS | 8 | DATUM | ||||
LOEKZ | Deletion flag | AUFLOEKZ | CHAR | 1 | XFELD | ||||
AWSLS | Variance Key | AWSLS | CHAR | 6 | Assigned to domain | AWSLS | |||
ABGSL | Results Analysis Key | ABGR_SCHL | CHAR | 6 | Assigned to domain | ABGR_SCHL | ACS | ||
LAUFN | Leading order in current processing | CO_LAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
LTRMI | Actual delivery/finish date | CO_LTRMI | DATS | 8 | DATUM | ||||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
SAFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
KONTY | Account assignment category | KONTY | CHAR | 2 | OBART | J_OBART_LD | |||
PERBZ | Settlement type | PERBZ_LD | CHAR | 3 | PERBZ | PERBZ_LD | |||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
PROJN | Work breakdown structure element (WBS element) | PS_PSP_ELE | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
KDAUF | Sales order number | CO_KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Sales order item | CO_KDPOS | NUMC | 6 | Assigned to domain | POSNR | AUP | ||
KZBWS | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
PRNET | Indicator: Order is part of collective order | CO_PRODNET | CHAR | 1 | KREUZ | ||||
CPROC | Collective order with/without automatic goods movement | CO_COLORDPRC | CHAR | 1 | CO_COLORDPRC | ||||
MLTPS | Order with multiple items | CO_MLTPS | CHAR | 1 | KREUZ | ||||
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
FXPRU | Fixed-Price Co-Product | CK_FIXPRKU | CHAR | 1 | XFELD | ||||
PROTY | Process Category (Procurement/Consumption) | CKML_PROZESS_TYP | CHAR | 4 | Assigned to domain | CKML_PROZESS_TYP | |||
PROCNR | Production Process | CKML_F_PROCNR | NUMC | 12 | Assigned to domain | CK_KALNR | CKML_PROCNR | ||
PWERK | Planning plant for the order | CO_PWERK | CHAR | 4 | Assigned to domain | WERKS | |||
MAUFNR | Number of superior order | MAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | UAF | |
SPLSTAT | Status of an order in a split hierarchy | SPLIT_STAT | CHAR | 1 | SPLIT_STAT | ||||
SUBRC | Return Code | SYSUBRC | INT4 | 10 | SYST_SHORT |
Key field | Non-key field |
How do I retrieve data from SAP structure KKS09 using ABAP code?
As KKS09 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 KKS09 as there is no data to select.How to access SAP table KKS09
Within an ECC or HANA version of SAP you can also view further information about KKS09 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