cancel
Showing results for 
Search instead for 
Did you mean: 

XI3.0 BPM collect message using substring within correlation

Former Member
0 Kudos

Hi,

I have a requirement to collect a list of IDOCS using the first three characters of a field as a correlation. I tried adding the XPATH expression

substring(/ArticlePriceData/ArticlePrice/Site, 1, 3)

within the correlation editor but this does not work - all IDOCS get added to a single process. Has anybody been able to get this to work? My integration process is based on the SAP example BpmPatternCollectMessage

Many thanks

Ian

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I have been looking into this problem some more- whenever I use the substring value the correlation value is blank.

Has anyone done this before?

Former Member
0 Kudos

Hi,

Assuming you have a 1:1 mapping(inbound message to the abstract type) before your message gets into BPM. In that mapping you can use the substring function and add it into your input message type of your BPM and try with a correlation on that...

Cheers

JK

Former Member
0 Kudos

Hi,

I have tried your suggestion and I still do not get the correlation value that I expect - now each message gets a new process ID with a correlation value of blank.

Thanks for your help

Ian

udo_martens
Active Contributor
0 Kudos

Hi Ian,

try substring(//ArticlePriceData/ArticlePrice/Site, 1, 3)

(double Slash)

Regards,

Udo