KKBU SAP (Report Table for Unit Costing) Structure details

Dictionary Type: Structure
Description: Report Table for Unit Costing




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




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

KKBU 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 "Report Table for Unit Costing" 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_KKBU TYPE KKBU.

The KKBU table consists of various fields, each holding specific information or linking keys about Report Table for Unit Costing data available in SAP. These include KOKRS (Controlling Area), AUFNR (Order Number), GJAHR (Fiscal Year), KSTRG (Cost Object).. 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 KKBU 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
EXTNRBase Planning Object (External Number) EXTNRCHAR18Assigned to domainALPHAEXTNREBT
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
KDAUFSales Order KKB_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSSales order item CO_KDPOSNUMC6Assigned to domainPOSNRAUP
PRONRWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
VERSNVersion VERSNCHAR3Assigned to domainALPHACOVERSIKVS
PKOSTCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
SMATNMaterial Number KKB_MATNRCHAR40KKB_MATNR
KALKACosting Type CK_KALKACHAR2Assigned to domainCK_KALKAKKA
TVERSCosting Version CK_TVERSNUMC2CK_VERSIONVSN
POSNRItem Number with Item Text KKB_POSNRNUMC5Assigned to domainCK_POSNR
POSNR1Item Number with Origin KKB_POSNR1NUMC5Assigned to domainCK_POSNR
POSNR2Item Number with Cost Element KKB_POSNR2NUMC5Assigned to domainCK_POSNR
TYPPSItem Category TYPPSCHAR1TYPPS
KSTARCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
HRKFTOrigin (Material) KKB_HRKFTCHAR4Assigned to domainHRKFT
KWAERControlling area currency KWAERCUKY5Assigned to domainWAERSKWS
MATNRMaterial Number KKB_MATNRCHAR40KKB_MATNR
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
KADKYCosting Date (Key) CK_KADKYDATS8CK_KADATKKK
GPREISTotal Price for Costing Item GPREISCURR15(2) CVAL8
FPREISFixed Price in Local Currency PPFXXXCURR15(2) WERTV8
OPREISTotal Price in Foreign Currency PPOXXXCURR15(2) WERTV8
WERTBItem Gross Value WERTBCURR15(2) CVAL8
WERTNNet Value of Item WERTNCURR15(2) CVAL8
WRTFXFixed Value in Local Currency WPFXXXCURR15(2) WERTV8
WRTFX_OFixed Value in Local Currency WPFXXXCURR15(2) WERTV8
WRTFW_KPFTotal Value in Foreign Currency (Header) WPOXXXCURR15(2) WERTV8
WRTFW_POSGross Value in Foreign Currency WERTFCURR15(2) CVAL8
AUSMG1Scrap Quantity CK_AUSMGQUAN15(3) CQUA8
SCRAPScrap KKB_SCRAPCURR15(2) CVAL8
SCRAP_OScrap KKB_SCRAPCURR15(2) CVAL8
AUSMG2Component Scrap Quantity CK_AUSMGKOQUAN15(3) CQUA8
SCRAKComponent Scrap KKB_SCRAKCURR15(2) CVAL8
SCRAK_OComponent Scrap KKB_SCRAKCURR15(2) CVAL8
MTYPEConfigured material KKB_TYPECHAR40KKB_MATNR
OBJIDIndicator for Configurable Objects CK_CUOBJIDCHAR1CK_CUOBJID
FWAERCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
MENGEQuantity MENGE_POSQUAN15(3) CQUA8
MEEHTBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
LEINHBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
LOSGRLot Size KKB_LOSGRCHAR18CHAR18
LOSG1Lot Size KKB_LOSGRCHAR18CHAR18
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
PKSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
PLSTAActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
PWERKPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PMATNMaterial Number KKB_MATNRCHAR40KKB_MATNR
PARPLWork center ARBPLCHAR8ARBPLAGR
PLIFNAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
PMAWROrigin for Primary and Secondary Cost Elements KKB_HERKUCHAR46CHAR46
PKSLAMaterial Number KKB_MATNRCHAR40KKB_MATNR
KLVARCosting Variant CK_KLVARCHAR4Assigned to domainKLVARKRT
KALNR_BACost Estimate Number of Procurement Alternative CKKALNRBANUMC12Assigned to domainCK_KALNR
KADAMCosting Date From KKB_KADAMDATS8CK_KADAT
BIDAMCosting Date To KKB_BIDAMDATS8CK_KADAT
PERBLPeriod KKB_PERBLNUMC3KKB_PERBL
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
SICHTCost Component View CK_SICHTNUMC2Assigned to domainCK_SICHT
PKF001Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF002Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF003Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF004Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF005Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF006Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF007Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF008Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF009Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF010Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF011Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF012Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF013Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF014Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF015Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PKF016Fixed Price in Local Currency PPFXXXCURR15(2) WERTV8
PPG001Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG002Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG003Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG004Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG005Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG006Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG007Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG008Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG009Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG010Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG011Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG012Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG013Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG014Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG015Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PPG016Total Price in Local Currency PPGXXXCURR15(2) WERTV8
PMG001Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG002Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG003Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG004Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG005Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG006Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG007Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG008Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG009Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG010Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG011Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG012Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG013Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG014Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG015Period Quantity for Costing PMKXXCURR15(2) WERTV8
PMG016Period Quantity for Costing PMKXXCURR15(2) WERTV8
PPO001Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO002Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO003Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO004Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO005Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO006Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO007Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO008Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO009Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO010Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO011Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO012Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO013Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO014Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO015Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PPO016Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO001Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO002Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO003Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO004Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO005Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO006Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO007Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO008Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO009Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO010Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO011Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO012Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO013Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO014Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO015Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8
PFO016Total Price in Foreign Currency PPOXXXCURR15(2) WERTV8

Key field Non-key field



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

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

How to access SAP table KKBU

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