cancel
Showing results for 
Search instead for 
Did you mean: 

How to split IDOC segments to multiple receivers in XI

Former Member
0 Kudos

Hi Friends,

Here is the description of my problem:

I have a IDOC to SOAP scenerio and there are 2 receivers s1 and s2.

The IDOC structure is as under:

IDOC header

Control Record

Start of Seg1 ( 1 to unbounded )

Key

End of Seg 1

The segment 1 may repeat a multiple of times and so is the key e.g.

key = system1

key = system 2

key = system 1

key = system 1

key = system 2

We are required to split this payload for multiple receivers.

The required functionality is:

3 items in the payload having key = system 1 should be routed to s1

2 items in the payload having key = system 2 should be routed to s2

I am aware of routing a single payload to multiple receivers but here we are required to split the payload to differtent business systems based on key condition.

Can anyone please help??

Let me know if any further information is required

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

You can achieve this without using BPM. Use multimapping 1:N if you have SP14.

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

Once you finished the mapping, put the conditions in condition editor in Receiver Determination again each receiver system.

Former Member
0 Kudos

Hey,

you need to create two different mappings and then give a condtion in iterface detramination based on appropriate mapping will get selected.

regards,

Milan

Former Member
0 Kudos

Hi Raghav,

The following are the non-BPM ways to achieve the requirement:

1. XPATH : In Receiver Determination add XPATH for each of the Receivers. (Use Context Objects for easier way of specifying field)

2. Enhanced Interface Determination : In the mapping, add conditional check for the requirement.

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

Hi you need to use multi mapping. Refer the blog By Piyush Gangwal to do a 1:N mapping to split the source payload into two target payload.

Inside the BPM you need to have two send steps to send both the payloads to the respective receiver.

Thanks

SaNv...