SMKOLO1 SAP (Special stocks from vendor posting structure HPM appendix) Structure details
Description: Special stocks from vendor posting structure HPM appendix
Structure field list including key, data, relationships and ABAP select examples
SMKOLO1 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Special stocks from vendor posting structure HPM appendix" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_SMKOLO1 TYPE SMKOLO1.
The SMKOLO1 table consists of various fields, each holding specific information or linking keys about Special stocks from vendor posting structure HPM appendix 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP SMKOLO1 structure 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 | T000 | MANDT | |||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | T001L | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCH1 | CHARG | CHA | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | T148 | SOBKZ | |||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
RMKOL | Return code MKOL | RMKOL | CHAR | 1 | XFELD | ||||
XDBUP | Database update | XDBUP | CHAR | 1 | XFELD | ||||
MSEHI | Unit of Measurement | MSEHI | UNIT | 3 | T006 | CUNIT | MEINS | ||
SLABS | Unrestricted-Use Consignment Stock | KLABS | QUAN | 13(3) | MENG13V | ||||
SINSM | Consignment Stock in Quality Inspection | KINSM | QUAN | 13(3) | MENG13V | ||||
SEINM | Restricted-Use Consignment Stock | KEINM | QUAN | 13(3) | MENG13V | ||||
SSPEM | Blocked Consignment Stock | KSPEM | QUAN | 13(3) | MENG13V | ||||
SVMLA | Unrestricted-use consignment stock, previous period | KVLAB | QUAN | 13(3) | MENG13V | ||||
SVMIN | Consignment stock in quality inspection, previous period | KVINS | QUAN | 13(3) | MENG13V | ||||
SVMEI | Restricted-use consignment stock in the previous period | KVEIN | QUAN | 13(3) | MENG13V | ||||
SVMSP | Blocked consignment stock, previous period | KVSPE | QUAN | 13(3) | MENG13V | ||||
SLABS_OLD | Unrestricted-Use Consignment Stock | KLABS | QUAN | 13(3) | MENG13V | ||||
SINSM_OLD | Consignment Stock in Quality Inspection | KINSM | QUAN | 13(3) | MENG13V | ||||
SEINM_OLD | Restricted-Use Consignment Stock | KEINM | QUAN | 13(3) | MENG13V | ||||
SSPEM_OLD | Blocked Consignment Stock | KSPEM | QUAN | 13(3) | MENG13V | ||||
SVMLA_OLD | Unrestricted-use consignment stock, previous period | KVLAB | QUAN | 13(3) | MENG13V | ||||
SVMIN_OLD | Consignment stock in quality inspection, previous period | KVINS | QUAN | 13(3) | MENG13V | ||||
SVMEI_OLD | Restricted-use consignment stock in the previous period | KVEIN | QUAN | 13(3) | MENG13V | ||||
SVMSP_OLD | Blocked consignment stock, previous period | KVSPE | QUAN | 13(3) | MENG13V | ||||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
LFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
RMKOLH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
KLLFM | Period of MKOL | KLLFM | NUMC | 2 | MONAT | ||||
KLGJA | Fiscal year of MKOL | KLGJA | NUMC | 4 | GJAHR | GJAHR | |||
KORUE | MxxxH rec. already exists for per. before last of Mxxx per. | SBRUE | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure SMKOLO1 using ABAP code?
As SMKOLO1 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on SMKOLO1 as there is no data to select.How to access SAP table SMKOLO1
Within an ECC or HANA version of SAP you can also view further information about SMKOLO1 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