cancel
Showing results for 
Search instead for 
Did you mean: 

Correlation or container step in BPM

former_member192079
Participant
0 Kudos

we had scenario where 3 files will come in batch in sequence

and after validation check in message mapping they had to transfered

to same RFC in that sequence.

File -> Xi-> RFC

Files will come in one shot/batch

batch by batch..

Now my concern is..

With BPM we want to correlate 3 files and then post it to RFC.

3 files will have some comman field/Filename extension...

why we want correlate is that:

- XI should not process any incomplete batch ( like 1-2 files have come)

- XI should differentiate between files of Next coming batch..correlation will help or only container variable ..

Regards

Ashutosh

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Y do you need to change the value for correlation!!

Suppose BatchA has material no :001

and BatchB has material no:002

In any case,you will set the correlation on the Field (MaterialNo)..right..So all files with common Material No will generate corresponding BPM instance.

I fail to understand the problem..

Regards,

Manjusha.

former_member192079
Participant
0 Kudos

Hi Manjusha

lets take a case :

Suppose BatchA has material no :001 (for all three files)

now second batch comes...

and BatchB has material no:002

correlation value had to change...

and considering that 3 files have been received with naterial no :001.

i think i need 2 conditions in correlations:

1.material no should be same.

2. correlation should change after 3 files passes the correlation.because next time batch B first file will have diferent material no, so XI should not consider it as Batch A

wrong file...

Regards,

AshutoshR

former_member192079
Participant
0 Kudos

One point to mention a realtime case.....

Simultanously 2 batches files will come at same time....

Regards,

AshutoshR

Former Member
0 Kudos

Hi,

Correlation used to assign messages that belong together to the same process instance.

It joins messages that have the same valuefor one or more XML Elements.

if u want to use the corelation in BPM on a particular filed then u have to do the following steps.

in the corelation editor

in the first column give any name to the corelation of type string

in second column select the message interface for both the files u r getting and

in the third column select the filed on which u want to set the corelation.

U can go through the links below for moree details

http://help.sap.com/saphelp_nw70/helpdata/en/11/13283fd0ca8443e10000000a114084/frameset.htm

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

********Reward points,if found useful

Former Member
0 Kudos

Hi,

I suggest you to use correlation.

Regards,

Manjusha

Former Member
0 Kudos

Hi,

Why do u want to go for BPM is there any specific reason.

Did the functionality of BPM work only for batch files.

If it work for single file then make necessary changes in file adapter mention below.

3 files will come in batch in sequence

We can understand that they will come in batch (group) within that batch they are in sequence.

Correct me if I am wrong.

If so make necessary changes in sender file adapter.

Mention file name as .txt or .xml (depending your format)

Processing mode as Delete.

Processing sequence By Date.

Hope this changes is necessary with out using BPM.

If using BPM is mandatory

With BPM we want to correlate 3 files and then post it to RFC.

3 files will have some comman field/Filename extension...

if u want to use correlation then three files should have common Field.

reward points if helpful.

regards,

pradeep A.

former_member192079
Participant
0 Kudos

Thanks a lot..

Communication channel level sequence processing , i am aware..

but for the incopmlete batch we had to post the (1-2) file in seperate directory... for roll back process (it will happen independently).

So i am using BPM.

Correllation : let say first batchA files have one Material no. comman,

but the next batchB files will have a different material no..

so each time the correlation value has to be changed for next batch files and valid upto 3 sucessfull file...

Regards

Ashutosh

prateek
Active Contributor
0 Kudos

Use correlation

Regards,

Prateek