cancel
Showing results for 
Search instead for 
Did you mean: 

GR Should check for Related PO in BPM

Former Member
0 Kudos

Hi Friends,

I am doing File to IDOC scenario, I have to do

GR.,which inturn should check whether PO is created for that or not.

while doing GR, it should check for related PO.

If it is not available it shouldnt create,else it should create.

Could anyone let me know how to achieve this thru BPM.

if possible what steps i have to take let me know please.

Regards,

Vijay

Accepted Solutions (0)

Answers (2)

Answers (2)

aashish_sinha
Active Contributor
0 Kudos

Hi,

Refer these link

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1814. [original link is broken] [original link is broken] [original link is broken]

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

Regards

Aashish Sinha

Former Member
0 Kudos

you can do a RFC look up for this

Former Member
0 Kudos

Hi,

Can you tell me how to do this with RFC Lookup.

Regards,

Vijay

Former Member
0 Kudos

Hi,

R u using any Std RFC Fm to get the PO, if yes the u can go for File-RFC request RFC response-> IDOC scenario.

Just refer the below link in which company code was coming from File and from RFc company details are send back to XI and send to receiver system in the form of file.

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

let me know if u r using any std FM.

chirag.

Former Member
0 Kudos

Hi,

I am going to use standard Bapis for this requirement

BAPI_PO_GETDETAIL,

BAPI_GOODSMVT_CREATE or WPUWBW01 IDOC

Regards,

Vijay

Former Member
0 Kudos

Hi,

Then u can refer the weblog which is send by me.

Ur scenario will be using BPM

File->RFC request

RFC Response-> IDOC

chirag

Former Member
0 Kudos

Hi Vijay,

in BPM, have a receive step to get source file data.........then have a synch send step in which you will map this source file data to a RFC in r/3 which will tell you whether the PO you are sending in request is existing in r/3 or not and you will get the rfc response from r/3 in this step..............then have a synch send step in which you will have a interface mapping which will take the source file and the response of the above RFC and map it to the request of another RFC which will create GR - you will have to check from the first rfc response whether you will send anything in the GR RFC request - if PO exists, then only send GR data to the second rfc to r/3 and its response will tell you whether your GR was created in r/3 or not.............then have a send step to output this second rfc's response to a file.

now you will have to ask your functional guys to tell you both the RFCs for checking PO and creating GR.

Regards,

Rajeev Gupta