BPM  debugging correlation in receive steps

HI Friends,
In my collect messages BPM scenario pattern, correlation is not working, its appending the all the messages inspite of correlation field.
I want to debug the correlation in receive steps or any trace file if generated after processing that gives the full flow that will be great...
Regards
Venkatesh

Hi Venkatesh,
just check your correlation condition again.....BPM will be collecting all those messages satisfying your correlation condition......
may be you have to modify your correlation condition to get your desired output...............................
if your correlation condition is correct and BPM is collecting those msgs which are not satisfying this correlation condition, then just edit your BPM description, save it and again activate it..............run SXI_CACHE to do a complete cache refresh........
re-run your scenario.........then i think your this correlation error should be resolved.
Regards,
Rajeev Gupta

Similar Messages

  • Unable to see correlation in receiver step of BPM.

    Hi,
    I am designing a BPM in XI. In a receiver step I need a correlation. I am able to select a correlation from the drop down of the field "Activate Correlations" but when it is activated, the correlation is not displayed.
    I am using SAP XI 7.4 and Service Pack 9.
    I need your help. Please reply.
    Regards,
    Ashish

    Hi Ashish,
    ... seems to be an error of the GUI.
    Delete your step & correlation. Design correlation. Save & activate. Than use your correlation. Save & activate.
    Regards Mario
    Edited by: Mario Müller on Dec 28, 2007 5:10 AM

  • Problem with BPM Receive step

    Hy all,
    I have a strage Problem with a BPM Definition into a receive step. I receive from SAP System IDoc and (per dynamic receive determination) I receive it into BPM.
    But the Block that contains the receive Step can't be executed. I get following error message from XI :
    Error when executing work item '000000177354'
    Error when starting work item 000000177354
    Work item 000000177345: Object FLOWITEM method EXECUTE cannot be executed
    Error when executing work item '000000177354'
    Runtime handle of object type  could not be created
    Exception 'ex_EDIFactOrder_received' caught and transferred to the exception handler
    Error when executing work item '000000177354'
    Could anyone help me please.
    Thank's a lot.
    Mat

    I have following scenario :
    Block 1
    1) Infinite Loop with receive step
    2) exception creation (2 minutes) (parallel to 1))
    3) exception  handler (parallel to 1))
    Block 2
    1) Mapping steps + send Steps + container Operation steps (set of flag)
    2) Exception handler (paralle to 1))
    Block 3
    1) receive steps (where I get the error message)
    I hope it's OK
    Cheers
    Mat

  • Issue with Receive step of BPM

    Hi all,
    I have an BPM scenario in which I send a file to the target system and then receive an acknowledgement from the system. I have used correlation in the BPM for the send and the next receive step .
    When a wrong acknowledgement is placed , the message goes to the queue with the error message "Active correlation Not Found".
    But when an right acknowledgement is placed then also the message goes to the queue with the message "Error in delivery of message to receive step of BPM ".
    The acknowledgement is received and then interface mapping is used which sends the Filename to the Integration Process which is used for the correlation.
    Please give your suggestions .
    Regards,
    Srivatsan M

    When a wrong acknowledgement is placed , the message goes to the queue with the error
    message "Active correlation Not Found".
    when there is wrong ack then there seems to be no value coming in the field which you have used for correlation....or it seems that the field itself is not coming in the wrong ack message
    But when an right acknowledgement is placed then also the message goes to the queue with the
    message "Error in delivery of message to receive step of BPM ".
    Now in right correlation the value that is coming in the correlation field is not  matching with the field for correlation of the send step...
    So the reason for both the errors is wrong correlation configuration.

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

  • BPM with 2 receive steps

    Hi folks,
    I want to create a BPM which can be used for 2 different IDOCS - they are both being mapped towards the same XML flavour and then send out ...
    I created a "ForEach" step with 2 branches , put necessary branches to "1" and defined a receive step in each branch representing the receival of a particular IDOC.
    This all works but for some reason the receive steps demands me to "Use a correlation" and to "Activate a correlation" ... Both options have a red question mark and there is no way I can get ridd of those question marks ...
    I am not interested at all in correlation ... I just want to kick off the bpm for any of the 2 idocs and map them accordingly ...
    I was thinking about creating a correlation on SAP IDOC number just to have it its way but I am not sure whether it is intended like this ...
    Regards,
    Steven
    Message was edited by: Steven De Saeger

    a correlation is required. try to give the correlation based on a unique field in the IDoc.
    Ref checklist - http://help.sap.com/saphelp_nw04/helpdata/en/6d/94364296f1b26be10000000a155106/content.htm
    More on correlation - /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

  • Problem with BPM: no receive step found for message ....

    Hello,
    I have the follwing problem with a BPM ina PI 7.3 system.
    I created a BPM for the following 'process':
    We will receive an IDOC from SAP ECC, then call a synchronous webservice and finally send the result back to ECC.
    I created my BPM.
    Now when I send the IDOC, the interface is triggered but it gets stuck in the queue with message 'No receive step found for message ...'. I get this message when I go to Tx SMQ2 and try to simulate the message
    I have already refreshed the CPA cache without result however.
    in SXI_CACHE I can find my IP* and the status = '0' ( So i guess this is OK )
    I do not use correlations in my BPM.
    In my configuration I can find my sender agreement and interface determination towards the service (abstract) which is defined in the receive step of the BPM.
    Does anybody have any ideas what can be wrong ?
    Thanks,
    Erwin
    Edited by: Erwin Van Lysebetten on Oct 27, 2011 10:37 AM

    Hi Erwin, delete Integration Process  in the Directory Integration and import it again.

  • BPM: 2 synchronou receive step

    Hi everyone,
    Hi have to design a BPM which has 2 synchonous receive steps. The first I open a asynch/synch bridge. In the second one I use correlation but the receive says asynchronous receive step. This has to be synchronous. I have to sent back a message to the request.
    How can I achieve this?
    Thanks.

    Hi have to design a BPM which has 2 synchonous receive steps. The first I open a asynch/synch bridge. In the second one
    I use correlation but the receive says asynchronous receive step. This has to be synchronous.
    The Sync-Async communication means that there is a source system which operates in SYNC mode and there is one target system which cannot operate in SYNC mode....now in your scenario I cannot find a System which works in Async mode....all your communication is SYNC....so the SYNC-Async bridge concept does not apply here.
    We cannot change the process.
    Bad.....one workaround would be change the mode of first Receive step to Async....i.e. receive only the request from the sender....then in the last Send step (where you now intend to close the bridge) send the response asynchronously.
    Keep updated if the S/A bridge works without Async communication.
    Regards,
    Abhishek.

  • How to put another Receive step in middle of BPM

    Hi Experts,
    i built a BPM in PI 7.0, in this i used a Receive step to start the BPM. in the subsequent steps this message has sent to the extrnal business sytem through the Send step. there it processes. then after some time this business system will send another message to the PI ( same BPM). so that i put a Receive step after the Send step and followed by remaining BPM steps for further processing.(My intention is this Receive step should receive the responce messageg from the same Business system). i did all the configuration steps.
    but while execution the following error occured.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    though i configured the proper recever detrmination.
    can anybody tell me, how to resolve this?
    Thanks in advance.
    Kumar

    hi Udo,
    i am explaining about message flow:
    first the message comes from the http client to PI,then go to BPM as Receive step, then a Trasfermation step. then a Send step to send this message to the SAP R/3 ECC 6.0 (Async Receiver proxy). there this message will be processed (say some Application). after some time this Application sends a processed message back to the PI (BPM) as sender proxy message (Async). To receive this message i used a Receive step after the Send step. and also the remaining BPM steps are continued....
    here the problem is, a Business system BS_HE6 is defined in the SLD to the corresponding ECC 6.0.
    but while execution, (SXMB_MONI)
    message from http client to the PI (BPM) is success full.
    message send to the ECC 6.0 is successful, (receiver proxy)
    message from the ECC 6.0 to PI (BPM) (Sender proxy) is showing error as follows.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    - <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
      <SAP:MessageId>88B06F57-9673-DB45-9B71-BE954EC23A3A</SAP:MessageId>
      <SAP:TimeSent>2009-01-21T12:27:17Z</SAP:TimeSent>
    - <SAP:Sender>
      <SAP:Service>BSHE6_LS</SAP:Service>
      <SAP:Interface namespace="urn://LPOC">wf_resp_mi</SAP:Interface>
      </SAP:Sender>
      <SAP:Interface namespace="urn://LPOC">wf_resp_mi</SAP:Interface>
      </SAP:Main>
    - <SAP:ReliableMessaging xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:QualityOfService>ExactlyOnce</SAP:QualityOfService>
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    if you observe above, you can find "<SAP:Sender>
      <SAP:Service>BSHE6_LS</SAP:Service> ", but the actual business system is BS_HE6.
    i cant configure receiver determination with BSHE6_LS, because there is no Business Sytem configured as such in SLD.
    my question is , can we change the Business service name in the ECC 6.0 sytem from BSHE6_LS to BS_HE6? (because this message is comming from the ECC 6.0 as Proxy message)
    Thanks,
    kumar

  • [BPM] Multiple receiving steps

    Hey,
    found this demo for multiple receive steps.
    http://help.sap.com/saphelp_nw04s/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    I tried to create a BPM with multiple receive steps, where one step could start
    the process. The example needs to receive ALL steps before it starts.
    How to define a BPM where ANY receive step can start the BPM?
    Would like to receive different Message-Types and transform them to
    a generic structure.
    thanks
    chris

    Hi,
    Use standard pattern multiple Trigger which you can find under BASIS software component under patterns namespace.
    Let me brief.
    First step would be fork with necessary branches(depends on how many systems are participating in requirement). Under each branch insert receive step and for each receive step you it as a start process if required.
    thanks
    Gujjeti

  • Mapping in BPM: how to merge results of receive steps into send steps

    Hello,
    we need the following BP:
    1. async. Receive Step: receive an IDoc
    2. sync. Send Step: WebService request using the content of an IDoc field.
    The WebService returns some data we need for the destination structure.
    3. Transformation???
    4. async. Send Step: we have to <b>merge</b> and map the Idoc fields and the
    resulting fields of the WebService into the destination structure.
    What are the basic steps and objects therefore?
    IDoc-message            X  --> |
    WebService-message Y  --> |   -->  Z dest-message
    Out problem is, how an where to get access to both Source Messages to merge them for the destiniation message?
    Regards
    Gunnar

    <i>1. async. Receive Step: receive an IDoc
    2. sync. Send Step: WebService request using the content of an IDoc field.
    The WebService returns some data we need for the destination structure.
    3. Transformation???
    4. async. Send Step: we have to merge and map the Idoc fields and the
    resulting fields of the WebService into the destination structure.</i>
    >>>>
    1. async. Receive Step: receive an IDoc - OK
    2. sync. Send Step: WebService request using the content of an IDoc field.
    The WebService returns some data we need for the destination structure. - OK
    3. Transformation - this transformation step will have 2:1 mapping. source would be IDOC and response of WS mapped to result.
    4. async. Send Step: Send the result

  • BPM - Receive Step

    Hi,
       I came across this question in one of the site. Can you please tell me which option is correct?
       Question: A message can be received by...
                1) Only a receive Step
                2) By receive, fork or loop step.
                3) By receive and block step.
                4) By send, block and fork.
    Regards,
    Vivek LR

    >    I came across this question in one of the site. Can you please tell me which option is correct?
    >
    >    Question: A message can be received by...
    >
    >             1) Only a receive Step
    >             2) By receive, fork or loop step.
    >             3) By receive and block step.
    >             4) By send, block and fork.
    >
    It can be only reciver step to receive the message, message can also be received by fork or loop but receive step inside the fork or loop must be the first step.

  • Correlation - Expiration of Receiving Step

    Dear all,
    In our scenario, the ccBPM integration process needs to send an asynchronous messge to an external service provider and wait for some time to get the response. If e.g. 2 days passed without response received, the integration process has to report an error.
    How can I specify the expiration time for the correlation message receiving?
    Thanks, Jerome

    Hi Jerome,
    Just want to add one more thing..
    Dont forget to do run transaction code <b>SWF_XI_CUSTOMIZING</b>.ie Automatic BPE Customizing.
    <i>Click on Maintain Runtime Environment .
    Schedule background job for deadline monitoring.</i>
    There are back ground jobs which runs and checks if any process has passed deadline. So over there you can set the time in which the back ground job should run. i.e if you want the process to wait for a minute and then throw an alert/error then you should make sure that the back ground job is scheduled in a timeframe of 1 minute.
    Regards,
    Sumit

  • BPM Fork Processing without receiving all required messages

    Hi
    I  am developing a BPM which receives 5 different messages.
    I am putting a block with Local Correlation with Block Start = New Transaction and Block End = New Transaction.
    Inside this block, I am using Fork with Necessary Branches = 5  , using local correlation for each receive step with Use Correlation and Activate Correlation.
    When I am adding Receive Steps to Fork, there  is an extra branch getting added to the Fork. So now I have 5 Receive steps with Abstract Interfaces and one extra step without having anything. I couldn't figure out how to get rid of this extra step. I know there is way to get rid of this extra step in Fork...but not sure how
    Now, when I am testing, after receiving any 4 messages process is coming out of the Fork block and going to the next block.
    As in the next block I use all the 5 messages, I am getting error there.
    Can you please give your inputs what could cause this problem?
    How do we get rid of extra branch in Fork which we do not use..
    Thanks for your help in advance.
    Regads,
    Ramesh

    Hello  Ramesh,
    When you Drag-Drop any process step in the Fork, it will create a new branch and will sit inside that branch. If you want to put the step on some specific branch then Drag the process step and take it to the desired branch and only drop when [ ] appears on that branch. To insert new branch in fork you can use Right click on Fork->Insert->New Branch.
    Now for ur problem, you have set the necessary branches as 5, when u receive the 4 message(4 branches executed) and fifth branch(empty branch) will make total count to 5. Therefore, ur fork step will be executed and will not wait for the fifth msg.
    HTH,
    Regards,
    Sami.

  • Is it possible to make a receiver step return immediately?

    Hi everyone,
    I am implementing a model with a loop to handle multiple messages. if there is a message meets requirement, the loop exits. but there MIGHT be other messages parked and I need to notify the sender of the message not being processed.
    so i am thinking to add another loop to receive parked/unprocessed messages. but it's possible that there is NO parked message at all. so the receiver in the last loop should be able to return immediately regardless there is parked message or not. in window programming, there is an API to receive message from system message queue without waiting. so my question is: is it possible to have a receiver without waiting?
    besides the no waiting receiver, i am open to any other suggestion that can solve my problem.

    Thanks Shankar,
    Very helpful explanation for me to understand BPM from OO way.
    Based on my understanding, I have a slight different opinion regarding the instance creation of the BPM. Whether another instance gets created depends on how correlation is defined. If correlation is on PO number and the second change request has the same PO number as the first one, then no "another" instance gets created when the first instance is still running. If the second change request is NOT "correlated" with the first one, then another instance gets created.
    If my understanding is correct, then how can we handle the following case:
    1. the receiver step starts correlation on PO number
    2. the first change reqeust and the second change request have the same PO number. the second change request is sent right after the first change request.
    3. the first change request gets confirmed and the instance stops. But there is one parked message.
    Will the parked message starts a new instance? or it just gets ignored. I prefer to have a single instance and notify the sender of the parked message that it won't be processed. If the sender wants it to be processed, it knows it should send a new message to start a new instance.
    Thanks!

