SAP Table KEKO

Product Costing - Header Data

KEKO (Product Costing - Header Data) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link KEKO to other SAP tables.

KEKO table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT CLNT 3 0
BZOBJ Reference Object CK_OBJ CHAR 1 0
KALNR Cost Estimate Number - Product Costing CK_KALNR1 CKHS NUMC 12 0
KALKA Costing Type CK_KALKA CHAR 2 0
KADKY Costing Date (Key) CK_KADKY DATS 8 0
TVERS Costing Version CK_TVERS NUMC 2 0
BWVAR Valuation Variant in Costing CK_BWVAR TCK05 CHAR 3 0
KKZMA Costs Entered Manually in Additive or Automatic Cost Est. CK_KKZMA CHAR 1 0
X Yes
NULL No
MATNR Material Number MATNR MARA CHAR 18 0
WERKS Plant WERKS_D T001W CHAR 4 0
BWKEY Valuation Area BWKEY T001K CHAR 4 0
BWTAR Valuation Type BWTAR_D T149D CHAR 10 0
KOKRS Controlling Area KOKRS TKA01 CHAR 4 0
KADAT Costing Date From CK_ABDAT DATS 8 0
BIDAT Costing Date To CK_BIDAT DATS 8 0
KADAM Costing Date From CK_ABDAT DATS 8 0
BIDAM Costing Date To CK_BIDAT DATS 8 0
BWDAT Valuation Date of a Cost Estimate CK_BWDAT DATS 8 0
ALDAT Quantity Structure Date for Costing CK_BRDAT DATS 8 0
BEDAT Requirements Date CK_BEDAT DATS 8 0
VERID Production Version VERID CHAR 4 0
STNUM Bill of material STNUM CHAR 8 0
STLAN BOM Usage STLAN CHAR 1 0
STALT Alternative BOM STALT CHAR 2 0
STCNT Internal counter CIM_COUNT NUMC 8 0
PLNNR Key for Task List Group PLNNR CHAR 8 0
PLNTY Task List Type PLNTY CHAR 1 0
PLNAL Group Counter PLNAL CHAR 2 0
PLNCT Internal counter CIM_COUNT NUMC 8 0
LOEKZ Deletion Indicator for Product Costing CK_LOEKZ CHAR 1 0
X Yes
NULL No
LOSGR Lot Size for Product Costing CK_LOSGR QUAN 13 3
MEINS Valuation Unit of Measure CK_MEINH_BEW T006 UNIT 3 0
ERFNM Costed by User CK_KALKUSR CHAR 12 0
ERFMA User ID of Person Who Created Additive Cost Estimate CK_ERFMA CHAR 12 0
CPUDT Date on Which Cost Estimate Was Created CK_CPUDT DATS 8 0
CPUDM Date on Which Additive Cost Estimate Was Saved CK_CPUDM DATS 8 0
CPUTIME System Time SYUZEIT TIMS 6 0
FEH_ANZ No. System Messages in Selection/Qty Structure Determination CK_FEH_ANZ INT4 10 0
FEH_K_ANZ Number of System Messages in Costing CK_FEH_ANK INT4 10 0
FEH_STA Costing Status CK_FEH_STA CHAR 2 0
ER Opened
SE Selected Without Errors
SF Selected with Errors
KA Costed Without Errors
KF Costed with Errors
VO Marked Without Errors
VF Marked with Errors
FR Released Without Errors
FF Released with Errors
FM Release Through Material Ledger Settlement
MAXMSG Message Type SYMSGTY CHAR 1 0
FREIG Release of Standard Cost Estimate CK_FREIG CHAR 1 0
X Yes
NULL No
MKALK Mixed Costing Indicator CK_MKALK CHAR 1 0
X Yes
NULL No
BALTKZ Cost Estimate for a Procurement Alternative CK_BALT_FLAG CHAR 1 0
X Yes
NULL No
KALNR_BA Cost Estimate Number of Procurement Alternative CKKALNRBA NUMC 12 0
BTYP Process Category CKML_BTYP CHAR 4 0
MISCH_VERH Mixed Costing: Mixing Ratio CK_MISCHVERH DEC 13 3
BWVAR_BA Valuation Variant of Procurement Alternative CK_BWVAR_BA CHAR 3 0
PLSCN Planning Scenario of Long-Term Planning PLSCN NUMC 3 0
PLMNG Production Plan Quantity Transferred to the Cost Estimate CKI_PLMNG QUAN 15 3
SOBSL Special Procurement Key for the Costing Object CK_SOBSK CHAR 2 0
SOBES Special procurement type SOBES CHAR 1 0
0 Standard external procurement
2 Consignment
3 Subcontracting
7 Stock transfer
E Standard in-house production
P Production in plant 2
9 IS-OIL only: Stock transfer reservation
SOWRK Special Procurement Plant - Costing CK_SOWRK CHAR 4 0
SOBWT Valuation Type from Special Procurement CK_SOBWT CHAR 10 0
SODIR Indicator for direct production (collective order) CLCOR CHAR 1 0
X Yes
NULL No
SODUM Phantom item indicator DUMPS CHAR 1 0
X Yes
NULL No
KALSM Costing Sheet for Calculating Overhead CK_KALSM T683 CHAR 6 0
AUFZA Overhead type AUFZA CHAR 1 0
1 Actual overhead rate
2 Planned overhead rate
3 Commitment overhead rate
BWSMR Valuation Strategy for Raw Materials and Purchased Parts CK_BWSMR CHAR 1 0
1 Standard Price in Previous Period
2 Standard Price
3 Moving Average Price
4 Planned Price 1
5 Planned Price 2
6 Planned Price 3
7 Valuation Price According to Price Control in Mat. Master
8 Valuation with Additive Cost Component Split
9 Future Standard Price
A Valuation Price 1 Based On Tax Law
B Valuation Price 1 Based On Commercial Law
C Valuation Price 2 Based On Tax Law
D Valuation Price 2 Based On Commercial Law
E Valuation Price 3 Based On Tax Law (Reserved)
F Valuation Price 3 Based On Commercial Law (Reserved)
G Future Price from Accounting
H Planned Price Whose Date Is Closest to the Valuation Date
I Current Planned Price
J Time-Based Valuation Price According to Price Control
K Price from Preliminary Order Cost Est (Goods Receipts Only)
L Price from Purchasing Info Record
U Valuation Price with User Exit
Z Price from Last Valid Alternative Valuation Run
Q Price from Price Table
SUBSTRAT Substrategy for Material Valuat. with Purchasing Info Record CK_SUBSTRAT CHAR 1 0
2 Effective Price from Quotation Without Fixed Costs
3 Net Quotation Price
4 Gross Quotation Price
5 Effective Price from Quotation
6 Effective Price from Purchase Order Without Fixed Costs
7 Net Purchase Order Price
8 Gross Purchase Order Price
9 Effective Price from Purchase Order
A Quotation Price via Condition Table
B Purchase Order Price via Condition Table
KLVAR Costing Variant CK_KLVAR TCK03 CHAR 4 0
KOSGR Costing Overhead Group CK_KOSGR TCK14 CHAR 10 0
ZSCHL Overhead key AUFZSCHL TKZSL CHAR 6 0
POPER Posting period POPER NUMC 3 0
BDATJ Posting Date YYYY BDATJ NUMC 4 0
STKOZ Internal counter CIM_COUNT NUMC 8 0
ZAEHL Internal counter CIM_COUNT NUMC 8 0
TOPKA Top Cost Estimate (Point-of-Entry Position) CK_TOPKA CHAR 1 0
X Yes
NULL No
CMF_NR Error Management Number CMF_NR NUMC 12 0
OCS_COUNT Number of OCS Messages Sent CMF_OCSCNT NUMC 5 0
OBJNR Object number J_OBJNR CHAR 22 0
ERZKA Cost Estimate Created with Product Costing CK_ERZKA CHAR 1 0
X Yes
NULL No
LOSAU Lot Size Taking Scrap into Account CK_LOSAU QUAN 13 3
AUSID Assembly/Operation Scrap Included CK_AUSID CHAR 1 0
NULL No Assembly Scrap or Operation Scrap
1 Assembly Scrap Only
2 Operation Scrap Only
3 Assembly Scrap and Operation Scrap
AUSSS Assembly scrap in percent AUSSS DEC 5 2
SAPRL Release the document as it was last saved KK_SAPRL CHAR 4 0
KZROH Material Component CK_KZROH CHAR 1 0
X Yes
NULL No
AUFPL Routing No. for Operations with Non-Order-Related Production CK_AUFPL NUMC 10 0
CUOBJ Object Number for Conf. Objects CK_CUOBJ NUMC 18 0
CUOBJID Indicator for Configurable Objects CK_CUOBJID CHAR 1 0
1 Configured Material (Variant)
2 Configurable Material
TECHS Parameter Variant/Standard Variant TECHS CHAR 12 0
TYPE Configured Material (Variant) CK_TYPE MARA CHAR 18 0
WRKLT Plant (Variant) CK_WRKLT CHAR 4 0
VORMDAT Date on Which Cost Estimate Was Marked CK_VORMDAT DATS 8 0
VORMUSR User Who Marked Cost Estimate in Material Master CK_VORMUSR CHAR 12 0
FREIDAT Date on Which Cost Estimate Released in Material Master CK_FREIDAT DATS 8 0
FREIUSR User Who Released Cost Estimate in Material Master Record CK_FREIUSR CHAR 12 0
UEBID Transfer Control CK_UEBID CHAR 4 0
PROZESS Process Through Which Co-Product Was Costed CK_PROZESS CHAR 18 0
PR_VERID Production Version To Be Costed CK_VERID MKAL CHAR 4 0
CSPLIT Apportionment Structure CSPLIT CHAR 4 0
KZKUP Indicator: Material can be co-product KZKUPMAT CHAR 1 0
X Flag set. Event has occurred.
NULL Flag is Not Set
FXPRU Fixed-Price Co-Product CK_FIXPRKU CHAR 1 0
X Yes
NULL No
CFXPR Cost Estimate Contains Fixed-Price Co-Products CK_CONTFIXPRICE CHAR 1 0
X Flag set. Event has occurred.
NULL Flag is Not Set
ZIFFR Equivalence Number CK_ZIFFR DEC 3 0
SUMZIFFR Sum of Equivalence Numbers of Co-Products for a Process CK_SUMZIFFR DEC 5 0
AFAKT Costg.: Apportionment Factor for Itemiz. Line in Joint Prod. CK_SPLITFAC FLTP 16 16
VBELN Sales and Distribution Document Number VBELN CHAR 10 0
POSNR Item number of the SD document POSNR NUMC 6 0
PSPNR Work Breakdown Structure Element (WBS element) WB_POSNR NUMC 8 0
SBDKZ Dependent requirements ind. for individual and coll. reqmts SBDKZ CHAR 1 0
NULL Individual and collective requirements
1 Individual requirements only
2 Collective requirements only
MLMAA Material ledger activated at material level CK_ML_MAAC CHAR 1 0
X Yes
NULL No
BESKZ Procurement Type BESKZ CHAR 1 0
E In-house production
F External procurement
NULL No procurement
X Both procurement types
DISST Low-Level Code DISST CHAR 3 0
KALST Costing Level CK_KALST NUMC 4 0
TEMPLATE Template ABC_TEMPL CHAR 10 0
PATNR Partner number for costing NKPRTN NUMC 6 0
PART_VRSN Partner Version CK_PARVRSN NUMC 2 0
ELEHK Cost Component Structure - CGM and Sales/Administr. Costs CK_ELESMHK CHAR 2 0
ELEHKNS Cost Component Structure for Auxiliary Cost Component Split CK_ELESMNS CHAR 2 0
VOCNT Counter for Marking a Cost Estimate CK_VOCNT NUMC 1 0
GSBER Business Area GSBER CHAR 4 0
PRCTR Profit Center PRCTR CHAR 10 0
TPVAR Variant for Finding Transfer Price TPVARIANT TPVAR1 CHAR 3 0
KURST Exchange Rate Type KURST TCURV CHAR 4 0
MGTYP Quantity Structure Type CKML_MGTYP CKMLMV006 CHAR 5 0
HWAER Local Currency HWAER CUKY 5 0
FWAER_KPF Currency Key WAERS CUKY 5 0
REFID Reference Variant CK_REFID NUMC 2 0
MEINH_WS Batch-specific matl unit of measure (proportion/prod. unit) LRMEI_WS UNIT 3 0
KZWSO Units of measure usage KZWSO CHAR 1 0
NULL Alternative unit of measure
A Proportion unit
B Product unit
ASL Cost Estimate of an Order BOM CK_ASL CHAR 1 0
X Yes
NULL No
KALAID Name of Costing Run CK_KALAID CHAR 8 0
KALADAT Costing Run Date CK_KALADAT DATS 8 0
OTYP Object Type CKML_OTYP CHAR 2 0
BA Procurement Alternative
PR Procurement Process
VA Consumption Alternative
ST Material (Summation Level)
MB Material (Valuation Level)
MK Material (Totals Record: Valuation Area)
LA Activity Type
EB Sales Order Stock
QB Project Stock
OB Vendor Stock
WM WIP Material
WL WIP Activity Type
BAPI_CREATED Cost Estimate Generated by BAPI CK_BAPI CHAR 1 0
X Yes
NULL No
/CWM/XCWMAT Material Is Activated for Catch Weight /CWM/XCWMAT CHAR 1 0
X Yes
NULL No
/CWM/LOSGR_BAS Costing Lot Size in Base Unit of Measure /CWM/CK_LOSGR_BAS QUAN 13 3
/CWM/MEINH_BAS Base Unit of Measure MEINS UNIT 3 0
/CWM/LOSGR_BEW Costing Lot Size in Valuation Unit of Measure /CWM/CK_LOSGR_BEW QUAN 13 3
/CWM/MEINH_BEW Valuation Unit of Measure /CWM/CK_MEINH_BEW UNIT 3 0
CRULE Cost Apportionment Methods CSPLITRULE CHAR 1 0
1 Quantity-Based
2 Equivalence Numbers
3 Quantity-Based with Equivalence Numbers
BWSMR_PR_LABEL Price Type CON_FIN_PRICE_LABEL CHAR 3 0
CON_FIN_UPDT_DAY Key Date Costing with Release Status Possible CON_FIN_CK_UPDTM_DAY CHAR 1 0
X Yes
NULL No
CON_FIN_PR_UPDT Cost Estimate Updated Price in Price Table CON_FIN_CK_PR_UPDT CHAR 1 0
X Yes
NULL No
PRICE_LABEL Price Type CON_FIN_PRICE_LABEL CHAR 3 0
PRICE_LABEL_VIEW Cost Component View CK_SICHT NUMC 2 0

