PEG_EXC_WERKS SAP (Pegging: Distribution of surplus, scrap, lost - Plant based) Table details

Dictionary Type: Table
Description: Pegging: Distribution of surplus, scrap, lost - Plant based




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




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

PEG_EXC_WERKS is a standard SAP Table which is used to store Pegging: Distribution of surplus, scrap, lost - Plant based data and is available within R/3 SAP systems depending on the version and release level.

The PEG_EXC_WERKS table consists of various fields, each holding specific information or linking keys about Pegging: Distribution of surplus, scrap, lost - Plant based data available in SAP. These include WERKS (Plant), EXC_PSPNR (WBS Element), SCR_PSPNR (WBS Element), LOST_PSPNR (WBS Element).. 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)


SAP PEG_EXC_WERKS 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
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
EXC_PSPNRWBS Element PS_POSNRNUMC8Assigned to domainABPSPPS_POSNR
SCR_PSPNRWBS Element PS_POSNRNUMC8Assigned to domainABPSPPS_POSNR
LOST_PSPNRWBS Element PS_POSNRNUMC8Assigned to domainABPSPPS_POSNR

Key field Non-key field



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

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

SELECT SINGLE *
FROM PEG_EXC_WERKS
INTO CORRESPONDING FIELDS OF WA_PEG_EXC_WERKS
WHERE...

How to access SAP table PEG_EXC_WERKS

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