cancel
Showing results for 
Search instead for 
Did you mean: 

getting sales order id from purchase req in SCM

Former Member
0 Kudos

hi guys,

In SCM system am able to get the purcase requistion number given the order guid to the FM /SAPAPO/OM_ORDER_GET_DATA. I want to now find out the sales order corresponding to this. if you see in the pegging overview tab in RRP3 tocde, you can see the sales order numbers created in R/3 in the coloumn ' reqmt element" and purcase req in the "recpt coloumn". i want to get that link between them in ABAP program. any BAPI or std FM which can do this?

thanks

Edited by: sudhakar murthy on Mar 17, 2009 4:42 PM

Edited by: sudhakar murthy on Mar 18, 2009 5:32 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sudhakar murthy,

You can overview the pegging under t-code /SAPAPO/PEG1 - Pegging Overview

Check the below function modules whether meeting your requirement or not.

/SAPAPO/OM_PEGAREA_GET_DATA

/SAPAPO/OM_CUS_SCHD_GET_BY_PEG

/SAPAPO/OM_CUSTOMER

/SAPAPO/OM_PEGID_GET_RECEIPTS

/SAPAPO/OM_PEGID_GET_REQMTS

/SAPAPO/OM_PUR_SCHD_GET_BY_PEG

/SAPAPO/OM_PURCHASE

Regards

R. Senthil Mareeswaran.

Answers (1)

Answers (1)

Former Member
0 Kudos

Try this FM as well, SAPAPO/EFPL_ORD_NET_GET