/ISDFPS/BAPI_LEIN SAP (LEIN Structure) Structure details

Dictionary Type: Structure
Description: LEIN Structure




ABAP Code to SELECT data from /ISDFPS/BAPI_LEIN
Related tables to /ISDFPS/BAPI_LEIN
Access table /ISDFPS/BAPI_LEIN




Structure field list including key, data, relationships and ABAP select examples

/ISDFPS/BAPI_LEIN 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 "LEIN Structure" 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_/ISDFPS/BAPI_LEIN TYPE /ISDFPS/BAPI_LEIN.

The /ISDFPS/BAPI_LEIN table consists of various fields, each holding specific information or linking keys about LEIN Structure data available in SAP. These include LGNUM (Warehouse Number / Warehouse Complex), LETYP (Storage Unit Type), LGTYP (Storage Type), LGPLA (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 /ISDFPS/BAPI_LEIN 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
LENUMStorage Unit Number LENUMCHAR20Assigned to domainLENUMLENUMLEN
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3Assigned to domainLGNUMLGN
LETYPStorage Unit Type LVS_LETYPCHAR3Assigned to domainLVS_LETYP
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
SKZUABlocking Indicator: For Stock Removals (User) LEIN_SKZUACHAR1XFELD
SKZUEBlocking indicator: for putaways (user) LEIN_SKZUECHAR1XFELD
SPGRUBlocking reason LVS_SPGRUCHAR1Assigned to domainLVS_SPGRU
STATUStatus of Storage Unit LEIN_STATUCHAR1LEIN_STATU
ANZQUNumber of quants on storage unit LEIN_ANZQUDEC7LVS_ANZQU
BDATUDate of last movement LEIN_BDATUDATS8DATUM
BZEITTime of last movement LEIN_BZEITTIMS6UZEIT
BTANRTransfer order number of last stock transfer LEIN_BTANRNUMC10TANUM
BTAPSItem in transfer order of last stock transfer LEIN_BTAPSNUMC4TAPOS
MGEWIWeight of materials on storage unit LEIN_MGEWIDEC11(3) DEC8_3
GEWEIWeight Unit GEWEIUNIT3Assigned to domainCUNITMEINS
PLPOSPosition in storage bin LVS_PLPOSCHAR2LVS_PLPOS
AOFTANumber of open transfer order items on storage unit LEIN_AOFTADEC5LVS_ANZPS
REFNRGroup LVS_REFNRCHAR10Assigned to domainALPHALVS_REFNRREFNRH_LVS_REFNR
UVTYPStor.type to which rem.goods are posted after compl.st.rem. LEIN_UVTYPCHAR3Assigned to domainLGTYP
UVPLAStor.bin to which rem.goods are posted after compl.stck rem. LEIN_UVPLACHAR10Assigned to domainLGPLA
KKAPVCapacity usage of storage unit type LVS_KKAPVDEC11(3) DEC8_3
OKAPVOld capacity usage of storage unit LEIN_OKAPVDEC11(3) DEC8_3
NPLEIDest.stor.bin changeable during confirmation LVS_NPLEICHAR1LVS_NPLEI
UVPOSPosition in transfer bin LEIN_UVPOSCHAR2LVS_PLPOS
UVQNRQuant LVS_LQNUMNUMC10LVS_LQNUMLQN
WETYPStorage type where GR posting takes place LEIN_WETYPCHAR3Assigned to domainLGTYP
WEPLAStorage bin where GR posting takes place LEIN_WEPLACHAR10Assigned to domainLGPLA
WESTAGoods Movement Status for Storage Bin LEIN_WESTACHAR1LEIN_WESTA
WEAQUNumber of quants with missing GR posting LEIN_WEAQUDEC7LEIN_WEAQU
VBELNDelivery VBELN_VLCHAR10Assigned to domainALPHAVBELNVL

Key field Non-key field



How do I retrieve data from SAP structure /ISDFPS/BAPI_LEIN using ABAP code?

As /ISDFPS/BAPI_LEIN 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 /ISDFPS/BAPI_LEIN as there is no data to select.

How to access SAP table /ISDFPS/BAPI_LEIN

Within an ECC or HANA version of SAP you can also view further information about /ISDFPS/BAPI_LEIN 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!