PEGOB SAP (Peg (master data of the CO object)) Table details

Dictionary Type: Table
Description: Peg (master data of the CO object)




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




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

PEGOB is a standard SAP Table which is used to store Peg (master data of the CO object) data and is available within R/3 SAP systems depending on the version and release level.

The PEGOB table consists of various fields, each holding specific information or linking keys about Peg (master data of the CO object) data available in SAP. These include OBJNR (Object number), KOKRS (Controlling Area), BUKRS (Company Code), WAERS (Currency Key).. 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: Not classified


SAP PEGOB 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
OBJNRObject number J_OBJNRCHAR22ONR00J_OBJNRONR
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
WAERSCurrency Key OWAERCUKY5TCURCWAERSOWS
GRPNRGrouping WBS element GRPSPNRNUMC8PRPSKONPRPS_POSNRPSP
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
REPOBJObject number of replenishment elem. used for static pegging PGREPOBJCHAR22Assigned to domainJ_OBJNR
ORGREQObject number of original requirement (RESB-OBJNR) PGORGREQCHAR22ONR00J_OBJNR
CMPPNRComponent WBS element PGCMPPNRNUMC8PRPSKONPRPS_POSNR
KTEXTText Field CHAR_40CHAR40CHAR40
TOTQTYTotal quantity of replenishm. elem. used for static pegging PGTOTQTYQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
DELFGDeletion indicator for peg PGDELCHAR1XFELD
CLOSEDIndicator: Pegging completed PGCLOSEDCHAR1XFELD
PGUNIIndicator: Unique peg PGUNIQUECHAR1XFELD
REQQTYTotal required quantity of the reservation PGREQQTYQUAN13(3) MENG13
REQUNITBase unit of the original requirement PGREQUNITUNIT3Assigned to domainCUNITMEINS
QTYNEEDEDQuantity necessary to satisfy the original requirement PGQTYNEEDEDDEC15(5) PGASSQTY

Key field Non-key field



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

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

SELECT SINGLE *
FROM PEGOB
INTO CORRESPONDING FIELDS OF WA_PEGOB
WHERE...

How to access SAP table PEGOB

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