KKS1 SAP (CKKS + CKKT) Structure details
Description: CKKS + CKKT
Structure field list including key, data, relationships and ABAP select examples
KKS1 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 "CKKS + CKKT" 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_KKS1 TYPE KKS1.
The KKS1 table consists of various fields, each holding specific information or linking keys about CKKS + CKKT data available in SAP. These include KOKRS (Controlling Area), KALNR (Cost Estimate Number (Unit Costing)), WTTYP (Unit costing value type), VERSN (Version Number of the Value Type of a Unit Cost Estimate).. 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 KKS1 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
KALNR | Cost Estimate Number (Unit Costing) | KALNR | CHAR | 8 | KALNR | KNR | |||
WTTYP | Unit costing value type | WTTYP | NUMC | 2 | WTTYP | ||||
VERSN | Version Number of the Value Type of a Unit Cost Estimate | VERS2 | NUMC | 2 | Assigned to domain | VERS2 | |||
KKART | Costing Variant (Corresponds to KLVAR) | KKART | CHAR | 4 | TKKEA | KKART | KRT | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
ERFDT | Created on | ERFDT | DATS | 8 | DATUM | ||||
ERFNM | Entered by | ERFNM | CHAR | 12 | USNAM | ||||
AENDT | Date of last change | AENDT | DATS | 8 | DATUM | ||||
AENNM | Last changed by | AENNM | CHAR | 12 | USNAM | ||||
ABSDT | Close date | ABSDT | DATS | 8 | DATUM | ||||
ABSNM | User ID of the person who closed the cost estimate | ABSNM | CHAR | 12 | USNAM | ||||
STATK | Header Status | STATK | CHAR | 4 | STATE | ||||
STRNG | Internal header control | STRNG | CHAR | 4 | STATE | ||||
PSDAT | Pricing Date | PSDAT | DATS | 8 | DATUM | ||||
MENGE | Lot Size | MENGE_KPF | QUAN | 15(3) | CQUA8 | ||||
MEEHT | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
HWGES | Total Value of Cost Estimate in Local Currency | HWGES | CURR | 15(2) | CVAL8 | ||||
FWGES | Total Value for Cost Estimate in Foreign Currency | FWGES | CURR | 15(2) | CVAL8 | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | TCURC | WAERS | |||
FWAER | Foreign Currency in Header | FWAER | CUKY | 5 | TCURC | WAERS | |||
UKURS | Exchange Rate | UKURS_D | DEC | 9(5) | UKURS | ||||
KURST | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
FFACT | Factor for the 'From' Currency Units | FFACT | DEC | 9 | DEC9 | ||||
TFACT | Factor for the 'To' Currency Units | TFACT_D | DEC | 9 | DEC9 | ||||
GWRT1 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT2 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT3 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT4 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
GWRT5 | Total Value of Price Component 1 | GWRT1 | CURR | 15(2) | CVAL8 | ||||
STFLG | Sales Order Cost Estimate Is Marked | STFLG | CHAR | 1 | YNFLG | ||||
ZTFLG | Flag for time-based unit costing | DZTFLG | CHAR | 1 | YNFLG | ||||
FVFLG | Fixed/Variable Indicator | FVFLG | CHAR | 1 | FVFLG | ||||
DLFLG | Deletion Flag for Unit Costing | DLFLG | CHAR | 1 | YNFLG | ||||
FRFLG | Release Flag | FRFLG | CHAR | 1 | YNFLG | ||||
PRVFN | Pricing procedure | PRVFN | CHAR | 1 | PRVFN | ||||
PKANZ | Number of Price Components | PKANZ | NUMC | 1 | NUM01 | ||||
BZOBJ | Reference Object | BZOBJ | CHAR | 1 | BZOBJ | ||||
PSANZ | Number of Costing Items | PSANZ | NUMC | 5 | Assigned to domain | POSN5 | |||
KNNZ1 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
KNNZ2 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
KNNZ3 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
KNNZ4 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
KNNZ5 | Unit Costing Indicator | KZCHN | CHAR | 1 | CHAR1 | ||||
SPRAS | Language Key | SPRAS | LANG | 1 | T002 | ISOLA | SPRAS | SPR | H_T002 |
TXN08 | Number of the standard text | TXN08 | CHAR | 8 | TXN08 | ||||
KTEXT | General Name | KTEXT | CHAR | 20 | TEXT20 | ||||
LTEXT | Description | KLTXT | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure KKS1 using ABAP code?
As KKS1 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 KKS1 as there is no data to select.How to access SAP table KKS1
Within an ECC or HANA version of SAP you can also view further information about KKS1 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