Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8451

Question on Splitting source payload into different sets of target messages

$
0
0

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




Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>