cancel
Showing results for 
Search instead for 
Did you mean: 

Help needed on an BPM Scenario

Former Member
0 Kudos

I am trying out an BPM scenario as below.Can anyone provide some Sample Scenario on it with Detailed description of explaination of each and every setps.

( Sender is an JMS,which sends multiple messages to XI and XI co-ordinate with SAP Synchronously and revert back to JMS with the response of success or fail )

Batch messages come on Q1 and Trigger message comes in Q2 of the Sender(JMS).

Read Trigger Message from Q2. Based on the MsgID in the Trigger Message, read all the Messages from Q1 that match this MsgID. Each message is mapped to IDOC. All the IDOCs are posted to SAP. Get Posting Status. On success - Create a Confirmation (Flat) message. Send it to Pre-defined response Queue. On Error - Fail. The input data messages are retained in Q1.

Accepted Solutions (0)

Answers (1)

Answers (1)

prabhu_s2
Active Contributor
0 Kudos

message from q1and q2 needs to be correlated. if MsgID is the key for correlation then create correlation element in the correlation editor. u will have two recv steps in bpm with correlation condition activated. so when a message q1 comes to bpm it will be in wait step until relevant message is arrived from q2. when the correlation condition is satisfied the processing happens. having split mapping u can process the messages and send as idocs to r3. this way is async.

to make it sync (to get the respone from the r3) have one recv step after the send step that would expect a message from r3 on the status. following a send step that sends the response to jms.Thsi requires activating client proxy in r3 that would send the status of the idoc to xi once posted.

or check this link for appl response handleing

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50...

Edited by: Prabhu S on Jan 8, 2008 4:16 PM