SLGH SAP (Elements of Stock Population) Table details

Dictionary Type: Table
Description: Elements of Stock Population




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




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

SLGH is a standard SAP Table which is used to store Elements of Stock Population data and is available within R/3 SAP systems depending on the version and release level.

The SLGH table consists of various fields, each holding specific information or linking keys about Elements of Stock Population data available in SAP. These include SINUM (Inventory sampling number), SJAHR (Calendar year of the inventory sampling), NRBSE (Stock management level number), POSLG (Stock population item).. 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 SLGH 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 MANDTCLNT3T000MANDT
SINUMInventory sampling number MBS_SINUMCHAR10ALPHAMBS_SINUMSIN
SJAHRCalendar year of the inventory sampling MBS_SJAHRNUMC4GJAHRGJAHRMJA
NRBSEStock management level number MBS_NRBSENUMC3NUM03
POSLGStock population item MBS_POSLGNUMC6NUM06
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
CHARGBatch Number CHARG_DCHAR10MCHACHARGCHA
BWTARValuation type BWTAACHAR10BWTAABWT
LGPLAStorage Bin LGPLACHAR10LAGPLGPLALGPLAG1
BSTARStock type BSTARCHAR1T064ABSTAR
LVORMDeletion Indicator LVORMCHAR1XFELD
MAABCABC Indicator MAABCCHAR1TMABCMAABC
KZKRIIndicator: Critical part KZKRICHAR1XFELD
PREISPrice PREISCURR11(2) WERT11
PEINHPrice Unit PEINHDEC5PACK3
XVERRElement of complete-count area MBS_XVERRCHAR1XFELD
XSPELSample element (selected) MBS_XSPELCHAR1XFELD
XZAELItem has been counted XZAELCHAR1XFELD
XDIFFDifference posted XDIFFCHAR1XFELD
KLANFClass number at beginning of invtry sampling MBS_KNANFNUMC4NUM04
SNANFStratum number at beginning of inventory sampling MBS_SNANFNUMC2NUM02
BUANFInitial book value MBS_BUANFCURR13(2) WERT13
SNAKTCurrent Stratum number of inventory sampling MBS_SNAKTNUMC2NUM02
BUAKTCurrent book value MBS_BUAKTCURR13(2) CURRV13
SNZZPStratum number of inventory sampling at time of count MBS_SNZZPNUMC2NUM02
BUZZPBook value at time of count MBS_BUZZPCURR13(2) CURRV13
ISZZPActual value at time of count MBS_ISZZPCURR13(2) CURRV13
LMENGQuantity MENGE_DQUAN13(3) MENG13

Key field Non-key field



How do I retrieve data from SAP table SLGH using ABAP code

The following ABAP code Example will allow you to do a basic selection on SLGH to SELECT all data from the table
DATA: WA_SLGH TYPE SLGH.

SELECT SINGLE *
FROM SLGH
INTO CORRESPONDING FIELDS OF WA_SLGH
WHERE...

How to access SAP table SLGH

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