SLGH SAP (Elements of Stock Population) Table details
Dictionary Type: Table
Description: Elements of Stock Population
Description: Elements of Stock Population
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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
SINUM | Inventory sampling number | MBS_SINUM | CHAR | 10 | ALPHA | MBS_SINUM | SIN | ||
SJAHR | Calendar year of the inventory sampling | MBS_SJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
NRBSE | Stock management level number | MBS_NRBSE | NUMC | 3 | NUM03 | ||||
POSLG | Stock population item | MBS_POSLG | NUMC | 6 | NUM06 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCHA | CHARG | CHA | ||
BWTAR | Valuation type | BWTAA | CHAR | 10 | BWTAA | BWT | |||
LGPLA | Storage Bin | LGPLA | CHAR | 10 | LAGP | LGPLA | LGP | LAG1 | |
BSTAR | Stock type | BSTAR | CHAR | 1 | T064A | BSTAR | |||
LVORM | Deletion Indicator | LVORM | CHAR | 1 | XFELD | ||||
MAABC | ABC Indicator | MAABC | CHAR | 1 | TMABC | MAABC | |||
KZKRI | Indicator: Critical part | KZKRI | CHAR | 1 | XFELD | ||||
PREIS | Price | PREIS | CURR | 11(2) | WERT11 | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
XVERR | Element of complete-count area | MBS_XVERR | CHAR | 1 | XFELD | ||||
XSPEL | Sample element (selected) | MBS_XSPEL | CHAR | 1 | XFELD | ||||
XZAEL | Item has been counted | XZAEL | CHAR | 1 | XFELD | ||||
XDIFF | Difference posted | XDIFF | CHAR | 1 | XFELD | ||||
KLANF | Class number at beginning of invtry sampling | MBS_KNANF | NUMC | 4 | NUM04 | ||||
SNANF | Stratum number at beginning of inventory sampling | MBS_SNANF | NUMC | 2 | NUM02 | ||||
BUANF | Initial book value | MBS_BUANF | CURR | 13(2) | WERT13 | ||||
SNAKT | Current Stratum number of inventory sampling | MBS_SNAKT | NUMC | 2 | NUM02 | ||||
BUAKT | Current book value | MBS_BUAKT | CURR | 13(2) | CURRV13 | ||||
SNZZP | Stratum number of inventory sampling at time of count | MBS_SNZZP | NUMC | 2 | NUM02 | ||||
BUZZP | Book value at time of count | MBS_BUZZP | CURR | 13(2) | CURRV13 | ||||
ISZZP | Actual value at time of count | MBS_ISZZP | CURR | 13(2) | CURRV13 | ||||
LMENG | Quantity | MENGE_D | QUAN | 13(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 tableDATA: 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 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