KKBML SAP (Drilldown Structure Material Ledger/Actual Costing) Structure details

Dictionary Type: Structure
Description: Drilldown Structure Material Ledger/Actual Costing




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




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

KKBML 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 "Drilldown Structure Material Ledger/Actual 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_KKBML TYPE KKBML.

The KKBML table consists of various fields, each holding specific information or linking keys about Drilldown Structure Material Ledger/Actual Costing data available in SAP. These include BKLAS (Valuation Class), BUKRS (Company Code), BWTAR (Valuation Type), CATEG (Category in Material Ledger Data Display).. 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: Cannot Be Enhanced


SAP KKBML 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
BEWERPreliminary Valuation KKB_ML_BEWERCURR15(2) WERTV8
BKLASValuation Class BKLASCHAR4T025BKLAS
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BWTARValuation Type BWTAR_DCHAR10T149DBWTARBWT
CATEGCategory in Material Ledger Data Display CKML_CATEGCHAR2CKML_CATEG
CURRTYPCurrency Type CURRTYPCHAR2CURRTYP
CURTPCurrency Type and Valuation View CURTPCHAR2CURTP
BDATJPosting Date YYYY BDATJNUMC4GJAHRGJAHRBDTJ
POPERPosting period POPERNUMC3POPERPOPR
JAHRPERPeriod/year JAHRPERNUMC7PERI7JAHRPER
KABWE_ESingle-Level Exchange Rate Differences KKB_ML_KABWE_ECURR15(2) WERTV8
KABWE_MMultilevel Exchange Rate Differences KKB_ML_KABWE_MCURR15(2) WERTV8
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
MENGEQuantity KKB_ML_MENGEQUAN15(3) MENGV8
MLASTMaterial Price Determination: Control CK_ML_ABSTCHAR1CK_ML_ABST
MTARTMaterial Type MTARTCHAR4T134MTARTMTA
PABWE_ESingle-Level Price Differences KKB_ML_PABWE_ECURR15(2) WERTV8
PABWE_MMultilevel Price Differences KKB_ML_PABWE_MCURR15(2) WERTV8
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
PRODHProduct hierarchy PRODH_DCHAR18T179PRODHVPR
PSPNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
PTYPProcess Category (Procurement/Consumption) CKML_PROZESS_TYPCHAR4Assigned to domainCKML_PROZESS_TYP
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
VALUTYPValuation View VALUTYPNUMC1VALUTYPVTP
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
SOBKZSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
VSZHLInternal version counter ( ea. version has a unique number) VSZHLNUMC8VSZHL
CUST0130 Characters CHAR30CHAR30CHAR30
CUST0230 Characters CHAR30CHAR30CHAR30
CUST0330 Characters CHAR30CHAR30CHAR30
CUST04Character Field Length = 10 CHAR10CHAR10CHAR10
CUST05Text Field TEXT50CHAR50TEXT50
RUN_ACTCosting Run in Actual Costing CKML_RUN_TYPECHAR8Assigned to domainCKML_RUN_TYPECKML_RUN_TYPE
RUN_APPLMaterial Ledger Costing Run Application CKML_RUN_APPLCHAR4CKML_RUN_APPL
BWKEYValuation Area BWKEYCHAR4Assigned to domainBWKEYBWK
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC

Key field Non-key field



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

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

How to access SAP table KKBML

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