KALM SAP (Costing Run: Costing Objects) Table details
Dictionary Type: Table
Description: Costing Run: Costing Objects
Description: Costing Run: Costing Objects
Table field list including key, data, relationships and ABAP select examples
KALM is a standard SAP Table which is used to store Costing Run: Costing Objects data and is available within R/3 SAP systems depending on the version and release level.
The KALM table consists of various fields, each holding specific information or linking keys about Costing Run: Costing Objects data available in SAP. These include KALAID (Name of Costing Run), KALADAT (Costing Run Date), TVERS (Costing Version), KALST (Costing Level).. 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 or numeric)
SAP KALM 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 | |||
KALAID | Name of Costing Run | CK_KALAID | CHAR | 8 | CHAR8 | KKF | CKKAT | ||
KALADAT | Costing Run Date | CK_KALADAT | DATS | 8 | DATUM | KK1 | |||
TVERS | Costing Version | CK_TVERS | NUMC | 2 | CK_VERSION | VSN | |||
KALST | Costing Level | CK_KALST | NUMC | 4 | CK_KALST | ||||
KALVZAE | Numerator for Costing Run Tables (KAL*) | CK_KALVZAE | INT4 | 10 | INT4 | ||||
DISST | Low-Level Code | DISST | CHAR | 3 | DISST | ||||
CYCLENR | Cycle Number Within a Run | CK_CYCLENR | NUMC | 5 | NUMC5 | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
KALNR | Cost Estimate Number - Product Costing | CK_KALNR1 | NUMC | 12 | Assigned to domain | CK_KALNR | KNE | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
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) | WB_POSNR | NUMC | 8 | Assigned to domain | ABPSP | PS_POSNR | ||
STLAN | BOM Usage | STLAN | CHAR | 1 | T416 | STLAN | CSV | ||
STNUM | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
STALT | Alternative BOM | STALT | CHAR | 2 | ALPHA | ALTNR | |||
STVFIX | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
ALTSL | Method for Selecting Alternative Bills of Material | ALTSL | CHAR | 1 | ALTSL | ||||
PLNTY | Task List Type | PLNTY | CHAR | 1 | TCA01 | PLNTY | PTY | H_TCA01 | |
PLNNR | Key for Task List Group | PLNNR | CHAR | 8 | ALPHA | PLNNR | PLN | PLKS | |
PLNAL | Group Counter | PLNAL | CHAR | 2 | ALPHA | ALTNR | PAL | ||
PLNCT | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
LOSGR | Planned lot size | LOSGR | QUAN | 13(3) | MENG13 | ||||
SUMLO | Planned lot size | LOSGR | QUAN | 13(3) | MENG13 | ||||
LOSAU | Lot Size Taking Scrap into Account | CK_LOSAU | QUAN | 13(3) | MENG13 | ||||
AUSSS | Assembly scrap in percent | AUSSS | DEC | 5(2) | DEC3_2 | ||||
MEINS | Valuation Unit of Measure | CK_MEINH_BEW | UNIT | 3 | T006 | CUNIT | MEINS | ||
KADAT | Date | DATUM | DATS | 8 | DATUM | ||||
BIDAT | Costing Date To | CK_BIDAT | DATS | 8 | CK_KADAT | KDB | |||
ALDAT | Quantity Structure Date for Costing | CK_BRDAT | DATS | 8 | CK_KADAT | ||||
BEDAT | Requirements Date | CK_BEDAT | DATS | 8 | CK_KADAT | ||||
BWDAT | Valuation Date of a Cost Estimate | CK_BWDAT | DATS | 8 | CK_KADAT | ||||
FEH_A_ANZ | No. System Messages in Selection/Qty Structure Determination | CK_FEH_ANZ | INT4 | 10 | CK_INT4 | ||||
FEH_K_ANZ | Number of System Messages in Costing | CK_FEH_ANK | INT4 | 10 | CK_INT4 | ||||
FEH_STATUS | Costing Status | CK_FEH_STA | CHAR | 2 | CK_STATUS | FEHSTA | |||
FEH_STATUF | Costing Status for Marked/Released Objects | CK_FEH_STF | CHAR | 2 | CK_STATUS | ||||
DISPO | MRP Controller (Materials Planner) | DISPO | CHAR | 3 | T024D | DISPO | DGR | HS_T024D | |
EKGRP | Purchasing Group | EKGRP | CHAR | 3 | T024 | EKGRP | EKG | ||
LABOR | Laboratory/design office | LABOR | CHAR | 3 | T024L | LABOR | |||
VAGRP | Responsible planner group/department | VAGRP | CHAR | 3 | T024A | VAGRP | H_T024A | ||
SOBSL | Special Procurement Key for the Costing Object | CK_SOBSK | CHAR | 2 | T460A | SOBSL | |||
SOBES | Special procurement type | SOBES | CHAR | 1 | SOBES | ||||
SOWRK | Special Procurement Plant - Costing | CK_SOWRK | CHAR | 4 | Assigned to domain | WERKS | |||
SODUM | Phantom item indicator | DUMPS | CHAR | 1 | XFELD | ||||
SBDKZ | Dependent requirements ind. for individual and coll. reqmts | SBDKZ | CHAR | 1 | SBDKZ | ||||
BESKZ | Procurement Type | BESKZ | CHAR | 1 | BESKZ | MBS | |||
KOSGR | Costing Overhead Group | CK_KOSGR | CHAR | 10 | Assigned to domain | CK_KOSGR | |||
ZSCHL | Costing Overhead Key | CK_ZSCHL | CHAR | 6 | CHAR6 | KKZ | |||
CUOBJ | Object Number for Conf. Objects | CK_CUOBJ | NUMC | 18 | CUOBJ | ||||
CUOBJID | Indicator for Configurable Objects | CK_CUOBJID | CHAR | 1 | CK_CUOBJID | ||||
TYPE | Configured Material (Variant) | CK_TYPE | CHAR | 18 | MARA | MATN1 | MATNR | ||
WRKLT | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PROZESS | Process Through Which Co-Product Was Costed | CK_PROZESS | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT1 | |
KZKUP | Indicator: Material can be co-product | KZKUPMAT | CHAR | 1 | FLAG | ||||
FXPRU | Fixed-Price Co-Product | CK_FIXPRKU | CHAR | 1 | XFELD | ||||
PR_LOSGR | Planned lot size | LOSGR | QUAN | 13(3) | MENG13 | ||||
PR_SUMLO | Planned lot size | LOSGR | QUAN | 13(3) | MENG13 | ||||
PR_LOSAU | Lot Size Taking Scrap into Account | CK_LOSAU | QUAN | 13(3) | MENG13 | ||||
PR_MEINS | Valuation Unit of Measure | CK_MEINH_BEW | UNIT | 3 | T006 | CUNIT | MEINS | ||
PR_VERID | Production Version To Be Costed | CK_VERID | CHAR | 4 | MKAL | VERID | |||
MLMAA | Material ledger activated at material level | CK_ML_MAAC | CHAR | 1 | XFELD | ||||
ERFNM | Entered by | ERFNM | CHAR | 12 | USNAM | ||||
ROHSTOFF | Material Component | CK_ROH | CHAR | 1 | XFELD | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
SPART | Division | SPART | CHAR | 2 | Assigned to domain | SPART | SPA | C_SPART | |
MTART | Material Type | MTART | CHAR | 4 | T134 | MTART | MTA | ||
BALTKZ | Cost Estimate for a Procurement Alternative | CK_BALT_FLAG | CHAR | 1 | XFELD | ||||
KALNR_BA | Cost Estimate Number of Procurement Alternative | CKKALNRBA | NUMC | 12 | Assigned to domain | CK_KALNR | |||
MKALK | Mixed Costing Indicator | CK_MKALK | CHAR | 1 | XFELD | ||||
BTYP | Process Category | CKML_BTYP | CHAR | 4 | Assigned to domain | CKML_PROZESS_TYP | |||
.INCLU--AP | 0 | ||||||||
IPPE_COSTING | Costing for a Material with iPPE Quantity Structure | CK_IPPE_COSTING | CHAR | 1 | CHAR1 | ||||
CMPEXT_NONCOL | Internal Identification of the Component (Material/Product) | PVS_CMPID | CHAR | 32 | PVS_CHAR32 | ||||
CCODE | Color Supplement Key | PVS_COL_CODE | CHAR | 10 | CHAR10 | ||||
NONCOL_VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER |
Key field | Non-key field |
How do I retrieve data from SAP table KALM using ABAP code
The following ABAP code Example will allow you to do a basic selection on KALM to SELECT all data from the tableDATA: WA_KALM TYPE KALM.
SELECT SINGLE *
FROM KALM
INTO CORRESPONDING FIELDS OF WA_KALM
WHERE...
How to access SAP table KALM
Within an ECC or HANA version of SAP you can also view further information about KALM 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