cancel
Showing results for 
Search instead for 
Did you mean: 

Question on Splitting source payload into different sets of target messages

0 Kudos

Hello SAP PI Gurus

I have a requirement where I am getting a payload sorted on Company Code field.

I have to split it into different messages for each company code.

For example : If I have incoming payload as

Source Message

==============

Company Code    Field1  Field2

CC1                    111        222

CC1                    333        444

CC2                    555        666

I want this to be split into 2 messages as follows

Target message 1

Company Code    Field1  Field2

CC1                    111        222

CC1                    333        444

Target Message 2

Company Code    Field1  Field2

CC2                    555        666



I tried searching and found many splitting suggestions but many of them were not graphical but other ways like XSLT.  I have to do it using graphical.



Any suggestions or recommendations would be highly appreciated.


Thanks

Ram



Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Thanks friends. I was able to achieve this using multi mapping. Your help is highly appreciated.

Thanks
Ram

arunneerolil
Contributor
0 Kudos

check this too if you are new to multi mapping

https://www.youtube.com/watch?v=h1u_oqxxsAQ

regards,

Arun

RaghuVamseedhar
Active Contributor
0 Kudos