KKS01 SAP (Structure for Saving the Work List (variance, scrap)) Structure details
Description: Structure for Saving the Work List (variance, scrap)
Structure field list including key, data, relationships and ABAP select examples
KKS01 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 "Structure for Saving the Work List (variance, scrap)" 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_KKS01 TYPE KKS01.
The KKS01 table consists of various fields, each holding specific information or linking keys about Structure for Saving the Work List (variance, scrap) data available in SAP. These include AUFNR (Order Number), POSNR (Order Item Number), AWVRS (Target Cost Version), WERKS (Plant).. 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 KKS01 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 |
SELKZ | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
POSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
AWVRS | Target Cost Version | AWVRS | CHAR | 3 | Assigned to domain | ALPHA | AWVRS | VAV | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
SAFNR | Run schedule header number | SA_AUFNR | CHAR | 12 | Assigned to domain | ALPHA | SA_AUFNR | ||
PROCNR | Production Process | CKML_F_PROCNR | NUMC | 12 | Assigned to domain | CK_KALNR | CKML_PROCNR | ||
AUART | Order Type | AUFART | CHAR | 4 | Assigned to domain | AUFART | AAT | ||
AUTYP | Order category | AUFTYP | NUMC | 2 | AUFTYP | ||||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
LAUFN | Leading order in current processing | CO_LAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
MLTPS | Order with multiple items | CO_MLTPS | CHAR | 1 | KREUZ | ||||
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 | ||
OBJID | Cost Object (Cost Accounting Object) | CO_OBJID | CHAR | 62 | TEXT62 | ||||
OBJNP | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
SUBRC | Return Code for Calculation of Variances and Scrap | KKS01SUBRC | CHAR | 2 | CHAR2 | ||||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGNO | Message number | MSGNR | CHAR | 3 | Assigned to domain | MSGNR | |||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGTX | Message Text | KVMSGTX | CHAR | 132 | CHAR132 | ||||
SICON | Icon internal format | ICON_INT | CHAR | 8 | ICON_INT | ||||
RICON | Icon internal format | ICON_INT | CHAR | 8 | ICON_INT | ||||
INITI | Worklist for Variance Calculation: Initial Flag Order | KKS01_INI | CHAR | 1 | CHAR1 | ||||
FILTR | Worklist: Filter | KKS01_FILTER | CHAR | 1 | CHAR1 |
Key field | Non-key field |
How do I retrieve data from SAP structure KKS01 using ABAP code?
As KKS01 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 KKS01 as there is no data to select.How to access SAP table KKS01
Within an ECC or HANA version of SAP you can also view further information about KKS01 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