cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Correlation

Former Member
0 Kudos

Hi experts,

I'm working on file to file scenario using BPM.

i have 2 input files

1st file structure Name Salary Id

2nd file structure Id

i want to get the output from the first file if the Ids from both files are matching

how can i do this using correlation?

Is it necessary to use a container operation if i use correlation?

Thanks

Sreedivia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

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.

if u still face the problem please reply me back.

Thanks

Rinku

Former Member
0 Kudos

Hi Rinku

I did in that way. But when i checked in sxmb_moni the Outbound status is showing like 'Message scheduled on outbound side'.

Thats means some error in the BPM step. Please help me in this

Thanks

Sreedivia

Former Member
0 Kudos

Hi

To check whether ur bpm is correct or not.

Go to the transaction sxi_cache and select intergration process node in the left column and in the right side all the integartion processes will be displayed.

select ur integration process and check whether th IP code is 0 or 99 if it is 0 thenthe BPM u have created is correct else there is some error in BPM.

if the code is 0 in sxi_cache then just go to the sxmb_moni transaction select ur message and click on PE a new screen will be opened select the button graphical worlfolw in the menu in the upper part of the window.

u will able to see the complete workflow of the BPM .

if u still face the problem please reply me back.

Thanks

Rinku

Former Member
0 Kudos

Hi

I checked the code . its value is 0 only .I hv 2 input files. so 2 recive steps in BPM.

When i checked in sxmb_moni the outbound status is showing like

'message being sent' for fist message and for the second one its showing like

'message being sheduled on outbound side'.The workflow is not completed.

In my receive step when i select my active correlation ,the correlation id will come automatically. Is i need to do any changes in that?

Thanks

Sreedivia

Former Member
0 Kudos

Hi

why u r using two receive steps in BPM.

u have to use the following approach in the BPM.

start>receive>container>tranformation->send-->stop

in the receive step u will activate the correlation that u have defined.

the container will collect all the files and then do the tranfromation and then send it to the receiver.

Thanks

Rinku

Answers (5)

Answers (5)

former_member189441
Active Participant
0 Kudos

hi,

Correlation

-->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.

Container

Defines the data for a business process

Former Member
0 Kudos

Hi,

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

And containers are used for message assignments

Thanks

Former Member
0 Kudos

Hi,

i'm not getting proper idea from this blog

prateek
Active Contributor
0 Kudos

Correlation in this case will be set on "id" field

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

Container functionality is not related to correlation. Container ll be used for ur message assignment purpose.

Regards,

Prateek

Former Member
0 Kudos

HI,

Please check this blog.

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

Regards,

Sudheer.