SAP MSCD Table in S/4 HANA - Customer stock with vendor
MSCD is a standard SAP Table which is used to store Customer stock with vendor 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 MSCD 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_MSCD
DDL Object: NSDM_DDL_MSCD
MSCD data in SAP S/4 Hana is actually from NSDM_E_MSCD_DIFF
MSCD table is actually just a a DDL object CDS view which selects the data from NSDM_E_MSCD_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_MSCD_DIFF used for fields of table MSCD
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 MSCD Table. Below is the CDS code that builds this table viewMSCD table structure field list
Also Below is the traditional view of MSCD 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 | |
CHARG | Batch Number | CHARG_D | CHAR | 10(0) | MCHA | CHARG | CHA | |||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1(0) | T148 | SOBKZ | ||||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10(0) | LFA1 | ALPHA | LIFNR | LIF | KRED_C | LIFNR |
KUNNR | Customer Number | KUNNR | CHAR | 10(0) | KNA1 | ALPHA | KUNNR | KUN | C_KUNNR | KUNNR |
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4(0) | GJAHR | GJAHR | ||||
LFMON | Current period (posting period) | LFMON | NUMC | 2(0) | MONAT | |||||
CDSPR | Physical Inventory Blocking Indicator | SPERR | CHAR | 1(0) | SPERR | |||||
CDLAB | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | |||||
CDINS | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | |||||
CDVLA | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | |||||
CDVIN | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | |||||
CDILL | Physical inventory indicator for whse stock in current year | KZILL | CHAR | 3(0) | INVKZ | |||||
CDILQ | Phys. inventory ind. f. stock in qual. insp. in current year | KZILQ | CHAR | 3(0) | INVKZ | |||||
CDVLL | Physical inventory indicator for stock in previous year | KZVLL | CHAR | 3(0) | INVKZ | |||||
CDVLQ | Phys. inventory ind. f. stock in qual. insp. in prev. period | KZVLQ | CHAR | 3(0) | INVKZ | |||||
CDFLL | Physical inventory indicator for stock in following year | KZFLL | CHAR | 3(0) | INVKZ | |||||
CDFLQ | Physical inventory indicator, quality insp.stck, follow.yr. | KZFLQ | CHAR | 3(0) | INVKZ | |||||
CDDLL | Date of Last Posted Count | DLINL | DATS | 8(0) | DATS | |||||
CDEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | |||||
CDVEI | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V | |||||
ERSDA | Created On | ERSDA | DATS | 8(0) | DATUM | |||||
CDJIN | Fiscal year of current physical inventory indicator | GJINV | NUMC | 4(0) | GJAHR | GJAHR | ||||
CDRUE | MxxxH rec. already exists for per. before last of Mxxx per. | SBRUE | CHAR | 1(0) | XFELD |
Search for further information about these or an SAP related objects