cancel
Showing results for 
Search instead for 
Did you mean: 

Java Proxy >> RFC >> SMTP using BPM

Former Member
0 Kudos

I have a scenario where I have to send purchase order from J2EE web based application to R/3 and then email the confirmation number generated from R/3. We have decided to send PO from J2EE app using Java Proxy and configure a synchronous RFC receiver channel and then send the confirmation using SMTP adapter. What process steps should I use in BPM to implement this. Also what is the RFC to create a purchase order. Thank you

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Megan,

i dont think this is possible without bpm. You design could be:

JProxy->BP asynchr

BP<->RFC synchr

BP->mail asynchr

You can easy define exception branches for possible errors. Even if f.e there is a network problem you can inform mail receiver about sended order and what happend. A big advantage of BPM.

Use function module BAPI_PO_CREATE.

Regards,

Udo

Answers (2)

Answers (2)

Former Member
0 Kudos

I was thinking of a

Receive to receive the Java Proxy,

Send to synchronously send to RFC and get the response

Send to send the response to Mail adapter

Former Member
0 Kudos

That is OK Megan.

Thanx & Regards

Vinod

prabhu_s2
Active Contributor
0 Kudos

u can also send a mail to external system in r3 itself.

Former Member
0 Kudos

Hi Megan,

Case :1

This can also be done without BPM. As you are using sysnchrounous communication send the response of BAPI back to sender system where STMP adapter will be the reciever.

Case 2: If you want to use BPM wait for response from BAPI in BPM and send email using alerting mechenism of BPM.

Hope this will help.

Thanx & Regards

Vinod