SAP MSKAHO1 Table in S/4 HANA - MSKAH: Additional quantities appendix
MSKAHO1 is a standard SAP Table which is used to store MSKAH: Additional quantities appendix 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 MSKAHO1 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: OIB_V_MSKAHO1
DDL Object: OIB_DDL_MSKAHO1
MSKAHO1 data in SAP S/4 Hana is actually from OIB_E_MSKAHO1_AG
MSKAHO1 table is actually just a a DDL object CDS view which selects the data from OIB_E_MSKAHO1_AG 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.
OIB_E_MSKAHO1_AG used for fields of table MSKAHO1
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 MSKAHO1 Table. Below is the CDS code that builds this table viewMSKAHO1 table structure field list
Also Below is the traditional view of MSKAHO1 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) | T001W | WERKS | WRK | H_T001W_C | WERKS | |
LGORT | Storage location | LGORT_D | CHAR | 4(0) | T001L | LGORT | LAG | |||
CHARG | Batch Number | CHARG_D | CHAR | 10(0) | MCH1 | 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 | |||||
MSEHI | Unit of Measurement | MSEHI | UNIT | 3(0) | T006 | CUNIT | MEINS | |||
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 | |||||
KAEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V |
Search for further information about these or an SAP related objects