/ISDFPS/BAPI_LEIN SAP (LEIN Structure) Structure details
Description: LEIN Structure
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 |
LENUM | Storage Unit Number | LENUM | CHAR | 20 | Assigned to domain | LENUM | LENUM | LEN | |
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
LETYP | Storage Unit Type | LVS_LETYP | CHAR | 3 | Assigned to domain | LVS_LETYP | |||
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 | |
SKZUA | Blocking Indicator: For Stock Removals (User) | LEIN_SKZUA | CHAR | 1 | XFELD | ||||
SKZUE | Blocking indicator: for putaways (user) | LEIN_SKZUE | CHAR | 1 | XFELD | ||||
SPGRU | Blocking reason | LVS_SPGRU | CHAR | 1 | Assigned to domain | LVS_SPGRU | |||
STATU | Status of Storage Unit | LEIN_STATU | CHAR | 1 | LEIN_STATU | ||||
ANZQU | Number of quants on storage unit | LEIN_ANZQU | DEC | 7 | LVS_ANZQU | ||||
BDATU | Date of last movement | LEIN_BDATU | DATS | 8 | DATUM | ||||
BZEIT | Time of last movement | LEIN_BZEIT | TIMS | 6 | UZEIT | ||||
BTANR | Transfer order number of last stock transfer | LEIN_BTANR | NUMC | 10 | TANUM | ||||
BTAPS | Item in transfer order of last stock transfer | LEIN_BTAPS | NUMC | 4 | TAPOS | ||||
MGEWI | Weight of materials on storage unit | LEIN_MGEWI | DEC | 11(3) | DEC8_3 | ||||
GEWEI | Weight Unit | GEWEI | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PLPOS | Position in storage bin | LVS_PLPOS | CHAR | 2 | LVS_PLPOS | ||||
AOFTA | Number of open transfer order items on storage unit | LEIN_AOFTA | DEC | 5 | LVS_ANZPS | ||||
REFNR | Group | LVS_REFNR | CHAR | 10 | Assigned to domain | ALPHA | LVS_REFNR | REFNR | H_LVS_REFNR |
UVTYP | Stor.type to which rem.goods are posted after compl.st.rem. | LEIN_UVTYP | CHAR | 3 | Assigned to domain | LGTYP | |||
UVPLA | Stor.bin to which rem.goods are posted after compl.stck rem. | LEIN_UVPLA | CHAR | 10 | Assigned to domain | LGPLA | |||
KKAPV | Capacity usage of storage unit type | LVS_KKAPV | DEC | 11(3) | DEC8_3 | ||||
OKAPV | Old capacity usage of storage unit | LEIN_OKAPV | DEC | 11(3) | DEC8_3 | ||||
NPLEI | Dest.stor.bin changeable during confirmation | LVS_NPLEI | CHAR | 1 | LVS_NPLEI | ||||
UVPOS | Position in transfer bin | LEIN_UVPOS | CHAR | 2 | LVS_PLPOS | ||||
UVQNR | Quant | LVS_LQNUM | NUMC | 10 | LVS_LQNUM | LQN | |||
WETYP | Storage type where GR posting takes place | LEIN_WETYP | CHAR | 3 | Assigned to domain | LGTYP | |||
WEPLA | Storage bin where GR posting takes place | LEIN_WEPLA | CHAR | 10 | Assigned to domain | LGPLA | |||
WESTA | Goods Movement Status for Storage Bin | LEIN_WESTA | CHAR | 1 | LEIN_WESTA | ||||
WEAQU | Number of quants with missing GR posting | LEIN_WEAQU | DEC | 7 | LEIN_WEAQU | ||||
VBELN | Delivery | VBELN_VL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VL |
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 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