PEG_TSTK SAP (Pegging: Stock table) Table details
Dictionary Type: Table
Description: Pegging: Stock table
Description: Pegging: Stock table
Table field list including key, data, relationships and ABAP select examples
PEG_TSTK is a standard SAP Table which is used to store Pegging: Stock table data and is available within R/3 SAP systems depending on the version and release level.
The PEG_TSTK table consists of various fields, each holding specific information or linking keys about Pegging: Stock table data available in SAP. These include WERKS (Plant), MATNR (Material Number), GRPNR (Grouping WBS element), REPOBJ (Object number of replenishment elem. used for static pegging).. 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 PEG_TSTK 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 | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
GRPNR | Grouping WBS element | GRPSPNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | PSP | |
REPOBJ | Object number of replenishment elem. used for static pegging | PGREPOBJ | CHAR | 22 | Assigned to domain | J_OBJNR | |||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
EINDT | Item Delivery Date | EINDT | DATS | 8 | DATUM | ||||
TLLONR | Document Number of Transfer/Loan | TBLP_BELNR | NUMC | 10 | TBLP_BELNR | ||||
SQLAB | Valuated Unrestricted-Use Stock | LABST | QUAN | 13(3) | MENG13V | ||||
SQINS | Stock in Quality Inspection | INSME | QUAN | 13(3) | MENG13V | ||||
SQSPE | Blocked Stock | SPEME | QUAN | 13(3) | MENG13V | ||||
LQTY | Assigned, Missing Quantity | LQTY | QUAN | 13(3) | MENG13V | ||||
SCPQTY | Assigned Scrap Quantity | SCPQTY | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
WOCOST | Transfer without Costs | WOCOST | CHAR | 1 | WOCOST | ||||
LOEVM | Deletion Indicator | LOEVM | CHAR | 1 | XFELD | ||||
UPDAT | Date on which object was last changed | UPDAT | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP table PEG_TSTK using ABAP code
The following ABAP code Example will allow you to do a basic selection on PEG_TSTK to SELECT all data from the tableDATA: WA_PEG_TSTK TYPE PEG_TSTK.
SELECT SINGLE *
FROM PEG_TSTK
INTO CORRESPONDING FIELDS OF WA_PEG_TSTK
WHERE...
How to access SAP table PEG_TSTK
Within an ECC or HANA version of SAP you can also view further information about PEG_TSTK 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