KEKO foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
KEKO BWKEY KEKO MANDT T001K Valuation area MANDT
KEKO BWKEY KEKO BWKEY T001K Valuation area BWKEY
KEKO BWTAR KEKO MANDT T149D Global Valuation Types MANDT
KEKO BWTAR KEKO BWTAR T149D Global Valuation Types BWTAR
KEKO BWVAR KEKO BWVAR TCK05 Valuation Variants in Costing BWVAR
KEKO BWVAR KEKO MANDT TCK05 Valuation Variants in Costing MANDT
KEKO KALNR KEKO BWVAR CKHS Header: Unit Costing (Control + Totals) BWVAR
KEKO KALNR KEKO BZOBJ CKHS Header: Unit Costing (Control + Totals) BZOBJ
KEKO KALNR KEKO KKZMA CKHS Header: Unit Costing (Control + Totals) KKZMA
KEKO KALNR KEKO KALNR CKHS Header: Unit Costing (Control + Totals) KALNR
KEKO KALNR KEKO KALKA CKHS Header: Unit Costing (Control + Totals) KALKA
KEKO KALNR KEKO KADKY CKHS Header: Unit Costing (Control + Totals) KADKY
KEKO KALNR KEKO MANDT CKHS Header: Unit Costing (Control + Totals) MANDT
KEKO KALNR KEKO TVERS CKHS Header: Unit Costing (Control + Totals) TVERS
KEKO KALNR * CKHS Header: Unit Costing (Control + Totals) LEDNR
KEKO KALSM * T683 Pricing procedures KVEWE
KEKO KALSM * T683 Pricing procedures KAPPL
KEKO KALSM KEKO KALSM T683 Pricing procedures KALSM
KEKO KALSM KEKO MANDT T683 Pricing procedures MANDT
KEKO KLVAR KEKO MANDT TCK03 Costing Variants MANDT
KEKO KLVAR KEKO KLVAR TCK03 Costing Variants KLVAR
KEKO KOKRS KEKO MANDT TKA01 Controlling Areas MANDT
KEKO KOKRS KEKO KOKRS TKA01 Controlling Areas KOKRS
KEKO KOSGR KEKO MANDT TCK14 Overhead Groups MANDT
KEKO KOSGR KEKO BWKEY TCK14 Overhead Groups BWKEY
KEKO KOSGR KEKO KOSGR TCK14 Overhead Groups KOSGR
KEKO KURST KEKO KURST TCURV Exchange rate types for currency translation KURST
KEKO KURST * TCURV Exchange rate types for currency translation MANDT
KEKO MATNR KEKO MATNR MARA General Material Data MATNR
KEKO MATNR KEKO MANDT MARA General Material Data MANDT
KEKO MEINS KEKO MANDT T006 Units of Measurement MANDT
KEKO MEINS KEKO MEINS T006 Units of Measurement MSEHI
KEKO MGTYP SY MANDT CKMLMV006 Control data for the quantity structure types MANDT
KEKO MGTYP KEKO MGTYP CKMLMV006 Control data for the quantity structure types MGTYP
KEKO PR_VERID KEKO PR_VERID MKAL Production Versions of Material VERID
KEKO PR_VERID KEKO MANDT MKAL Production Versions of Material MANDT
KEKO PR_VERID KEKO PROZESS MKAL Production Versions of Material MATNR
KEKO PR_VERID KEKO WERKS MKAL Production Versions of Material WERKS
KEKO TPVAR * TPVAR1 Variants for Finding Transfer Prices MANDT
KEKO TPVAR * TPVAR1 Variants for Finding Transfer Prices KOKRS
KEKO TPVAR KEKO TPVAR TPVAR1 Variants for Finding Transfer Prices VARIANT
KEKO TYPE KEKO MANDT MARA General Material Data MANDT
KEKO TYPE KEKO TYPE MARA General Material Data MATNR
KEKO WERKS KEKO MANDT T001W Plants/Branches MANDT
KEKO WERKS KEKO WERKS T001W Plants/Branches WERKS
KEKO ZSCHL KEKO MANDT TKZSL Overhead Key MANDT
KEKO ZSCHL KEKO ZSCHL TKZSL Overhead Key ZSCHL