cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a local correlation

Former Member
0 Kudos

[SAPHelp has a definition and problem diagnosis for Correlations|http://help.sap.com/saphelp_nw04/helpdata/en/45/06bd029da31122e10000000a11466f/frameset.htm]

It says that problems can be avoided by creating local correlations. But how can this be done ? Is it sufficient just to have the correlation inside a block...I cannot see anything on a correlation to set it process wide or just as local.

Please help.

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Paulie Seikmayt

There are two types of correlation

1)Global

2)Local

If you are using more then one block in your scenarion then you may define correlation global as well as local to block

how to do it??

If you are selecting any block and then defining correlation in the correlation editor then this correlation will be local to that block

anf if you are not selecting any block and you are defining (process) correlation then this will be global to all the block .Remember that no one block should be highlighted or selected during defining correaltion.

hope this will clear you the idea how to define local or global correlation

regards

Sandeep

If helpful kindly reward points

Former Member
0 Kudos

Hi Paulie,

When you are using a correlation within a block, you can make that correlation local to that block, means by doing that you can Activate or use the correlation from that block only.

to do so just go to the properties of the block and choose the correlation name in the Local correlation property.

**Reward points if helpful.

--Sankar Choudhury

Former Member
0 Kudos

Thanks. Of course I did do this but But the correlation - it still visable in the first block and the second block. These blocks are not related at all - that is they not not within another major block at all. So I would not expect to be able to choose the "local correlation" set up in the first block from the second block as it should not be available to choose.

former_member556603
Active Contributor
0 Kudos

Hi ,

Local Correlation

Usually, a correlation is valid for the entire process. For example, if a correlation was activated for a particular purchase order number, then this correlation cannot be used for other purchase order numbers. However, you can restrict where a correlation is valid by assigning the correlation to a block as a local correlation. The local correlation is then only valid within the block. It cannot be activated or used outside the block to which it is assigned. For example, you can use a local correlation in a ParForEach to create and use a correlation with its own unique key (GUID) for each instance created at runtime. This then enables each block instance to process a different purchase order number.

http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm

Thanks,

Satya Kumar

Former Member
0 Kudos

Hi paulie,

While you have created a correlation..u can make it local as:

*Return to the graphical definition of the business process-To do so, go in the title bar of the editing area, choose with the quick info Switch Editor and then select Graphical Definition.

*In the graphical definition of the business process, click the SendParallel step.

  • In the Local Correlation field in the properties area of the block, select the BookingCorrelation correlation you just defined.

Please refer page :11 of the following pdf for creating and defining local correlation:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/df9cc490-0201-0010-54b7-b29...

Also refer :

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

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

Regards,

Shibani

    • Pls reward with points if helpful**

Former Member
0 Kudos

Thanks for your detail response I really do appreciate any help I can get...

But my Receiver Steps are in a FORK

and in the FORK properties I only have StepName, End Condition and Necessary Conditions.

So I have defined a new Block put the FORK inside this. Then and set my correlation as local

Saved the IP and exited and gone back in...

But the correlation - it still visable in the first block and the second block. So is it still regarded as local?

Former Member
0 Kudos

Hi,

A local correlation is only valid for the block for which it is defined. Once the block has been processed, the correlation is no longer active.

A correlation is normally valid within the whole process and can be activated and used for the whole process. However, you can also define a correlation as a local correlation by assigning it to a particular block. You can only activate and use a local correlation in the block that it is assigned to. You can, for example, use local correlations in blocks with dynamic processing to enable a separate value to be processed for the correlation for each block instance.

Refer

http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/frameset.htm

Thanks

Swarup

Former Member
0 Kudos

Good - but how do I set it as local ?