SMRES SAP (Lock Table MRES) Structure details
Description: Lock Table MRES
Structure field list including key, data, relationships and ABAP select examples
SMRES 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 MRES" 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_SMRES TYPE SMRES.
The SMRES table consists of various fields, each holding specific information or linking keys about Lock Table MRES data available in SAP. These include RSPOS (Item Number of Reservation/Dependent Requirement), RSART (Record type), KZEAR (Final Issue for This Reservation), ENMNG (Quantity Withdrawn).. 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 SMRES 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 |
RSNUM | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
RSART | Record type | RSART | CHAR | 1 | RSART | ||||
KZEAR | Final Issue for This Reservation | KZEAR | CHAR | 1 | XFELD | ||||
ENMNG | Quantity Withdrawn | ENMNG | QUAN | 13(3) | MENG13 | ||||
VNMNG | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
BDMNG | Requirement Quantity | BDMNG | QUAN | 13(3) | MENG13 | ||||
ENWRT | Value Withdrawn | ENWRT | CURR | 13(2) | VWERT13 | ||||
ENMNG_OLD | Quantity Withdrawn | ENMNG | QUAN | 13(3) | MENG13 | ||||
ENWRT_OLD | Value Withdrawn | ENWRT | CURR | 13(2) | VWERT13 | ||||
KZEAR_OLD | Final Issue for This Reservation | KZEAR | CHAR | 1 | XFELD | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
VFMNG | Confirmed quantity for availability check in SKU | VMENG | QUAN | 15(3) | MENG15 | ||||
XLOEK | Item is Deleted | XLOEK | CHAR | 1 | XFELD | ||||
OBJTYPE | Change indicator | OCM_OBJ_TYPE | CHAR | 1 | OCM_OBJ_TYPE | ||||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
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 | |
RSHKZ | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
RSUML | Stock transfer/transfer posting | KZUML | CHAR | 1 | XFELD | ||||
BDART | Requirement type | BDART | CHAR | 2 | BDART | BDA |
Key field | Non-key field |
How do I retrieve data from SAP structure SMRES using ABAP code?
As SMRES 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 SMRES as there is no data to select.How to access SAP table SMRES
Within an ECC or HANA version of SAP you can also view further information about SMRES 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