CKMLHD SAP (Material Ledger: Header Record) Table details
Description: Material Ledger: Header Record
Table field list including key, data, relationships and ABAP select examples
CKMLHD is a standard SAP Table which is used to store Material Ledger: Header Record data and is available within R/3 SAP systems depending on the version and release level.
The CKMLHD table consists of various fields, each holding specific information or linking keys about Material Ledger: Header Record data available in SAP. These include KALNR (Cost Estimate Number for Cost Est. w/o Qty Structure), MLAST (Material Price Determination: Control), XABRECH (Movements have Occurred Since the Last Price Determination), ABRECHDAT (Date of Last Successful Price Determination).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP CKMLHD table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
KALNR | Cost Estimate Number for Cost Est. w/o Qty Structure | CK_KALNR | NUMC | 12 | Assigned to domain | CK_KALNR | KNR | ||
MLAST | Material Price Determination: Control | CK_ML_ABST | CHAR | 1 | CK_ML_ABST | ||||
XABRECH | Movements have Occurred Since the Last Price Determination | CK_XABRECH | CHAR | 1 | XFELD | ||||
ABRECHDAT | Date of Last Successful Price Determination | CK_ABRDAT | DATS | 8 | SYDATS | ||||
XABRERR | Obsolete | CKML_D_NOTUSED_CHAR1 | CHAR | 1 | CHAR1 | ||||
ABRECHUHR | Time of Last Sucessful Price Determination | CK_ABRUHR | TIMS | 6 | SYTIME | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
BWKEY | Valuation Area | BWKEY | CHAR | 4 | T001K | BWKEY | BWK | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | T149D | BWTAR | BWT | ||
KZBWS | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
XOBEW | Vendor Stock Valuation Indicator | XOBEW | CHAR | 1 | XFELD | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
PSPNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
Key field | Non-key field |
How do I retrieve data from SAP table CKMLHD using ABAP code
The following ABAP code Example will allow you to do a basic selection on CKMLHD to SELECT all data from the tableDATA: WA_CKMLHD TYPE CKMLHD.
SELECT SINGLE *
FROM CKMLHD
INTO CORRESPONDING FIELDS OF WA_CKMLHD
WHERE...
How to access SAP table CKMLHD
Within an ECC or HANA version of SAP you can also view further information about CKMLHD 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