LPROT SAP (Analysis Storage Bin Search) Structure details

Dictionary Type: Structure
Description: Analysis Storage Bin Search




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




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
PTYPEType of Log Record for Storage Bin Search LPROTPTYPENUMC4LPROTPTYPE
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3Assigned to domainLGNUMLGN
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
LKDYNIndicator: dynamic storage bin LVS_KZDYNCHAR1XFELD
LGBERStorage Section LGBERCHAR3Assigned to domainLGBER
LPTYPStorage bin type LVS_LPTYPCHAR2Assigned to domainLVS_LPTYPLPT
LETYPStorage Unit Type LVS_LETYPCHAR3Assigned to domainLVS_LETYP
REGKZRegion code REGKZCHAR3Assigned to domainREGKZREG
PLPOSPosition in storage bin LVS_PLPOSCHAR2LVS_PLPOS
LQNUMQuant LVS_LQNUMNUMC10LVS_LQNUMLQN
LENUMStorage Unit Number LENUMCHAR20Assigned to domainLENUMLENUMLEN
STATUStatus of Storage Unit LEIN_STATUCHAR1LEIN_STATU
WGFKLWater Pollution Class MGEF_WGFKLNUMC1MGEF_WGFKL
LAGKLStorage class LVS_LAGKLCHAR5Assigned to domainMGEF_LAGKL
KZEARIndicator: storage type search T334TKZEARCHAR1T334TKZEAR
LGTKZStorage Type Indicator LVS_LGTKZCHAR3Assigned to domainLVS_LGTKZ
BWREFReference to movement type during storage type search LVS_BWREFNUMC3LVS_BWREF
LGREFStorage loc. ref. LVS_LGREFCHAR2Assigned to domainLVS_LGREF
PLAUFSection of a storage bin LVS_PLAUFCHAR1Assigned to domainLVS_PLAUF
MAXQUMaximum number of quants in storage bin LAGP_MAXQUDEC7LVS_ANZQU
MAXLEMaximum number of storage units in storage bin LAGP_MAXLEDEC5LAGP_MAXLE
ANZQUNumber of quants in storage bin LAGP_ANZQUDEC7LVS_ANZQU
ANZLENumber of storage units in storage bin LAGP_ANZLEDEC9(3) LAGP_ANZLE
LPMAXMaximum storage bin quantity MLGT_LPMAXQUAN13(3) MENG13
MAMNGControl quantity MLGT_MAMNGQUAN13(3) MENG13
ANFMERequested quantity in alternative unit of measure RL03TANFMEQUAN13(3) MENG13
ANFMLRequested quantity of transfer order in stockkeeping unit RL03TANFMLQUAN13(3) MENG13
ALTMEAlternative Unit of Measure for Stockkeeping Unit LRMEIUNIT3Assigned to domainCUNITMEINS
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
UMREZNumerator for Conversion to Base Units of Measure UMREZDEC5UMBSZ
UMRENDenominator for conversion to base units of measure UMRENDEC5UMBSN
MENGEQuantity LPROTMENGEQUAN13(3) MENSH
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BESTQStock Category in the Warehouse Management System BESTQCHAR1BESTQ
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
SONUMSpecial Stock Number LVS_SONUMCHAR16ALPHALVS_SONUM
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
STEINPutaway strategy T331_STEINCHAR1T331_STEIN
STAUSStock Removal Strategy T331_STAUSCHAR1T331_STAUS
PRLETInd: Activate storage unit type check for stock placement T331_PRLETCHAR1XFELD
PRBERIndicator: storage section check active T331_PRBERCHAR1T331_PRBER
MISCHIndicator: mixed storage T331_MISCHCHAR1T331_MISCH
ZULAGIndicator: addition to existing stock allowed T331_ZULAGCHAR1T331_ZULAG
GEFALIndicator: management of hazardous materials active T331_GEFALCHAR1T331_GEFAL
KAPAPCapacity Check Method T331_KAPAPCHAR1T331_KAPAP
LENVWIndicator: Storage type with storage unit management T331_LENVWCHAR1XFELD
MSGIDMessage Class SYMSGIDCHAR20Assigned to domainARBGB
MSGTYMessage Type SYMSGTYCHAR1SYCHAR01
MSGNOMessage Number SYMSGNONUMC3SYMSGNO
MSGV1Message Variable SYMSGVCHAR50SYCHAR50
MSGV2Message Variable SYMSGVCHAR50SYCHAR50
MSGV3Message Variable SYMSGVCHAR50SYCHAR50
MSGV4Message Variable SYMSGVCHAR50SYCHAR50
SUBRCReturn Code SYSUBRCINT410SYST_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 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!