KKBCS SAP (Controlling Object frm CM View (Costs and Input Quantities)) Structure details
Description: Controlling Object frm CM View (Costs and Input Quantities)
Structure field list including key, data, relationships and ABAP select examples
KKBCS 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 "Controlling Object frm CM View (Costs and Input Quantities)" 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_KKBCS TYPE KKBCS.
The KKBCS table consists of various fields, each holding specific information or linking keys about Controlling Object frm CM View (Costs and Input Quantities) data available in SAP. These include OBJNR (Object number), HERKZ (Origin Indicator), VALUTYP (Valuation View), VERSN (Version).. 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 KKBCS 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 |
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
HERKZ | Origin Indicator | KKB_HERKZ | CHAR | 1 | KKB_HERKZ | ||||
VALUTYP | Valuation View | VALUTYP | NUMC | 1 | VALUTYP | VTP | |||
VERSN | Version | VERSN | CHAR | 3 | Assigned to domain | ALPHA | COVERSI | KVS | |
BELAR | Debit indicator | KKB_BELAR | CHAR | 1 | KKB_BELAR | ||||
WRTTP | Value Type | CO_WRTTP | CHAR | 2 | CO_WRTTP | ||||
ABKAT | Category for Variance/Results Analysis | ABKAT | NUMC | 2 | ABKAT | ABKAT | |||
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
ELEMT | Cost Element Group | KKB_ELEMENT | NUMC | 3 | Assigned to domain | CK_ELEMENT | |||
EGRUP | Cost Component Group | KKB_EGRUP | CHAR | 2 | Assigned to domain | CK_EL_GRUP | |||
PERIO | Period/year | JAHRPER | NUMC | 7 | PERI7 | JAHRPER | |||
BEWEG | Business Transaction on Manufacturing Orders | KKB_BEWEG | CHAR | 1 | BEWEG | KKB_BEWEG | |||
HKTYP | Origin Type | KKB_POBART | CHAR | 2 | CHAR2 | ||||
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
HERKU | Origin for Primary and Secondary Cost Elements | KKB_HERKU | CHAR | 46 | CHAR46 | ||||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
LSTAR | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
PKSLA | Cost Center/Activity Type | KKB_PKSLA | CHAR | 16 | |||||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PMAWR | Plant/Material | KKB_PMAWR | CHAR | 23 | KKB_PMAWR | ||||
HKGRP | Origin Group | KKB_HKGRP | CHAR | 4 | Assigned to domain | HRKFT | |||
BEMOT | Accounting Indicator | BEMOT | CHAR | 2 | Assigned to domain | BEMOT | |||
PARTN | Partner Object for Secondary Cost Elements | KKB_PARTN | CHAR | 24 | CHAR24 | ||||
MEINH | Input Unit of Measure | KKB_MEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
OWAER | Currency Key | OWAER | CUKY | 5 | Assigned to domain | WAERS | OWS | ||
KWAER | Controlling area currency | KWAER | CUKY | 5 | Assigned to domain | WAERS | KWS | ||
ELEHK | Cost Component Structure - CGM and Sales/Administr. Costs | CK_ELESMHK | CHAR | 2 | Assigned to domain | CK_ELESMHK | EHK | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
WKG000 | Total Value in Controlling Area Currency | WKGXXX | CURR | 15(2) | WERTV8 | ||||
WKF000 | Fixed Value in Controlling Area Currency | WKFXXX | CURR | 15(2) | WERTV8 | ||||
WOG000 | Total Value in Object Currency | WOGXXX | CURR | 15(2) | WERTV8 | ||||
WOF000 | Fixed value in object currency (not in DB) | WOFXXX | CURR | 15(2) | WERTV8 | ||||
MEG000 | Total Quantity | MEGXXX | QUAN | 15(3) | MENGV8 | ||||
MEF000 | Fixed Quantity | MEFXXX | QUAN | 15(3) | MENGV8 |
Key field | Non-key field |
How do I retrieve data from SAP structure KKBCS using ABAP code?
As KKBCS 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 KKBCS as there is no data to select.How to access SAP table KKBCS
Within an ECC or HANA version of SAP you can also view further information about KKBCS 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