SMRES SAP (Lock Table MRES) Structure details

Dictionary Type: Structure
Description: Lock Table MRES




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




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
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
RSARTRecord type RSARTCHAR1RSART
KZEARFinal Issue for This Reservation KZEARCHAR1XFELD
ENMNGQuantity Withdrawn ENMNGQUAN13(3) MENG13
VNMNGQuantity MENGE_DQUAN13(3) MENG13
BDMNGRequirement Quantity BDMNGQUAN13(3) MENG13
ENWRTValue Withdrawn ENWRTCURR13(2) VWERT13
ENMNG_OLDQuantity Withdrawn ENMNGQUAN13(3) MENG13
ENWRT_OLDValue Withdrawn ENWRTCURR13(2) VWERT13
KZEAR_OLDFinal Issue for This Reservation KZEARCHAR1XFELD
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
VFMNGConfirmed quantity for availability check in SKU VMENGQUAN15(3) MENG15
XLOEKItem is Deleted XLOEKCHAR1XFELD
OBJTYPEChange indicator OCM_OBJ_TYPECHAR1OCM_OBJ_TYPE
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
RSHKZDebit/Credit Indicator SHKZGCHAR1SHKZG
RSUMLStock transfer/transfer posting KZUMLCHAR1XFELD
BDARTRequirement type BDARTCHAR2BDARTBDA

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 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!