Maybe you are looking for

  • 2011 mini-thunderbolt port to monitor not working

    I have a 2011 i5 Mini which I am using as a media server - hdmi port to my tv and the Thunderbolt port to my 1920x1080 monitor.  The problem is with the Thunderbolt port. I understood that I could use a Mini Displayport (MDP) adapter and go to the mo

  • Cost element deletion-COEP entries deletion originated from Spl purpse ledg

    Hi Folks, We have created RA GL account by mistake as cost element and some entries have already gone into table COEP table. To delete cost element the prerequisite is that cost element shouldn't contain any entries. We have deleted COEP entries by u

  • ClassCastException: weblogic.jdbc.rmi.SerialPreparedStatement

    I am attempting to retrieve CLOBs and XMLTypes in a servelet from a 9i release 2 database. Using sampe code from oracle, I am getting ClassCastException when I attempt to cast ... oracle.jdbc.OraclePreparedStatement stmt = (oracle.jdbc.OraclePrepared

  • How do I permanently crop my photos (destructive edit) ?

    I like how Lightroom leaves my original photo intact, and allows me to reverse all edits.  However, sometimes I know I will not need to preserve the entire original file as shot.  For example, I have a series of bird images where, if one can imagine

  • VERY Complicated iTunes/Time Capsule/Library Transfer Question

    Hi all-- looking for some help before I move my beloved iTunes library (over 500GB) from an old PC to a brand spanking new MacBook Pro and a 1TB Time Capsule. I want to store the music files on the Time Capsule and access everything wirelessly. When