SMSKAO1 SAP (Special stocks on hand posting structure HPM appendix) Structure details

Dictionary Type: Structure
Description: Special stocks on hand posting structure HPM appendix




ABAP Code to SELECT data from SMSKAO1
Related tables to SMSKAO1
Access table SMSKAO1




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
MANDTClient MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARGBatch Number CHARG_DCHAR10MCH1CHARGCHA
SOBKZSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
VBELNSales and Distribution Document Number VBELNCHAR10VBUKALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6VBUPPOSNR
RMSKAReturn code MSKA RMSKACHAR1XFELD
XDBUPDatabase update XDBUPCHAR1XFELD
MSEHIUnit of Measurement MSEHIUNIT3T006CUNITMEINS
KALABValuated Unrestricted-Use Stock LABSTQUAN13(3) MENG13V
KAINSStock in Quality Inspection INSMEQUAN13(3) MENG13V
KASPEBlocked Stock SPEMEQUAN13(3) MENG13V
KAVLAValuated unrestricted-use stock in previous period VMLABQUAN13(3) MENG13V
KAVINStock in Quality Inspection in Previous Period VMINSQUAN13(3) MENG13V
KAVSPBlocked stock of previous period VMSPEQUAN13(3) MENG13V
KAVEIRestricted-Use Stock in Previous Period VMEINQUAN13(3) MENG13V
KAEINTotal Stock of All Restricted Batches EINMEQUAN13(3) MENG13V
KALAB_OLDValuated Unrestricted-Use Stock LABSTQUAN13(3) MENG13V
KAINS_OLDStock in Quality Inspection INSMEQUAN13(3) MENG13V
KASPE_OLDBlocked Stock SPEMEQUAN13(3) MENG13V
KAVLA_OLDValuated unrestricted-use stock in previous period VMLABQUAN13(3) MENG13V
KAVIN_OLDStock in Quality Inspection in Previous Period VMINSQUAN13(3) MENG13V
KAVSP_OLDBlocked stock of previous period VMSPEQUAN13(3) MENG13V
KAVEI_OLDRestricted-Use Stock in Previous Period VMEINQUAN13(3) MENG13V
KAEIN_OLDTotal Stock of All Restricted Batches EINMEQUAN13(3) MENG13V
LFGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
LFMONCurrent period (posting period) LFMONNUMC2MONAT
RMSKAHData content X or blank XWERTCHAR1XFELD
KALFMCurrent period (posting period) LFMONNUMC2MONAT
KAGJAFiscal Year of Current Period LFGJANUMC4GJAHRGJAHR
KARUEMxxxH rec. already exists for per. before last of Mxxx per. SBRUECHAR1XFELD

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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!