cancel
Showing results for 
Search instead for 
Did you mean: 

Pegged Qty?

hkmaradana
Active Participant
0 Kudos

Hello Experts,

Can any one help me technically how we can retrieve pegged quantity for given supply.

For example : CTM created one planned order and it is pegged some where. I need to show the supply qty and pegged qty?

Any function modules or any reports will be helpful.

Thanks

Cris

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In SCM, there are BAPIs to read the transaction date from LC (Sales order, Planned order, Pur ord etc)

This BAPI will fetch PEG ID information also.

In your case, you may try extracting first supply element & get the peg id . WIth peg id, extract the demand element or viceversa

So you will be able to locate pegging relation & qty pegged

Thanks,

Mangesh A. Kulkarni

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Cris,

Check the include /sapapo/lrrp_framesuxx containing

function modules which contains details on pegged

quantity (similar as transaction /sapapo/peg1)

Regards

R. Senthil Mareeswaran.

hkmaradana
Active Participant
0 Kudos

Hi Mangesh/senthil,

Thanks for your inputs.

I have debugged RRP3 transaction when we click on Order Context it shows the pegging chain. There I have gathered right function module to get the pegged qty.

Yes as per senthil mentined include /SAPAPO/RRP_FRAMES, there is a FM /SAPAPO/RRP_GET_ROOT_REQMT which we can get pegged qty.

But it is bit tricky, its not straight forward to know the pegged qty.

Once again thanks for your valuable suggessions.

Cris