LSEG SAP (Document for Inward and Outward Movements) Table details
Dictionary Type: Table
Description: Document for Inward and Outward Movements
Description: Document for Inward and Outward Movements
Table field list including key, data, relationships and ABAP select examples
LSEG is a standard SAP Table which is used to store Document for Inward and Outward Movements data and is available within R/3 SAP systems depending on the version and release level.
The LSEG table consists of various fields, each holding specific information or linking keys about Document for Inward and Outward Movements data available in SAP. These include LGNUM (Warehouse Number / Warehouse Complex), LBELN (Warehouse material document number), LBPOS (Warehouse material doc. item), MATNR (Material Number).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP LSEG table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | Assigned to domain | LGNUM | LGN | ||
LBELN | Warehouse material document number | LSEG_LBELN | NUMC | 10 | LSEG_LBELN | LBG | |||
LBPOS | Warehouse material doc. item | LSEG_LBPOS | NUMC | 4 | LSEG_LBPOS | ||||
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 | ||
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 | |||
MENGE | Doc. qty in stockkeeping unit | LSEG_MENGE | QUAN | 13(3) | MENSH | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
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 | |
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
BDATU | Creation date of whse document | LSEG_BDATU | DATS | 8 | DATUM | ||||
BZEIT | Creation time of whse document | LSEG_BZEIT | TIMS | 6 | UZEIT | ||||
LVBTP | Category of original document | LSEG_LVBTP | CHAR | 1 | LSEG_LVBTP | ||||
LVBNR | Document number of original document | LSEG_LVBNR | CHAR | 20 | LVS_LZNUM | ||||
LVBPS | Item number in source document | LSEG_POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
LENUM | Storage Unit Number | LENUM | CHAR | 20 | Assigned to domain | LENUM | LENUM | LEN | |
LETYP | Storage Unit Type | LVS_LETYP | CHAR | 3 | Assigned to domain | LVS_LETYP | |||
XHUPF | Handling unit requirement | XHUPF | CHAR | 1 | XFELD | ||||
NOSTK | Do not execute stock change in decentr. WM | LSEG_NOSTK | CHAR | 1 | XFELD | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM |
Key field | Non-key field |
How do I retrieve data from SAP table LSEG using ABAP code
The following ABAP code Example will allow you to do a basic selection on LSEG to SELECT all data from the tableDATA: WA_LSEG TYPE LSEG.
SELECT SINGLE *
FROM LSEG
INTO CORRESPONDING FIELDS OF WA_LSEG
WHERE...
How to access SAP table LSEG
Within an ECC or HANA version of SAP you can also view further information about LSEG 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