cancel
Showing results for 
Search instead for 
Did you mean: 

BPM- Collection of mesages

former_member187437
Contributor
0 Kudos

Suppose, i have a scenario where I collect a fixed number of messages and bundle it to single message and send it to target system. (More like Collecting messages from single interface based on payload example, but i want the counter to have predefined value. )

In that case, i used a receive step and counter increment step in a loop. But the receive step demands for a correlation to be activated and used in the step.

What correlation to be used here?

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

Hi Arthi,

We use a correlation to assign messages that belong together to the same process instance. A correlation joins messages that have the same value for one or more XML elements. A correlation is therefore a loose coupling of messages: at design time, it enables you to define which message a receive step must wait for, without knowing the message ID. Since you are receiving multiple message correlation should be defined for coupling of these messages.

<a href="/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi Correlation in XI</a> By Sravya Talanki

Regards

San

<a href=" to set the thread to solved when you have received a solution</a>

Where There is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

in corelation you define the condition on the basis of that condition the idoc will be collected.

suppose in each idoc control record you have a field called receiver port , so on the basis of receiver port you have to correlate the idoc.

steps for corelation:

1.open the corelation editor, give the correlation name

2. after giving the corelation name give the value correlation container, in this basically we define the field which is common in all the idoc suppose receiver port(RCVPOR)

3.give the involved message name, this includes the outbound interface names(async as well as abstract)

4. when you give the invloved message name in the properties window you will be able to see the interface , when you expand the interafce it includes the RCVPOR , then you have to define the Xpath for that field just by selecting on the help button.

and define the correlation that you have created in the receive step in both the fields : use correlations

activate correlations

Thanks

Rinku

Former Member
0 Kudos

hi

please do the following steps in the integration process

first use the receive step

recv-->

start>fork>recv> tranform>send-->stop

recv-->

in fork you have to give all the mesasges. suppose you have three message then you will give three message in the fork.

the integration process will look like as above.

Thanks

Rinku

Former Member
0 Kudos

Hi

have a look at this Blog

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

Message was edited by:

Abhishek Agrahari

Message was edited by:

Abhishek Agrahari