SMSKAO1 SAP (Special stocks on hand posting structure HPM appendix) Structure details
Description: Special stocks on hand posting structure HPM appendix
Structure field list including key, data, relationships and ABAP select examples
SMSKAO1 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 on hand 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_SMSKAO1 TYPE SMSKAO1.
The SMSKAO1 table consists of various fields, each holding specific information or linking keys about Special stocks on hand 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 SMSKAO1 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 | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | VBUK | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | VBUP | POSNR | |||
RMSKA | Return code MSKA | RMSKA | CHAR | 1 | XFELD | ||||
XDBUP | Database update | XDBUP | CHAR | 1 | XFELD | ||||
MSEHI | Unit of Measurement | MSEHI | UNIT | 3 | 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 | ||||
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 | ||||
KAVEI | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V | ||||
KAEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | ||||
KALAB_OLD | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | ||||
KAINS_OLD | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | ||||
KASPE_OLD | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | ||||
KAVLA_OLD | Valuated unrestricted-use stock in previous period | VMLAB | QUAN | 13(3) | MENG13V | ||||
KAVIN_OLD | Stock in Quality Inspection in Previous Period | VMINS | QUAN | 13(3) | MENG13V | ||||
KAVSP_OLD | Blocked stock of previous period | VMSPE | QUAN | 13(3) | MENG13V | ||||
KAVEI_OLD | Restricted-Use Stock in Previous Period | VMEIN | QUAN | 13(3) | MENG13V | ||||
KAEIN_OLD | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | ||||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
LFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
RMSKAH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
KALFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
KAGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
KARUE | 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 SMSKAO1 using ABAP code?
As SMSKAO1 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 SMSKAO1 as there is no data to select.How to access SAP table SMSKAO1
Within an ECC or HANA version of SAP you can also view further information about SMSKAO1 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