PEGOB SAP (Peg (master data of the CO object)) Table details
Dictionary Type: Table
Description: Peg (master data of the CO object)
Description: Peg (master data of the CO object)
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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
WAERS | Currency Key | OWAER | CUKY | 5 | TCURC | WAERS | OWS | ||
GRPNR | Grouping WBS element | GRPSPNR | NUMC | 8 | PRPS | KONPR | PS_POSNR | PSP | |
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
REPOBJ | Object number of replenishment elem. used for static pegging | PGREPOBJ | CHAR | 22 | Assigned to domain | J_OBJNR | |||
ORGREQ | Object number of original requirement (RESB-OBJNR) | PGORGREQ | CHAR | 22 | ONR00 | J_OBJNR | |||
CMPPNR | Component WBS element | PGCMPPNR | NUMC | 8 | PRPS | KONPR | PS_POSNR | ||
KTEXT | Text Field | CHAR_40 | CHAR | 40 | CHAR40 | ||||
TOTQTY | Total quantity of replenishm. elem. used for static pegging | PGTOTQTY | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DELFG | Deletion indicator for peg | PGDEL | CHAR | 1 | XFELD | ||||
CLOSED | Indicator: Pegging completed | PGCLOSED | CHAR | 1 | XFELD | ||||
PGUNI | Indicator: Unique peg | PGUNIQUE | CHAR | 1 | XFELD | ||||
REQQTY | Total required quantity of the reservation | PGREQQTY | QUAN | 13(3) | MENG13 | ||||
REQUNIT | Base unit of the original requirement | PGREQUNIT | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
QTYNEEDED | Quantity necessary to satisfy the original requirement | PGQTYNEEDED | DEC | 15(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 tableDATA: 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 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