Correlation editor.

Hi Experts,   
        I was thrying to see the posibilities of the correlation editor In IR- integration Process- view - corelation editor.
I would like to know what is the capability of this editor.
say 2 incoming files, File 1 and File 2  are comin and merging into a single file say File 3. in BPM. Now the simple thing taht it can do is, it can allow a CONTION in a field in  File 1 or 2. and allow its processing to File 3. Say if the Content of file 1 field - name is US , then allow, else throug error. OK.
But I wish to know is it possible like if File 1 field - Name =   File 2 -  ORG then prosess for File 3 , else stop.Is it possibe??
What other possibilities are there in Corelation Editor!
Regards
Arnab .

it can allow a CONTION in a field in File 1 or 2. and allow its processing to File 3.
Correlation does not mean that based on certain value, correlation is set true. This only holds true if you use correlation value as constant.
But I wish to know is it possible like if File 1 field - Name = File 2 - ORG then prosess for File 3 , else stop.Is it possibe??
Correlation is used in this way only, i.e. when field say A from one file has same value as some field say B from other file. In this case correlation is used between fields A and B of first and second file respectively.
Regards,
Prateek

Similar Messages

  • Correlation Editor and xsd:dateTime

    Hello,
    is it possible to use a correlations with the type xsd:dateTime?
    I only can choose xsd:date or xsd:time in the correlation editor of the Integration Builder.
    kind regards
    Thorsten Gawantka

    Hi,
    >is it possible to use a correlations with the type xsd:dateTime?
    No as constant you could only choose xsd:date or xsd:time:
    http://help.sap.com/saphelp_nw04/helpdata/en/fe/26da4105aa3f5de10000000a1550b0/frameset.htm
    Regards
    Patrick

  • Correlation Editor is missing

    Created  correlation container and specified the type as String.
    The Abstract messages also have common fields.
    Eg.
    ABS1 has
       Name
       ID
    ABS2 has
       Name
       ID
       Age
    ABS3 has
      Name
      ID
    Age
    Not getting the correlation common value in the properties.
    Here the abstract message has common field.
    What else I have to do?
    Do I need to create the correlation object separately?
    If then how?

    Hi,
    In side the BPM hava fork step that has 2 branch and have a receive step in each of it.
    Receive two files from 2 diff communication channel.
    Let the 1st file has the fields
    ID
    Name
    Let the 2nd file has the fields
    ID
    Age.
    now u have two abstract interface and give these 2 abstract interface in the correlation u shoul get the correlation vale as ID....
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • Constant Correlation in BPM

    Hi All,
    I have a requirement to collect 3 different formatted text files (using FCC to XML) which do not relate in any way except that they all need to be collected and need to be sent in a sequence while delivering to the other side.
    Since there were no common fields available to correlate, I have used constant values in the correlation editor and also while activating the correlation in the receive steps (in all 3).
    The BPM works fine only when I send files having each one line. When I send files with multiple lines (the XMLs would have multiple recordset elements) the BPM fails in the Outbound Queue and the BPM does not even get initiated. Surprisingly in the SMQ2 logs, the correlation is being created based on ID field in the received XML (which was not intended). Similar is the case when I send any of the other type of files with multiple lines.
    My assumption is the BPM should disregard the content in the files and should create a constant correlation when the first message arrives. Then it should collect until the block times out and complete the sending steps. Any guess what is going wrong?
    Thanks for your time.
    VJ

    The problem was, one of the developers used some unidentical key fields to define the correaltion long back and they are dangling in the system with error status. After I have deleted the erroneous workflows the BPM works flawless..!!
    Apparently the problem was when ever the file containg the same values the previous correlation was referring to, the BPM was failing.
    VJ

  • Problem with correlation

    Hi ,
    I am trying a N : 1 scenario using BPM , I have used correlation for this ,
    This is the procedure i have used
    1 . Block :
                Properties of block : Block start --> New Transaction
                                              Block End  --> New Transaction
                                              Local Correlation ---> CORRELATION
               Two receive steps inside the block .
               a. Receivestep1
                       Properties of Receivestep : Start Process check box ticked.
                       Activate Correlation          : CORRELATION
                       CORRELATION
                        EMPNO
              b. Receivestep2
                     Properties of Receivestep :
                        Use Correlation : I am facing Problem Here
    I am unable to use the correlation , when ever i select it n save the Use Correlation text box appear with ? symbol , due to which i cannot activate the integration process , How can i solve it..
    Regards,
    Syed

    Hi Syed,
                Once u have activated your integration process than you want to make any changes particularly on correlation editor you will observe this kind of behaviour.
    Solution:
    Step1:  Better to copy integration process with some temp say <int.prcess_name>_temp then make changes in newly created one and activate newly created integration process.
    Step2: Delete the orginal int.process and activate change list.
    Step3: Copy the newly created int.process with name say <int.proces_name>_temp to orginal name
    i.e <int.process_name> then delete the <int.proces_name>_temp and activate the change list.
    This is work around solution for your problem.
    Regards,
    Rao.Mallikarjuna

  • BPM Correlation from Dynamic Configuration not being filled

    Hey guys,
    I'm having the following problem with BPM correlation.
    In my correlation definition, I have 2 fields: one which is filled with information from the message payload, and another one which is filled with a context object (which was created with adapter metadata and filled with dynamic configuration, as refered here: /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further).
    All instances of BPM are with error status. And when I go into the workflow log for these processes, if I check the correlation object, it is like this:
    <?xml version="1.0" encoding="utf-8" ?>
    <CorrelationKey Version="001">
    <Field1 />
    <Field2>123456789</Field2>
    </CorrelationKey>
    Field1 is the one read from context object, and is not being filled (thus I think the error comes from here). Field2 is from payload and is being normally filled.
    Any ideas on this matter?
    Maybe the problem is not from the correlation. If not, what else could be the case? The BPM crashes on the very first step (one more reason to think that the correlation is the issue).
    Thanks in advance,
    Henrique.

    HI,
    In general Correlation , concept, whatever we configured in Correlation editor , i mean in runtime which xml element should filled with which element of which interface ..as you said you have configured the local correlation to block, in block it is the first receive step, while receiving the first message which is relevent to first recieve step , i mean if it receives the one message which is related to first receive step inteface .. the respective element data will be filled in correlation id and it will assign on giud for processing , so while assign the runtime data to correlation element ( imean filling stage) check you said two elements in correlation does the first message contains these two elements ??
    if so ok , no then check , and try to use the IM before calling the IP to fill the payload.
    Regards
    Chilla
    Oh closed!!
    Message was edited by:
            Chandra Sekhar Chilla
    Message was edited by:
            Chandra Sekhar Chilla

  • Correlation for multiple fields in messages inside BPM

    Hi All,
    We have a requirement to collect multiple IDOCs based on combination of field1,field2,field3 and field4.
    Could you please tel me possible ways to implement this solution:
    I have tried the below options:
    Multiple fields in one correlation
    Correlation name is given and then in Correlation editor,we have given all four fields in correlation container and 1 involved message and properties are given for all fields
    Using this solution.IDOCSa re not collected even if all the IDOCs coming with same value for (field1field2field3+field4)
    for example even if combination of (field1field2field3+field4) is same still its not collecting and sending each IDOC sepearately outside BPM.
    Could you please suggest where the problem is?
    Please suggest if there is any other way to implement this in BPM.
    Thanks in advance
    Best Regards,
    Harleen Kaur Chadha

    Hi Harleen Kaur Chadha,
    Open your Integration Process (ccBPM), go menu bar u201CViewu201D, select u201CCorrelation Editoru201D. Then you can see the Correlation variables you have declared. Go the third tab u201CPropertiesu201D, and then try to edit u201CValueu201D. Expression Editor window pops up, select u201CInterface Variableu201D, then select XPath. Now edit u201CXPath Expressionu201D. Pay attention to Prefix u201Cp1u201D, it should be present in XPath expression. Check SAP help [Link|http://help.sap.com/saphelp_nwpi711/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm]
    Regards,
    Raghu_Vamsee

  • Correlation error in BPM

    Hi All,
    I have configured scenario - Multiple IDoc to File using BPM.
    I have given the Correlation name, Involved messages, Correlation Container and properties in Correlation editor.
    While setting the properties of the receive step, I am unable to select the Use correlation and Activate correlation.
    Can someone suggest me how to resolve this issue?
    Cheers,
    Neethu Chordia

    Hi Neethu
    Create another correlation with a different name in the correlation list with similar settings & involved messages.Then try to select the Use Correlation  & Activate Correlation in the receive step.
    Regards
    sabyasachi

  • Correlating on Directory problem

    Dear All,
    I have some strange problem with correlation. In BPM there is a fork with 2 recieve steps which are recieving filea.
    If I correlate on Directory every time a new instance of BP is created (even is the files where form the same directory(in CCs the Directory checkbox is also marked)). Then I tried to change the correlation to SenderService and it works perfectly, as the files come from one Sender than no new instances of BP are created.
    Any ideas what can be wrong with directories? (I have checked in XML Dynamic Configuration and the Directory names are for sure the same, but the correlation doesn't work).
    Best Regards,
    Artsiom Anichenka

    From what I've seen, there is really a bug there.
    Even though you are able to select ASMAs in the expression editor of the correlation editor, they won't be filled by BPE. I'd say to raise an OSS.
    Meanwhile, if you need to make the scenario work right away, you should extend your data type to contain the directory in the payload (and fill it with dynamic configuration in a mapping).
    Regards,
    Henrique.

  • Problem when defining correlation with subsequent Async Receive Step.

    Hi, all:
    We have defined a BMP process, like below:
    Receive (Start Process) --> Sync Send --> Sync Send --- Async Send
    Now we need to have additional steps added into the process: Async Receive.
    Now we have problem defining the correlation:
       Since this Async step is not the start of the process, we have to use correlation, if we leave it blank, a red question mark stays, and we can not active BPM.
       When we define the correlation, we just expect one message type to be received from a Async system.
       In the correlation condition editor window, we would like to choose "Interface Variable" and assign value to the container element that reference the asbtract interface.
       however, when we selection optiontb "Interface Variable", there is value "interface" already fill up, we can not select container element from the elements list.
    Any one has such experience ?
    Thanks in advance !
    John

    Hi
    I think you are facing problem with corrrelation. Follow this procedure to define correlation : -
    1. Switch from Container window to Correlation List, here define a correlation variable.
    2. Now switch from Graphical Editor to Correlation Editor.
    3. There in Correlation Name choose your Correlation variable.
    4. In the Correlation Container define a variable.
    5. In Involved Message window choose your message interfaces that are used to correlate. Here you should have message interface of your second receive step with another message interface.
    6. Now in correlation editor's Properties window assign field of your involved message interface to the variable that you have defined in 4th step.
    7. Now switch to Graphical Editor of you BPM. And Activate your correlation in First receive step and Use Correlation it in subsequent receive step.
    This is the whole procedure to define a correlation and use it.
    If you need further clarification plz revert.
    Regards,
    Sami.
    Reward pointa if helpful.

  • Is it possible to create two correlation id's for same message in BPM

    Hi All
    Is it possible to define two correlation id's for the same correlation in BPM.. intially we defind one field as a correaltion id but in some rare situations we are getting two fiels at time containing the same correlation id then it is generation two instances for them ,but only one instance is executing and another one is in wait mode,in monitoring its showing TBDL (to be deliver mode)...we added one more field as a correlation id in correlation editor, but its not working only the first id is working.
    Seeking your valuable suggestions.
    Thanks.

    Are you correlatiing on a field whose occurence is more one 1(like 0..unbounded).?
    if you want to correlate on the first occurence of that field  then you have to specify in the XPATH.
    try [1] at the end of xpath
    If the field contains a structure, select Multiline.
    refer [this|http://help.sap.com/saphelp_nw04/helpdata/en/ab/13bf7191e73a4fb3560e767a2525fd/content.htm] for how to specify XPATH

  • XI3.0 BPM collect message using substring within correlation

    Hi,
    I have a requirement to collect a list of IDOCS using the first three characters of a field as a correlation.  I tried adding the XPATH expression
    substring(/ArticlePriceData/ArticlePrice/Site, 1, 3)
    within the correlation editor but this does not work - all IDOCS get added to a single process.  Has anybody been able to get this to work?  My integration process is based on the SAP example BpmPatternCollectMessage
    Many thanks
    Ian

    Hi,
    I have tried your suggestion and I still do not get the correlation value that I expect - now each message gets a new process ID with a correlation value of blank.
    Thanks for your help
    Ian

  • Correlation for files containing multiple records

    I was learning correlation from a nice blog below.
    /people/milan.thaker/blog/2008/07/23/correlation-150-runtime-behavior-of-bpm
    I have one question though. In the case where the correlation is done on  a key field say PsNo.
    Now if two files have multiple records, will the correlation compare the PsNo of each record or is the comparison just on the first PsNo of each file record.
    Thanks,
    Minhaj.

    Hi Minhaj,
    1) Suppose if you want to merge 2 files into a single file based on a keyfield (PsNo), You are opting Correlation in BPM.
    In your Correlation Editor, You should mention the XPATH Expression for Keyfield(PsNO) for the involved messages.
    2) Only if both the values of keyfied(PsNo) in 2 files are equal then Only you can merge all those 2 files into single file.
    So first PsNo of each file record is going to compared with another file.

  • Correlation, What happnes?

    Hello friends,
    i bit unable to pass thru from Correlation topic in bpm.
    i read
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    and
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/content.htm
    my question is,
    ->what exactly happnes in Correlation!
    ->why we will define a variable, FileType as string and a message interface in correlation editor
    ->what is 'use correlation' and 'active correlation' in block step
    somebody clear my way please.
    VG

    Hi Venkat,
    Below is the explanation for correlation by Anand Torgal which i think will be helpful to u....
    To explain you the correlation in simple terms...take a simple example of BPM with a send step(async request) and receive step(async response). I am sending a PO request using the send step and waiting for a PO response using the recieve step. Assume that i have two instances of this BPM running i.e two PO request's going simultaneously. when i get the response back for these two requests , there will be two recieve steps waiting for the response since there are two instances of BPM running. the response need to be assigned the corresponding requests. This is where correlation comes into picture. I can use PO number as my correlation field. i.e I activate my correlation in the send step and use this correlation in receive step (this is configurable in BPM).
    Example: PO number needs to be part both request and the response message structure.
    BPM instance1:
    send step -> activate correlation -> send message with PO Number1
    Receive step -> use correlation -> receive response message with PO Number 1.
    BPM instance1:
    send step -> activate correlation -> send message with PO Number2
    Receive step -> use correlation -> receive response message with PO Number 2.
    There are many different scenario's whre you can use the correlation..this is one of them...The weblog shows another way of using correlation.
    Also Refer SAP help...
    Correlating Messages
    Use
    You 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.
    For example, in a process, receivestep_1receives the message purchaseorder, while receivestep_2receives the message salesorder. Receivestep_1creates a correlation that defines that the corresponding sales order must have the same purchase order number. Receivestep_2uses this correlation. This means that an instance of the process processes a purchase order and the corresponding sales order, which has the same purchase order number.
    If it satisfies the relevant correlations, a message can be processed in multiple processes. However, a message is only delivered once per process.
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/content.htm
    Regards,
    Abhy

  • XI System hangs while designing BPM in correlaltion editor

    Hi,
    While designing BPM scenario in Integration repository, system gets hanged on pressing F4 while specifying condition in the correlation editor.
    Thanks and Regards
    Rahul Nawale

    Hi,
    try applying the latest path to your XI server
    I had the same with SP13 and SP14 and
    the latest path helped
    Regards,
    michal

Maybe you are looking for

  • ITunes library folder vanished from Time Capsule after iMac crash

    Hi, Up until tonight, I've had my entire iTunes library stored on my 1TB Time Capsule (TC) which is accessed by a couple of Macs. After a forced restart of my iMac, the iTunes library on the TC has disappeared. I was in the middle of a iPhone 4 sync

  • My 2009 15inch mac book pro cause over heating

    reacently am having huge problem on my 2009 mac book pro 15.4 inch, the machine battery got swallow and was replace,the hard disk got damage and was replace with seagate,the memory became default and also replace,the original isntallation disk got co

  • Can't reinstall Safari on 13" MacBook Pro running Leopard 10.6

    Safari won't install on my my 13" Macbook Pro HD running Mac OS X (10.6). I keep getting message stating this update requires Mac OS X 5.8 or higher. Please help. Thanks. Brian

  • Adobe cs3 and lightroom

    Hi, Are there any MB users who can let me know if these apps run well on a 2.2 with 2mb of ram, macbook. I am a photographer who is looking to go apple and for the sort of work it will be needed for the size of the MB suits my needs rather than a MBP

  • Transforming java Code from one Flavor to another

    How do you transform java code from one flavor to another. Please help Juan