KKBE SAP (Cost Component Report Table) Structure details

Dictionary Type: Structure
Description: Cost Component Report Table




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




Structure field list including key, data, relationships and ABAP select examples

KKBE 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 "Cost Component Report Table" 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_KKBE TYPE KKBE.

The KKBE table consists of various fields, each holding specific information or linking keys about Cost Component Report Table data available in SAP. These include WERKS (Plant), KDAUF (Sales Order), KDPOS (Sales order item), SMATN (Material 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: Can be enhanced (character-type or numeric)


SAP KKBE 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
MATNRMaterial Number KKB_MATNRCHAR40KKB_MATNR
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
KDAUFSales Order KKB_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSSales order item CO_KDPOSNUMC6Assigned to domainPOSNRAUP
SMATNMaterial Number KKB_MATNRCHAR40KKB_MATNR
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KLVARCosting Variant CK_KLVARCHAR4Assigned to domainKLVARKRT
TVERSCosting Version CK_TVERSNUMC2CK_VERSIONVSN
KADKYCosting Date (Key) CK_KADKYDATS8CK_KADATKKK
KALNR_BACost Estimate Number of Procurement Alternative CKKALNRBANUMC12Assigned to domainCK_KALNR
MATNR2Lot Size KKB_LOSGRCHAR18CHAR18
WERKS2Plant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
AUFNR2Order Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
KLVAR2Costing Variant CK_KLVARCHAR4Assigned to domainKLVARKRT
TVERS2Costing Version CK_TVERSNUMC2CK_VERSIONVSN
KADKY2Costing Date (Key) CK_KADKYDATS8CK_KADATKKK
KALNR_BA2Cost Estimate Number of Procurement Alternative CKKALNRBANUMC12Assigned to domainCK_KALNR
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
VERSNVersion VERSNCHAR3Assigned to domainALPHACOVERSIKVS
BWVARValuation Variant in Costing CK_BWVARCHAR3Assigned to domainCK_BWVARBWV
KKZMMCosts Were Entered Manually in an Additive Cost Estimate KKZMMCHAR1XFELD
WRTTPValue Type CO_WRTTPCHAR2CO_WRTTP
PERBLPeriod block PERBLNUMC3PERBLVPE
ELEMTCost component KKB_ELEMTNUMC3PERBL
WERTGSCost Field KSTELCURR13(2) WERTV7
WERTGHCost Field KSTELCURR13(2) WERTV7
WERTGVCost Field KSTELCURR13(2) WERTV7
WERTFGCost Field KSTELCURR13(2) WERTV7
WERTFHCost Field KSTELCURR13(2) WERTV7
WERTFVCost Field KSTELCURR13(2) WERTV7
SICHTCost Component View CK_SICHTNUMC2Assigned to domainCK_SICHT
LOSGRLot Size KKB_LOSGRCHAR18CHAR18
LOSG1Lot Size KKB_LOSGRCHAR18CHAR18
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
LEINHBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
KWAERControlling area currency KWAERCUKY5Assigned to domainWAERSKWS
KADAMCosting Date From KKB_KADAMDATS8CK_KADAT
BIDAMCosting Date To KKB_BIDAMDATS8CK_KADAT
MTYPEConfigured material KKB_TYPECHAR40KKB_MATNR
OBJIDIndicator for Configurable Objects CK_CUOBJIDCHAR1CK_CUOBJID
NSCHIIndicator for Auxiliary Cost Component Split KKB_NSCHICHAR1XFLAG

Key field Non-key field



How do I retrieve data from SAP structure KKBE using ABAP code?

As KKBE 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 KKBE as there is no data to select.

How to access SAP table KKBE

Within an ECC or HANA version of SAP you can also view further information about KKBE 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!