cancel
Showing results for 
Search instead for 
Did you mean: 

How to find the pegid's for the material schedule for forecasting in APO?

Former Member
0 Kudos

Hi Good morning,

Is there any way to find the pegging area id for the materials which are set for forecasting in APO..Is there any relationship set in table from which we can get the pegids directly..? Please Help ...as its urgent.

Your help will be appreciated.

Thanks & Regards,

Sanjay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use the FM /SAPAPO/DM_MATERIAL_GET_PEGID. Pass the product and the location to get the Pegid.

Thanks!

PV

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Sanjay,

There is a table /SAPAPO/PEGKEY where you can find the fields, PEGID, MATID & LOCID.

and to get the pegid, you need to use the corresponding matid & locid for which you need to find the pegid.

These you can get from table /SAPAPO/MATLOC by using product name & location. or from /SAPAPO/MAT and /SAPAPO/LOC.

Regards,

Hemanth