PEG_TCTRL SAP (Pegging: Customizing on Plant Level) Table details

Dictionary Type: Table
Description: Pegging: Customizing on Plant Level




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




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

PEG_TCTRL is a standard SAP Table which is used to store Pegging: Customizing on Plant Level data and is available within R/3 SAP systems depending on the version and release level.

The PEG_TCTRL table consists of various fields, each holding specific information or linking keys about Pegging: Customizing on Plant Level data available in SAP. These include WERKS (Plant), FIXRL (Pegging Logic), FRACTQTY (Assignment with Integers / Fractional Quantities), EXCESS (Assignment of Surplus).. 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: C - Customising table, maintenance only by cust
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)


SAP PEG_TCTRL 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
FIXRLPegging Logic PEG_FIXCHAR1PEG_FIX
FRACTQTYAssignment with Integers / Fractional Quantities PEG_FRACTQTYCHAR1PEG_FRACTQTY
EXCESSAssignment of Surplus PEG_EXCESSCHAR1PEG_EXCESS
EXC_PSPNRWBS Element PS_POSNRNUMC8PRPSABPSPPS_POSNR
SCRAPAssignment of Scrap PEG_SCRAPCHAR1PEG_SCRAP
SCR_PSPNRWBS Element PS_POSNRNUMC8PRPSABPSPPS_POSNR
LOSTAssignment of Stock Differences PEG_LOSTCHAR1PEG_LOST
LOST_PSPNRWBS Element PS_POSNRNUMC8PRPSABPSPPS_POSNR
PEG_RESZ1Residence time 1 (calendar months) PEG_RESZ1NUMC3NUMC3
PEG_PLPRPegging for Planned Orders/Purchase Requisition PEG_PLPRCHAR1PEG_XFLAG

Key field Non-key field



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

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

SELECT SINGLE *
FROM PEG_TCTRL
INTO CORRESPONDING FIELDS OF WA_PEG_TCTRL
WHERE...

How to access SAP table PEG_TCTRL

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