cancel
Showing results for 
Search instead for 
Did you mean: 

need help: message split and send in BPM

Former Member
0 Kudos

i have this mapping where the idoc has to be split first before passing it to a BPM. the mapping should perform like this

from

IDOC

segA

segB1

segB2

segB3

/segA

/IDOC

to

IDOC

segA

segB1

/IDOC

IDOC

segA

segB2

/IDOC

IDOC

segA

segB3

/IDOC

I was successful in doing the 1st step of mapping requirement for the above transformation. The next step was to map per occurence of IDOC to another target message and send it (ex. above is 3 occurence of IDOC, so there should be 3 mapping and sending that should happen. My problem now is how to design the BPM for this. Any suggestions?

Message was edited by:

Brian Lo

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos
Former Member
0 Kudos

thanks for the reply.

the thing is the segments are not constant and each instance of IDOC is mapped using one interface mapping.

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

Source side is you have the IDoc structure, receiver side ..

See the below link

/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM

Regards

Chilla

Former Member
0 Kudos

thanks for the reply.

just to get my problem more clarified. when the multiple instance of IDOC is passed to the BPM, each occurence will get mapped to a message that is of different content or structure (an external definition XSD) then sent to the single receiver one at a time (per occurence of IDOC is mapped then sent). the problem lies on the design of the BPM. I'd like to know if anyone has an idea of what the BPM would look for this scenario.

Former Member
0 Kudos

Hi,

see the below link , which is similar to your requirement,in this blog receiver side taget file , instead , use XSD which was your requirement and doit, if you want to send msg one by one put the send step in block step and take the foreach mode.

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

Regards

Chilla

prabhu_s2
Active Contributor
0 Kudos

create one MT such as

root
|__IDoc
|__segment

duplicate the subnode in the target message mapping (right click on the node and select dupliate subtree) and ten do the mapping...here u can go 4 this approach only if the number of number source segments (ie. sega, segb1, segb2, segb3) are constant....have read in coupe of threads that split mapping is not possible for idocs.....u may also need to check on it