LPROT SAP (Analysis Storage Bin Search) Structure details
Description: Analysis Storage Bin Search
Structure field list including key, data, relationships and ABAP select examples
LPROT 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 "Analysis Storage Bin Search" 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_LPROT TYPE LPROT.
The LPROT table consists of various fields, each holding specific information or linking keys about Analysis Storage Bin Search data available in SAP. These include LGNUM (Warehouse Number / Warehouse Complex), LGTYP (Storage Type), LGPLA (Storage Bin), LKDYN (Indicator: dynamic storage bin).. 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 LPROT 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 |
PTYPE | Type of Log Record for Storage Bin Search | LPROTPTYPE | NUMC | 4 | LPROTPTYPE | ||||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
LGTYP | Storage Type | LGTYP | CHAR | 3 | Assigned to domain | LGTYP | LGT | H_T301 | |
LGPLA | Storage Bin | LGPLA | CHAR | 10 | Assigned to domain | LGPLA | LGP | LAG1 | |
LKDYN | Indicator: dynamic storage bin | LVS_KZDYN | CHAR | 1 | XFELD | ||||
LGBER | Storage Section | LGBER | CHAR | 3 | Assigned to domain | LGBER | |||
LPTYP | Storage bin type | LVS_LPTYP | CHAR | 2 | Assigned to domain | LVS_LPTYP | LPT | ||
LETYP | Storage Unit Type | LVS_LETYP | CHAR | 3 | Assigned to domain | LVS_LETYP | |||
REGKZ | Region code | REGKZ | CHAR | 3 | Assigned to domain | REGKZ | REG | ||
PLPOS | Position in storage bin | LVS_PLPOS | CHAR | 2 | LVS_PLPOS | ||||
LQNUM | Quant | LVS_LQNUM | NUMC | 10 | LVS_LQNUM | LQN | |||
LENUM | Storage Unit Number | LENUM | CHAR | 20 | Assigned to domain | LENUM | LENUM | LEN | |
STATU | Status of Storage Unit | LEIN_STATU | CHAR | 1 | LEIN_STATU | ||||
WGFKL | Water Pollution Class | MGEF_WGFKL | NUMC | 1 | MGEF_WGFKL | ||||
LAGKL | Storage class | LVS_LAGKL | CHAR | 5 | Assigned to domain | MGEF_LAGKL | |||
KZEAR | Indicator: storage type search | T334TKZEAR | CHAR | 1 | T334TKZEAR | ||||
LGTKZ | Storage Type Indicator | LVS_LGTKZ | CHAR | 3 | Assigned to domain | LVS_LGTKZ | |||
BWREF | Reference to movement type during storage type search | LVS_BWREF | NUMC | 3 | LVS_BWREF | ||||
LGREF | Storage loc. ref. | LVS_LGREF | CHAR | 2 | Assigned to domain | LVS_LGREF | |||
PLAUF | Section of a storage bin | LVS_PLAUF | CHAR | 1 | Assigned to domain | LVS_PLAUF | |||
MAXQU | Maximum number of quants in storage bin | LAGP_MAXQU | DEC | 7 | LVS_ANZQU | ||||
MAXLE | Maximum number of storage units in storage bin | LAGP_MAXLE | DEC | 5 | LAGP_MAXLE | ||||
ANZQU | Number of quants in storage bin | LAGP_ANZQU | DEC | 7 | LVS_ANZQU | ||||
ANZLE | Number of storage units in storage bin | LAGP_ANZLE | DEC | 9(3) | LAGP_ANZLE | ||||
LPMAX | Maximum storage bin quantity | MLGT_LPMAX | QUAN | 13(3) | MENG13 | ||||
MAMNG | Control quantity | MLGT_MAMNG | QUAN | 13(3) | MENG13 | ||||
ANFME | Requested quantity in alternative unit of measure | RL03TANFME | QUAN | 13(3) | MENG13 | ||||
ANFML | Requested quantity of transfer order in stockkeeping unit | RL03TANFML | QUAN | 13(3) | MENG13 | ||||
ALTME | Alternative Unit of Measure for Stockkeeping Unit | LRMEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UMREZ | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
UMREN | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
MENGE | Quantity | LPROTMENGE | QUAN | 13(3) | MENSH | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BESTQ | Stock Category in the Warehouse Management System | BESTQ | CHAR | 1 | BESTQ | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SONUM | Special Stock Number | LVS_SONUM | CHAR | 16 | ALPHA | LVS_SONUM | |||
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 | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
STEIN | Putaway strategy | T331_STEIN | CHAR | 1 | T331_STEIN | ||||
STAUS | Stock Removal Strategy | T331_STAUS | CHAR | 1 | T331_STAUS | ||||
PRLET | Ind: Activate storage unit type check for stock placement | T331_PRLET | CHAR | 1 | XFELD | ||||
PRBER | Indicator: storage section check active | T331_PRBER | CHAR | 1 | T331_PRBER | ||||
MISCH | Indicator: mixed storage | T331_MISCH | CHAR | 1 | T331_MISCH | ||||
ZULAG | Indicator: addition to existing stock allowed | T331_ZULAG | CHAR | 1 | T331_ZULAG | ||||
GEFAL | Indicator: management of hazardous materials active | T331_GEFAL | CHAR | 1 | T331_GEFAL | ||||
KAPAP | Capacity Check Method | T331_KAPAP | CHAR | 1 | T331_KAPAP | ||||
LENVW | Indicator: Storage type with storage unit management | T331_LENVW | CHAR | 1 | XFELD | ||||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGNO | Message Number | SYMSGNO | NUMC | 3 | SYMSGNO | ||||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
SUBRC | Return Code | SYSUBRC | INT4 | 10 | SYST_SHORT |
Key field | Non-key field |
How do I retrieve data from SAP structure LPROT using ABAP code?
As LPROT 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 LPROT as there is no data to select.How to access SAP table LPROT
Within an ECC or HANA version of SAP you can also view further information about LPROT 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