MKOL SAP (Special Stocks from Vendor) Table details

Dictionary Type: Table
Description: Special Stocks from Vendor




ABAP Code to SELECT data from MKOL
Related tables to MKOL
Access table MKOL




Table field list including key, data, relationships and ABAP select examples

MKOL is a standard SAP Table which is used to store Special Stocks from Vendor data and is available within R/3 SAP systems depending on the version and release level.

The MKOL table consists of various fields, each holding specific information or linking keys about Special Stocks from Vendor data available in SAP. These include MATNR (Material Number), WERKS (Plant), LGORT (Storage Location), CHARG (Batch 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. .

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 MKOL 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
MANDTClient MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4MARCWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4MARDLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
SOBKZSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
LVORMDeletion Flag for All Data on a Consignment Stock LVOKLCHAR1XFELD
ERSDACreated On ERSDADATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
LAEDADate of Last Change LAEDADATS8DATUM
LFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
LFMONCurrent period (posting period) LFMONNUMC2MONAT
SPERSPhysical Inventory Blocking Indicator SPERRCHAR1SPERR
SLABSUnrestricted-Use Consignment Stock KLABSQUAN13(3) MENG13V
SINSMConsignment Stock in Quality Inspection KINSMQUAN13(3) MENG13V
SEINMRestricted-Use Consignment Stock KEINMQUAN13(3) MENG13V
SSPEMBlocked Consignment Stock KSPEMQUAN13(3) MENG13V
SVMLAUnrestricted-use consignment stock, previous period KVLABQUAN13(3) MENG13V
SVMINConsignment stock in quality inspection, previous period KVINSQUAN13(3) MENG13V
SVMEIRestricted-use consignment stock in the previous period KVEINQUAN13(3) MENG13V
SVMSPBlocked consignment stock, previous period KVSPEQUAN13(3) MENG13V
KZISLPhysical inventory indicator for whse stock in current year KZILLCHAR3INVKZ
KZISQPhys. inventory ind. f. stock in qual. insp. in current year KZILQCHAR3INVKZ
KZISEPhysical inventory indicator for restricted-use stock KZILECHAR3INVKZ
KZISSPhysical inventory indicator for blocked stock KZILSCHAR3INVKZ
KZVSLPhysical inventory indicator for stock in previous year KZVLLCHAR3INVKZ
KZVSQPhys. inventory ind. f. stock in qual. insp. in prev. period KZVLQCHAR3INVKZ
KZVSEPhysical inventory ind. for restricted-use stock, prev.pd KZVLECHAR3INVKZ
KZVSSPhys. inventory indicator for blocked stock in prev. period KZVLSCHAR3INVKZ
MMENGMinimum order quantity MMENGQUAN13(3) MENG13
AMENGReplenishment quantity AMENGQUAN13(3) MENG13
KODLLDate of Last Posted Count for Unrestricted-Use Stock DLINLDATS8DATS
KOJINFiscal year of current physical inventory indicator GJINVNUMC4GJAHRGJAHR
KORUEMxxxH rec. already exists for per. before last of Mxxx per. SBRUECHAR1XFELD

Key field Non-key field



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

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

SELECT SINGLE *
FROM MKOL
INTO CORRESPONDING FIELDS OF WA_MKOL
WHERE...

How to access SAP table MKOL

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

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


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!