LREPL SAP (WM: Replenishment by TR Through User Exit) Structure details
Description: WM: Replenishment by TR Through User Exit
Structure field list including key, data, relationships and ABAP select examples
LREPL 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 "WM: Replenishment by TR Through User Exit" 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_LREPL TYPE LREPL.
The LREPL table consists of various fields, each holding specific information or linking keys about WM: Replenishment by TR Through User Exit data available in SAP. These include MANDT (Client), MATNR (Material Number), LGNUM (Warehouse Number / Warehouse Complex), LGTYP (Storage Type).. 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 LREPL 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 |
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | MLGN | LGNUM | LGN | ||
LGTYP | Storage Type | LGTYP | CHAR | 3 | T301 | LGTYP | LGT | H_T301 | |
LVORM | Deletion flag for all material data of a storage type | LVOLT | CHAR | 1 | XFELD | ||||
LGPLA | Storage Bin | LGPLA | CHAR | 10 | LAGP | LGPLA | LGP | LAG1 | |
LPMAX | Maximum storage bin quantity | MLGT_LPMAX | QUAN | 13(3) | MENG13 | ||||
LPMIN | Minimum storage bin quantity | MLGT_LPMIN | QUAN | 13(3) | MENG13 | ||||
MAMNG | Control quantity | MLGT_MAMNG | QUAN | 13(3) | MENG13 | ||||
NSMNG | Replenishment quantity | MLGT_NSMNG | QUAN | 13(3) | MENG13 | ||||
KOBER | Picking Area | KOBER | CHAR | 3 | T30A | KOBER | |||
RDMNG | Rounding qty | MLGT_RDMNG | QUAN | 13(3) | MENG13 | ||||
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
VERME | Available stock | LQUA_VERME | QUAN | 13(3) | MENSH | ||||
EINME | Stock for putaway | LQUA_EINME | QUAN | 13(3) | MENSH | ||||
TBOFF | Open transfer requirement quantity | RLCPPTBOFF | QUAN | 13(3) | MENSH | ||||
OFMNG | Staging Quantity to be Requested | RLCPPOFMNG | QUAN | 13(3) | MENSH | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ECODE | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
EPROT | Error log | LRESBEPROT | CHAR | 80 | TEXT80 | ||||
SELKZ | Selection Field | RLCPPSELKZ | CHAR | 1 | XFELD | ||||
LINNO | Current Line in List | SYLINNO | INT4 | 10 | SYST_SHORT | ||||
PAGNO | Current List Page | SYPAGNO | INT4 | 10 | SYST_SHORT | ||||
MARC_EXISTS | Checkbox | XFELD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure LREPL using ABAP code?
As LREPL 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 LREPL as there is no data to select.How to access SAP table LREPL
Within an ECC or HANA version of SAP you can also view further information about LREPL 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