KKBU_STRUC SAP (Itemization BADI) Structure details

Dictionary Type: Structure
Description: Itemization BADI




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




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

KKBU_STRUC 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 "Itemization BADI" 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_STRUC TYPE KKBU_STRUC.

The KKBU_STRUC table consists of various fields, each holding specific information or linking keys about Itemization BADI data available in SAP. These include STUFE (Loop Index), POSNR (Unit Costing Line Item Number), TYPPS (Item Category), TYPPS_TEXT (User field for cluster PC (national)).. 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_STRUC 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
GSTUFChar 20 CHAR20CHAR20CHAR20
STUFELoop Index SYINDEXINT410SYST_LONG
POSNRUnit Costing Line Item Number CK_POSNRNUMC5Assigned to domainCK_POSNR
TYPPSItem Category TYPPSCHAR1TYPPS
TYPPS_TEXTUser field for cluster PC (national) CHAR25CHAR25CHAR25
KSTARCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
KSTAR_TEXTDescription KLTXTCHAR40TEXT40
ELEMTCost Component Number of Main Cost Component Split CK_ELEMENTHSNUMC3Assigned to domainCK_ELEMENT
ELEMT_TEXTName of Cost Component CK_TXELECHAR20TEXT20
HRKFTOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
HRKFT_TEXTName HRTXTCHAR40TEXT40
RESOUOrigin1, origin2 and origin3 KKEK_RESSCHAR52CHAR52
PWERKPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PMATNMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
KALNR_BACost Estimate Number of Procurement Alternative CKKALNRBANUMC12Assigned to domainCK_KALNR
NAMEProcurement Alternative KKB_NAMECHAR50CKML_EDIT_NAME
SORT_NAMEProcurement Alternative: Sort String KKB_SORT_NAMECHAR10CHAR10
BA_KTEXTProcurement Alternative: Text KKB_KTEXT_BACHAR50TEXT50
PMTARMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
PTVERCosting Version CK_TVERSNUMC2CK_VERSIONVSN
PKALKCosting Type CK_KALKACHAR2Assigned to domainCK_KALKAKKA
PKADKCosting Date (Key) CK_KADKYDATS8CK_KADATKKK
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
KOSTL_TEXTDescription KLTXTCHAR40TEXT40
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LSTAR_TEXTDescription KLTXTCHAR40TEXT40
ARBPLWork center ARBPLCHAR8ARBPLAGR
ARBPL_TEXTWork center description KTXT40CHAR40TEXT40
ARBPLWERKPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
LIFNR_TEXTName 1 NAME1_GPCHAR35NAME
PMAWROrigin for Primary and Secondary Cost Elements KKB_HERKUCHAR46CHAR46
PMAWR_TEXTMaterial Description (Short Text) MAKTXCHAR40TEXT40
PKSLAMaterial Number KKB_MATNRCHAR40KKB_MATNR
PKSLA_TEXTDescription KLTXTCHAR40TEXT40
PRZNRBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
PRZNR_TEXTDescription KLTXTCHAR40TEXT40
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
VORNR_TEXTDescription KLTXTCHAR40TEXT40
INFNRNumber of Purchasing Info Record INFNRCHAR10Assigned to domainALPHAINFNRINFMEIN_C
EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
ASNUMActivity Number ASNUMCHAR18Assigned to domainALPHAASNUMASN
PSCHLPricing Key PSCHLCHAR18CHAR18
PEXTNBase Planning Object (External Number) EXTNRCHAR18Assigned to domainALPHAEXTNREBT
STPOSBOM Item Number SPOSNCHAR4NUMCVSPOSN
FEHLKNot More Closely Defined Area, Possibly Used for Patchlevels CHAR4CHAR4CHAR4
PSKNZLot-Size-Independent Indicator PSKNZCHAR1CHAR1
KALNRCost Estimate Number for Cost Est. w/o Qty Structure CK_KALNRNUMC12Assigned to domainCK_KALNRKNR
BAUGRItem Is an Assembly CK_BAUGRCHAR1CHAR1
STRATValuation Strategy used for Costing Item CK_STRATCHAR1XFELD
STRAT_TEXTUser field for cluster PC (national) CHAR25CHAR25CHAR25
LTEXTDescription KLTXTCHAR40TEXT40
OPCODFormula field for calculations at item level OPCODCHAR50OPCOD
PERIOPeriod/year JAHRPERNUMC7PERI7JAHRPER
PERIO_TEXTDescription KLTXTCHAR40TEXT40
TKSTAR Cost Element and Text0
MENGEQuantity MENGE_POSQUAN15(3) CQUA8
AMENGQuantity MENGE_POSQUAN15(3) CQUA8
VALOGValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALKGValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALTGValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALCGValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALOFValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALKFValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALTFValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALCFValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALOVValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALKVValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALTVValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
VALCVValue in Controlling Area Currency CK_KWTCURR15(2) WERTV8
PREOGPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PREKGPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PRETGPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PRECGPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PREOFPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PREKFPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PRETFPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PRECFPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PREOVPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PREKVPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PRETVPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PRECVPrice in Controlling Area Currency CK_KPTCURR15(2) WERTV8
PEINOPrice Unit of Prices in Controlling Area Currency CK_KPEINHDEC5PACK3
PEINKPrice Unit of Prices in Controlling Area Currency CK_KPEINHDEC5PACK3
PEINTPrice Unit of Prices in Controlling Area Currency CK_KPEINHDEC5PACK3
PEINCPrice Unit of Prices in Controlling Area Currency CK_KPEINHDEC5PACK3
AUSMGScrap Quantity CK_AUSMGQUAN15(3) CQUA8
AUSMGKOComponent Scrap Quantity CK_AUSMGKOQUAN15(3) CQUA8
SCRAPScrap KKB_SCRAPCURR15(2) CVAL8
SCRAP_OScrap KKB_SCRAPCURR15(2) CVAL8
SCRAP_TScrap KKB_SCRAPCURR15(2) CVAL8
SCRAP_CScrap KKB_SCRAPCURR15(2) CVAL8
SCRAKComponent Scrap KKB_SCRAKCURR15(2) CVAL8
SCRAK_OComponent Scrap KKB_SCRAKCURR15(2) CVAL8
SCRAK_TComponent Scrap KKB_SCRAKCURR15(2) CVAL8
SCRAK_CComponent Scrap KKB_SCRAKCURR15(2) CVAL8
MISCH_VERHMixing Ratio CK_CROSSRDEC13(3) DEC10_3
AUSPROZScrap Factor CK_SCRAPDEC6(3) DEC3_3
TWAERControlling area currency KWAERCUKY5Assigned to domainWAERSKWS
KWAERControlling area currency KWAERCUKY5Assigned to domainWAERSKWS
OWAERControlling area currency KWAERCUKY5Assigned to domainWAERSKWS
WAERSControlling area currency KWAERCUKY5Assigned to domainWAERSKWS
MEEHTBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
AUSMEUnit of issue AUSMEUNIT3Assigned to domainCUNITMEINS
PMEHTPrice Quantity Unit PMEHTUNIT3Assigned to domainCUNITMEINS
FALKO3-Byte field CHAR3CHAR3CHAR3
INDEXRow Index of Internal Tables SYTABIXINT410SYST_LONG
DINKELSingle-Character Indicator CHAR1CHAR1CHAR1
H_PSPNRWork Breakdown Structure Element (WBS Element) PS_POSIDCHAR24PROJNPS_POSIDPRO
H_AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
H_KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
H_VERSNVersion VERSNCHAR3Assigned to domainALPHACOVERSIKVS
H_GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
H_MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
H_WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
H_KLVARCosting Variant CK_KLVARCHAR4Assigned to domainKLVARKRT
H_KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
H_KDAUFSales Order KKB_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
H_KDPOSSales order item CO_KDPOSNUMC6Assigned to domainPOSNRAUP
H_PKOSTCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
DATA_EXTENDEDCheckbox XFELDCHAR1XFELD
.INCLU--AP 0
IPPE_NODE_NAMEIndicator for the iPPE Product Stucture CK_IPPE_HEADER_NAMECHAR40PVS_PNODE
IPPE_ALT_NAMEIndicator for the iPPE Activity CK_IPPE_ACTIVITY_NAMECHAR40PVS_PNODE
IPPE_PSV_NAMEVariant CK_PVS_POSVARCHAR8ALPHACK_PVS_POSVAR
IPPE_MODEAlternative of an iPPE Node CK_PVS_ALTNUMCHAR2ALPHACK_PVS_ALTNR
IPPE_RES_NAMEIndicator for the iPPE Resource CK_IPPE_RESOURCE_NAMECHAR40PVS_PNODE

Key field Non-key field



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

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

How to access SAP table KKBU_STRUC

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