SMSSA SAP (Lock Table MSSA) Structure details
Description: Lock Table MSSA
Structure field list including key, data, relationships and ABAP select examples
SMSSA 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 "Lock Table MSSA" 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_SMSSA TYPE SMSSA.
The SMSSA table consists of various fields, each holding specific information or linking keys about Lock Table MSSA data available in SAP. These include WERKS (Plant), SOBKZ (Special Stock Indicator), VBELN (Sales and Distribution Document Number), POSNR (Item number of the SD document).. 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 SMSSA 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 |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
RMSSA | Return code MSSA | RMSSA | CHAR | 1 | XFELD | ||||
XDBUP | Database update | XDBUP | CHAR | 1 | XFELD | ||||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
LFMON | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SALAB | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | ||||
SAINS | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | ||||
SASPE | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | ||||
SAEIN | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | ||||
SALAB_OLD | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | ||||
SAINS_OLD | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | ||||
SASPE_OLD | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | ||||
SAEIN_OLD | Total Stock of All Restricted Batches | EINME | QUAN | 13(3) | MENG13V | ||||
KZBWS | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
SATRA | Stock in transit | SATRA | QUAN | 13(3) | MENG13V | ||||
SATRA_OLD | Stock in transit | SATRA | QUAN | 13(3) | MENG13V | ||||
SAVTR | Stock in transit for prev. period | SAVTR | QUAN | 13(3) | MENG13V | ||||
SAVTR_OLD | Stock in transit for prev. period | SAVTR | QUAN | 13(3) | MENG13V | ||||
RMSSAH | Data content X or blank | XWERT | CHAR | 1 | XFELD | ||||
SALFM | Current period (posting period) | LFMON | NUMC | 2 | MONAT | ||||
SAGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
SARUE | MxxxH rec. already exists for per. before last of Mxxx per. | SBRUE | CHAR | 1 | XFELD | ||||
SABWE | Valuated Goods Receipt Blocked Stock, Sales Order | SABWE | QUAN | 13(3) | MENG13V | ||||
SABWE_OLD | Valuated Goods Receipt Blocked Stock, Sales Order | SABWE | QUAN | 13(3) | MENG13V | ||||
SAVBW | Valuated Goods Receipt Blocked Stock, Sales Order | SABWE | QUAN | 13(3) | MENG13V | ||||
SAVBW_OLD | Valuated Goods Receipt Blocked Stock, Sales Order | SABWE | QUAN | 13(3) | MENG13V |
Key field | Non-key field |
How do I retrieve data from SAP structure SMSSA using ABAP code?
As SMSSA 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 SMSSA as there is no data to select.How to access SAP table SMSSA
Within an ECC or HANA version of SAP you can also view further information about SMSSA 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