SAP CFB_KALM_TMP TMP Save / CK40N Selected Materials Table data and field list

CFB_KALM_TMP is a standard SAP Table which is used to store TMP Save / CK40N Selected Materials data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The CFB_KALM_TMP table consists of various fields, each holding specific information or linking keys about TMP Save / CK40N Selected Materials data available in SAP. These include KALAID (Name of Costing Run), KALADAT (Costing Run Date), TVERS (Costing Version), MATNR (Material Number)... 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. .

CFB_KALM_TMP table Technical Details:

Delivery Class: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP CFB_KALM_TMP table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CFB_KALM_TMP table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
MANDTClient MANDTCLNT3Assigned to domainMANDT
KALAIDName of Costing Run CK_KALAIDCHAR8CHAR8KKFCKKAT
KALADATCosting Run Date CK_KALADATDATS8DATUMKK1
TVERSCosting Version CK_TVERSNUMC2CK_VERSIONVSN
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER

Key field Non-key field



How do I retrieve data from SAP table CFB_KALM_TMP using ABAP code

The following ABAP code Example will allow you to do a basic selection on CFB_KALM_TMP to SELECT all data from the table
DATA: WA_CFB_KALM_TMP TYPE CFB_KALM_TMP.

SELECT SINGLE *
FROM CFB_KALM_TMP
INTO CORRESPONDING FIELDS OF WA_CFB_KALM_TMP
WHERE...

How to access SAP table CFB_KALM_TMP

Within an ECC or HANA version of SAP you can also view further information about CFB_KALM_TMP and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).