Skip to Content

Correlation or container step in BPM

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • May 12, 2008 at 06:49 AM

    Use correlation

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 12, 2008 at 06:52 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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

  • avatar image
    Former Member
    May 12, 2008 at 07:03 AM

    Hi,

    I suggest you to use correlation.

    Regards,

    Manjusha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 12, 2008 at 07:07 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 12, 2008 at 08:29 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded