SAP table PEG_TASS (Pegging: Assignment Replenishment Element to WBS Elements)
SAP table PEG_TASS has 9 primary key fields being MANDT,WERKS,MATNR,GRPNR,REPOBJ,ASS_PSPNR,INSTK,BRK_OBJNR,TOPDAT.
If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.
Field
Description
Data Type
Length
Decimals
Checktable
Data Element
MANDT
Client
CLNT
3
0
*
MANDT
WERKS
Plant
CHAR
4
0
*
WERKS_D
MATNR
Material Number
CHAR
40
0
*
MATNR
GRPNR
Grouping WBS element
NUMC
8
0
*
GRPSPNR
REPOBJ
Object Number Replenishment Element
CHAR
22
0
*
REPOBJ
ASS_PSPNR
Assigned WBS Element
NUMC
8
0
*
PEG_ASS_PSPNR
INSTK
Assigned Quantity is in Stock
CHAR
1
0
PEG_INSTK
Not in stock
1
In stock
2
Removed from within grouping WBS element stock
3
Removed from outside grouping WBS element stock
4
In-transit
BRK_OBJNR
Object Number for Breakpoint
CHAR
22
0
*
PEG_BRKOBJNR
TOPDAT
Requirements Date for Causing Requirement
DATS
8
0
TOPDAT
ASQTY
Allocated Quantity
QUAN
13
3
ASQTY
XSSQTY
Assigned Surplus Quantity
QUAN
13
3
XSSQTY
SCPQTY
Assigned Scrap Quantity
QUAN
13
3
SCPQTY
LQTY
Assigned, Missing Quantity
QUAN
13
3
LQTY
MEINS
Base Unit of Measure
UNIT
3
0
*
MEINS
GAMNG
Total Order Quantity
QUAN
13
3
PEG_GAMNG
EXCESS
Assignment of Surplus
CHAR
1
0
PEG_EXCESS
1
Copy History and Proportional to Assigned Quantity
2
WBS Element for Surplus
SCRAP
Assignment of Scrap
CHAR
1
0
PEG_SCRAP
1
Copy History and Proportional to Assigned Quantity
2
WBS Element for Scrap
LOST
Assignment of Stock Differences
CHAR
1
0
PEG_LOST
1
Copy History and Proportional to Assigned Quantity