LEIN is a standard Warehouse Management Transparent Table in SAP Logistics Execution application, which stores Storage unit header records data. Below you can view the Table Structure, columns(fields), SAP Wiki pages, discussion threads, related TCodes, FMs, ABAP Reports, BW Datasources, and Authorization Objects for LEIN. You can use the transaction code SE16 to view the data in this table, and SE11 TCode for the table structure and definition.

LEIN — Meta Data

Description: Storage unit header records
Main Category: Logistics Execution
Sub Category: Warehouse Management
Table type: Transparent Table (TRANSP)

LEIN — Table Structure, Fields(Columns) and Definitions

    Position Column Name Description Primary Key Data Type Length Check Table
    1 MANDT Client X CLNT 3 T000
    2 LENUM Handling Unit Identification X CHAR 20
    3 LGNUM Warehouse No. CHAR 3 T300
    4 LETYP Storage Unit Type CHAR 3 T307
    5 LGTYP Storage Type CHAR 3 T301
    6 LGPLA Storage Bin CHAR 10 *
    7 SKZUA Block Indicator: For Stock Removals CHAR 1
    8 SKZUE Block Indicator: For Putaways CHAR 1
    9 SPGRU Blocking reason CHAR 1 T330
    10 STATU Status CHAR 1
    11 ANZQU Number of quants in storage bin DEC 7
    12 BDATU Valid-To Date of Production Version DATS 8
    13 BZEIT Time TIMS 6
    14 BTANR Warehouse Task Number of Last Movement NUMC 10
    15 BTAPS Item in transfer order of last stock transfer NUMC 4
    16 MGEWI Weight of material DEC 11
    17 GEWEI Weight unit UNIT 3 T006
    18 PLPOS Position in Storage Bin CHAR 2
    19 AOFTA Number of Open Transfer Order Items DEC 5
    20 REFNR Reference Order Number CHAR 10 T311
    21 UVTYP Stor.type to which rem.goods are posted after compl.st.rem. CHAR 3 T301
    22 UVPLA Stor.bin to which rem.goods are posted after compl.stck rem. CHAR 10 *
    23 KKAPV Capacity usage of storage unit type DEC 11
    24 OKAPV Old capacity usage of storage unit DEC 11
    25 NPLEI Destination Bin Changeable During Confirmation CHAR 1
    26 UVPOS Position in transfer bin CHAR 2
    27 UVQNR Quant NUMC 10
    28 WETYP Date type (day CHAR 3 *
    29 WEPLA Storage bin where GR posting takes place CHAR 10 *
    30 WESTA Goods Movement Status for Storage Bin CHAR 1
    31 WEAQU Number of quants with missing GR posting DEC 7
    32 VBELN Sales Document CHAR 10 *

SAP Help, Wiki Resources, and Forum Discussions on LEIN

Transaction Codes for SAP Table LEIN

TCODE Description Functional Area
MCHA RIS: Till Receipt/Matl - Selection Logistics - Retail Information System (RIS)
LS33 Display storage unit LE - Warehouse Management
LT01 Create Transfer Order Logistics Execution - Warehouse Management
LS26 Warehouse stocks per material LE - Warehouse Management
LT09 ID point function for storage units LE - Warehouse Management
LT03 Create TO for Delivery Logistics Execution - Warehouse Management
MGMT Device Configuration Basis - SAP NetWeaver Mobile - Use subcomponents
MM03 Display Material & Logistics - Material Master

FMs for SAP Table LEIN

FM Description Functional Area
L_TO_CREATE_MOVE_SU Create transfer order for moving storage units Logistics Execution - Warehouse Management
GUI_UPLOAD Upload for Data Provider Basis - Graphical User Interface
BAPI_GOODSMVT_CREATE Post goods movements with MB_CREATE_GOODS_MOVEMENT MM - Inventory Management
L_TO_CREATE_SINGLE Create a transfer order with one item Logistics Execution - Warehouse Management
L_TO_CREATE_MULTIPLE Erzeugen eines Transportauftrags mit mehreren Positionen Logistics Execution - Warehouse Management
L_TO_CREATE_DN Create a transfer order for delivery note Logistics Execution - Warehouse Management
DEQUEUE_ALL Release Locks of an LUW Basis - Activation Program, Conversion Program, DB Utility, MC, SPDD
BAPI_TRANSACTION_COMMIT Execute external Commit when using BAPIs Basis - ALE Integration Technology

ABAP Reports for SAP Table LEIN

ABAP REPORT Description Functional Area
SAPML03T Generate transfer order: screens, reference documents, ... Logistics Execution - Warehouse Management
RLTREORG2 Storage Bins / Storage Units analysis Logistics Execution - Warehouse Management
SAPMS38M ABAP program development - Reporting (SE38, SA38, SC38) Basis - Report Tree
RLAUTA10 Create Transfer Orders for Material Document in Background Logistics Execution - Warehouse Management
RLLT0F00 Remove Handling Units from Storage Logistics Execution - Warehouse Management
RLAUTA11 Create transfer orders for posting change notices automatically Logistics Execution - Warehouse Management
RLS30010 SLED control list Logistics Execution - Warehouse Management
MLLVSKON Object Records for Drilldown: Create and Transfer to Summariz. Level Logistics Execution - Warehouse Management

Authorization Objects for SAP Table LEIN

AUTHORIZATION OBJECT Description Functional Area
I_FCODE WCM: Function Codes (e.g. Operational Cycle)
C_SIGN_BGR Authorization Group for Digital Signature
CRM_CATT Authorization for CRM eCATT Based Unit Testing
ECM_VAL Change Management: Validity
J_1IEWT_HC health check for Migration to EWT
ECM_CTXT Engineering Change Management: Context
FDT_WORKB BRFplus: Authorization Check for BRFplus Workbench
L_SFUNC Special functions in Warehouse Management