cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with splitting 1:N mapping using Synchronous mode.

Former Member
0 Kudos

Hi All,

My Scenario is like below and i'm using BPM to handle this scenario

SOAP request from sys-A --> SOAP sync call to Sys-B --> Send sync response from Sys-B to Sys-C

- I will be getting mutlple orders in single message from Sys-A.

- I need to split this single message into multiple messages and pass as a sync request to Sys-B

- The responses from sys-B should go to Sys-C.

Issue:

The scenario is working fine when I send the orders in Asynchronous mode to Sys-B by changing the occurence to 0..unbounded in message mapping and interface mapping.

The same scenario is not working when I try to send the orders in Synchronous mode to Sys-B. When I tried to change the occurance in Interface mapping, the reponse tab is disappearing when I click "Read interfaces" in Interface mapping.

If I don't mention 0..occurance in interface mapping then the interface mapping is not showing up in interface determination (when i click Enhannced radio button to select the interface mapping).

Is there any limitation that split messages won't work in Synchronous mode?

Do I need to use any function in BPM to handle this splitting message? I want do this in a simple way without complicating in BPM.

Kindly suggest me.

Thanks

Deepthi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

answered

Former Member
0 Kudos

HI Deepthi ,

when you say "The same scenario is not working when I try to send the orders in Synchronous mode to Sys-B. When I tried to change the occurrence in Interface mapping, the response tab is disappearing when I click "Read interfaces" in Interface mapping"

I mean in this case I think its logical error.. as when you say you are sending orders in synchronous mode from system A..

that means as the mode is synchronous System A is expecting response back but on the other hand you are trying to send this response to system C and System A is ending with error as System A is not receiving any response even the mode is synchronous..

thanks,

Bhupesh

Former Member
0 Kudos

Hi Bhupesh,

I think you didn't get my scenario correctly. Here I explained with BPM steps.

Start>Receive(Async)>Send(Sync)>Send(Async)>stop

receive req from SysA >Send sync req to sysB>Map sync response to Idoc and send to SysC

While sending Sync message to Sys-B, I will be mapping Abstract Sync message to Inbound Sync message.

So in interface mapping, I will be assigned

Abstract_SyncB <---> Inbound_SyncB

request and response tabs will present.

This scenario is working perfectly fine when i try to send single order sync message to SysB. But according to my requirement I need to Split the input message into multiple messages and send to sysB.

To do this, I trying to change the occurances from 0..1 to 1..unbounded in both message mapping and interface mapping. by doing this, I can use the enhanced button in interface determination. So that the splitting the message will happen.

When I change the occurance to 0..unbounded and save in interface mapping, the response tab is dissapearing.

What might be the reason for this? Is sync message can't handle splitting the messages?

Thanks

Deepthi.

aashish_sinha
Active Contributor
0 Kudos

Hi,

Have a look to below link and see if you doing something similar.

http://www.erpgenie.com/sap-technical/xi/xipi-1n-multi-mapping-using-bpm

Regards

Aashish Sinha