SAP MKOL Table in S/4 HANA - Special Stocks from Supplier









MKOL is a standard SAP Table which is used to store Special Stocks from Supplier data and is available within SAP S/4 HANA systems and previous ECC R/3 systems. Below is the technical details and the field list relevant for an SAP S/4 HANA system, see here for details and fields available within the SAP R/3 version of the MKOL table(ECC)

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via SM30: Display/Maintenance Allowed but with Restrictions
Enhancement category: Can be enhanced (character-type or numeric)
Dictionary Type: Transparent table
View reference: NSDM_V_MKOL
DDL Object: NSDM_DDL_MKOL


MKOL data in SAP S/4 Hana is actually from NSDM_E_MKOL_DIFF

MKOL table is actually just a a DDL object CDS view which selects the data from NSDM_E_MKOL_DIFF and presents it as if the table exists. Clever really as this means all ABAP code that performs a select on this table will actually work as if this isna traditional table in SAP.


NSDM_E_MKOL_DIFF used for fields of table MKOL

The data and therefore the actual field list comes from the ddl cds view and are mapped from the source hana table to match the legacy ECC SAP MKOL Table. Below is the CDS code that builds this table view

MKOL table structure field list

Also Below is the traditional view of MKOL field list that makes up the SAP database table structure as you would see it within SE11, including highlighted key fields, description, data type and other technical details of each field

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP SHLP Field
MANDTClientMANDTCLNT3(0) T000MANDT
MATNRMaterial NumberMATNRCHAR40(0) MARAMATN1MATNRMATS_MAT1MATNR
WERKSPlantWERKS_DCHAR4(0) MARCWERKSWRKH_T001W_CWERKS
LGORTStorage locationLGORT_DCHAR4(0) MARDLGORTLAG
CHARGBatch NumberCHARG_DCHAR10(0) MCHACHARGCHA
SOBKZSpecial Stock IndicatorSOBKZCHAR1(0) T148SOBKZ
LIFNRAccount Number of Vendor or CreditorLIFNRCHAR10(0) LFA1ALPHALIFNRLIFKRED_CLIFNR
LVORMDeletion Flag for All Data on a Consignment StockLVOKLCHAR1(0) XFELD
ERSDACreated OnERSDADATS8(0) DATUM
ERNAMName of Person who Created the ObjectERNAMCHAR12(0) USNAM
AENAMName of person who changed objectAENAMCHAR12(0) USNAM
LAEDADate of Last ChangeLAEDADATS8(0) DATUM
LFGJAFiscal Year of Current PeriodLFGJANUMC4(0) GJAHRGJAHR
LFMONCurrent period (posting period)LFMONNUMC2(0) MONAT
SPERSPhysical Inventory Blocking IndicatorSPERRCHAR1(0) SPERR
SLABSUnrestricted-Use Consignment StockKLABSQUAN13(3) MENG13V
SINSMConsignment Stock in Quality InspectionKINSMQUAN13(3) MENG13V
SEINMRestricted-Use Consignment StockKEINMQUAN13(3) MENG13V
SSPEMBlocked Consignment StockKSPEMQUAN13(3) MENG13V
SVMLAUnrestricted-use consignment stock, previous periodKVLABQUAN13(3) MENG13V
SVMINConsignment stock in quality inspection, previous periodKVINSQUAN13(3) MENG13V
SVMEIRestricted-use consignment stock in the previous periodKVEINQUAN13(3) MENG13V
SVMSPBlocked consignment stock, previous periodKVSPEQUAN13(3) MENG13V
KZISLPhysical inventory indicator for whse stock in current yearKZILLCHAR3(0) INVKZ
KZISQPhys. inventory ind. f. stock in qual. insp. in current yearKZILQCHAR3(0) INVKZ
KZISEPhysical inventory indicator for restricted-use stockKZILECHAR3(0) INVKZ
KZISSPhysical inventory indicator for blocked stockKZILSCHAR3(0) INVKZ
KZVSLPhysical inventory indicator for stock in previous yearKZVLLCHAR3(0) INVKZ
KZVSQPhys. inventory ind. f. stock in qual. insp. in prev. periodKZVLQCHAR3(0) INVKZ
KZVSEPhysical inventory ind. for restricted-use stock, prev.pdKZVLECHAR3(0) INVKZ
KZVSSPhys. inventory indicator for blocked stock in prev. periodKZVLSCHAR3(0) INVKZ
MMENGMinimum order quantityMMENGQUAN13(3) MENG13
AMENGReplenishment quantityAMENGQUAN13(3) MENG13
KODLLDate of Last Posted CountDLINLDATS8(0) DATS
KOJINFiscal year of current physical inventory indicatorGJINVNUMC4(0) GJAHRGJAHR
KORUEMxxxH rec. already exists for per. before last of Mxxx per.SBRUECHAR1(0) XFELD
SGT_SCATStock SegmentSGT_SCATCHAR40(0) SGT_SRCASGT_SSGT_CAT_FIELD_POPUPVALUE
FSH_SALLOC_QTYAllocated Stock QuantityFSH_SALLOC_QTYQUAN13(3) MENG13
/CWM/SLABSUnrestricted-Use Consignment StockKLABSQUAN13(3) MENG13V
/CWM/SINSMConsignment Stock in Quality InspectionKINSMQUAN13(3) MENG13V
/CWM/SEINMRestricted-Use Consignment StockKEINMQUAN13(3) MENG13V
/CWM/SSPEMBlocked Consignment StockKSPEMQUAN13(3) MENG13V
/CWM/SVMLAUnrestricted-use consignment stock, previous periodKVLABQUAN13(3) MENG13V
/CWM/SVMINConsignment stock in quality inspection, previous periodKVINSQUAN13(3) MENG13V
/CWM/SVMEIRestricted-use consignment stock in the previous periodKVEINQUAN13(3) MENG13V
/CWM/SVMSPBlocked consignment stock, previous periodKVSPEQUAN13(3) MENG13V




Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!