SAP MSKA Table in S/4 HANA - Sales Order Stock
MSKA is a standard SAP Table which is used to store Sales Order Stock 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 MSKA 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_MSKA
DDL Object: NSDM_DDL_MSKA
MSKA data in SAP S/4 Hana is actually from NSDM_E_MSKA_DIFF
MSKA table is actually just a a DDL object CDS view which selects the data from NSDM_E_MSKA_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_MSKA_DIFF used for fields of table MSKA
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 MSKA Table. Below is the CDS code that builds this table viewMSKA table structure field list
Also Below is the traditional view of MSKA 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 |
MANDT | Client | MANDT | CLNT | 3(0) | T000 | MANDT | ||||
MATNR | Material Number | MATNR | CHAR | 40(0) | MARA | MATN1 | MATNR | MAT | S_MAT1 | MATNR |
WERKS | Plant | WERKS_D | CHAR | 4(0) | MARC | WERKS | WRK | H_T001W_C | WERKS | |
LGORT | Storage location | LGORT_D | CHAR | 4(0) | MARD | LGORT | LAG | |||
CHARG | Batch Number | CHARG_D | CHAR | 10(0) | MCHA | CHARG | CHA | |||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1(0) | T148 | SOBKZ | ||||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10(0) | ALPHA | VBELN | AUN | |||
POSNR | Item number of the SD document | POSNR | NUMC | 6(0) | POSNR | |||||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4(0) | GJAHR | GJAHR | ||||
LFMON | Current period (posting period) | LFMON | NUMC | 2(0) | MONAT | |||||
KASPR | Physical Inventory Blocking Indicator | SPERR | CHAR | 1(0) | SPERR | |||||
KALAB | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | |||||
KAINS | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | |||||
KASPE | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | |||||
KAVLA | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | |||||
KAVIN | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | |||||
KAVSP | Blocked stock of previous period | VMSPE | QUAN | 13(3) | MENG13V | |||||
KAILL | Physical inventory indicator for whse stock in current year | KZILL | CHAR | 3(0) | INVKZ | |||||
KAILQ | Phys. inventory ind. f. stock in qual. insp. in current year | KZILQ | CHAR | 3(0) | INVKZ | |||||
KAILS | Physical inventory indicator for blocked stock | KZILS | CHAR | 3(0) | INVKZ | |||||
KAVLL | Physical inventory indicator for stock in previous year | KZVLL | CHAR | 3(0) | INVKZ | |||||
KAVLQ | Phys. inventory ind. f. stock in qual. insp. in prev. period | KZVLQ | CHAR | 3(0) | INVKZ | |||||
KAVLS | Phys. inventory indicator for blocked stock in prev. period | KZVLS | CHAR | 3(0) | INVKZ | |||||
KAFLL | Physical inventory indicator for stock in following year | KZFLL | CHAR | 3(0) | INVKZ | |||||
KAFLQ | Physical inventory indicator, quality insp.stck, follow.yr. | KZFLQ | CHAR | 3(0) | INVKZ | |||||
KAFLS | Phys. inventory ind. for blocked stock in following period | KZFLS | CHAR | 3(0) | INVKZ | |||||
KADLL | Date of Last Posted Count | DLINL | DATS | 8(0) | DATS | |||||
KAEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | |||||
KAVEI | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V | |||||
ERSDA | Created On | ERSDA | DATS | 8(0) | DATUM | |||||
KAJIN | Fiscal year of current physical inventory indicator | GJINV | NUMC | 4(0) | GJAHR | GJAHR | ||||
KARUE | MxxxH rec. already exists for per. before last of Mxxx per. | SBRUE | CHAR | 1(0) | XFELD | |||||
SGT_SCAT | Stock Segment | SGT_SCAT | CHAR | 40(0) | SGT_SRCA | SGT_S | SGT_CAT_FIELD_POPUP | VALUE | ||
FSH_SEASON_YEAR | Season Year | FSH_SAISJ | CHAR | 4(0) | FSH_CJAHR | WMSAISJ | ||||
FSH_SEASON | Season | FSH_SAISO | CHAR | 10(0) | RFM_SAISO | SAISO | ||||
FSH_COLLECTION | Fashion Collection | FSH_COLLECTION | CHAR | 10(0) | Assigned to domain | FSH_COLLECTION | ||||
FSH_THEME | Fashion Theme | FSH_THEME | CHAR | 10(0) | FSH_THEME | |||||
FSH_SALLOC_QTY | Allocated Stock Quantity | FSH_SALLOC_QTY | QUAN | 13(3) | MENG13 | |||||
/CWM/KALAB | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | |||||
/CWM/KAINS | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | |||||
/CWM/KASPE | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | |||||
/CWM/KAEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | |||||
/CWM/KAVLA | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | |||||
/CWM/KAVIN | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | |||||
/CWM/KAVSP | Blocked stock of previous period | VMSPE | QUAN | 13(3) | MENG13V | |||||
/CWM/KAVEI | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V |
Search for further information about these or an SAP related objects