KKBML SAP (Drilldown Structure Material Ledger/Actual Costing) Structure details
Description: Drilldown Structure Material Ledger/Actual Costing
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 |
BEWER | Preliminary Valuation | KKB_ML_BEWER | CURR | 15(2) | WERTV8 | ||||
BKLAS | Valuation Class | BKLAS | CHAR | 4 | T025 | BKLAS | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
CATEG | Category in Material Ledger Data Display | CKML_CATEG | CHAR | 2 | CKML_CATEG | ||||
CURRTYP | Currency Type | CURRTYP | CHAR | 2 | CURRTYP | ||||
CURTP | Currency Type and Valuation View | CURTP | CHAR | 2 | CURTP | ||||
BDATJ | Posting Date YYYY | BDATJ | NUMC | 4 | GJAHR | GJAHR | BDTJ | ||
POPER | Posting period | POPER | NUMC | 3 | POPER | POPR | |||
JAHRPER | Period/year | JAHRPER | NUMC | 7 | PERI7 | JAHRPER | |||
KABWE_E | Single-Level Exchange Rate Differences | KKB_ML_KABWE_E | CURR | 15(2) | WERTV8 | ||||
KABWE_M | Multilevel Exchange Rate Differences | KKB_ML_KABWE_M | CURR | 15(2) | WERTV8 | ||||
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | T006 | CUNIT | MEINS | ||
MENGE | Quantity | KKB_ML_MENGE | QUAN | 15(3) | MENGV8 | ||||
MLAST | Material Price Determination: Control | CK_ML_ABST | CHAR | 1 | CK_ML_ABST | ||||
MTART | Material Type | MTART | CHAR | 4 | T134 | MTART | MTA | ||
PABWE_E | Single-Level Price Differences | KKB_ML_PABWE_E | CURR | 15(2) | WERTV8 | ||||
PABWE_M | Multilevel Price Differences | KKB_ML_PABWE_M | CURR | 15(2) | WERTV8 | ||||
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
PRODH | Product hierarchy | PRODH_D | CHAR | 18 | T179 | PRODH | VPR | ||
PSPNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
PTYP | Process Category (Procurement/Consumption) | CKML_PROZESS_TYP | CHAR | 4 | Assigned to domain | CKML_PROZESS_TYP | |||
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
VALUTYP | Valuation View | VALUTYP | NUMC | 1 | VALUTYP | VTP | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
VSZHL | Internal version counter ( ea. version has a unique number) | VSZHL | NUMC | 8 | VSZHL | ||||
CUST01 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
CUST02 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
CUST03 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
CUST04 | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
CUST05 | Text Field | TEXT50 | CHAR | 50 | TEXT50 | ||||
RUN_ACT | Costing Run in Actual Costing | CKML_RUN_TYPE | CHAR | 8 | Assigned to domain | CKML_RUN_TYPE | CKML_RUN_TYPE | ||
RUN_APPL | Material Ledger Costing Run Application | CKML_RUN_APPL | CHAR | 4 | CKML_RUN_APPL | ||||
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC |
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 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