LSEG SAP (Document for Inward and Outward Movements) Table details

Dictionary Type: Table
Description: Document for Inward and Outward Movements




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3Assigned to domainLGNUMLGN
LBELNWarehouse material document number LSEG_LBELNNUMC10LSEG_LBELNLBG
LBPOSWarehouse material doc. item LSEG_LBPOSNUMC4LSEG_LBPOS
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
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
MENGEDoc. qty in stockkeeping unit LSEG_MENGEQUAN13(3) MENSH
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
BDATUCreation date of whse document LSEG_BDATUDATS8DATUM
BZEITCreation time of whse document LSEG_BZEITTIMS6UZEIT
LVBTPCategory of original document LSEG_LVBTPCHAR1LSEG_LVBTP
LVBNRDocument number of original document LSEG_LVBNRCHAR20LVS_LZNUM
LVBPSItem number in source document LSEG_POSNRNUMC6Assigned to domainPOSNR
LENUMStorage Unit Number LENUMCHAR20Assigned to domainLENUMLENUMLEN
LETYPStorage Unit Type LVS_LETYPCHAR3Assigned to domainLVS_LETYP
XHUPFHandling unit requirement XHUPFCHAR1XFELD
NOSTKDo not execute stock change in decentr. WM LSEG_NOSTKCHAR1XFELD
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM

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 table
DATA: 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 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!