Correlation used with synchronous steps in BPM

Hello,
we have a problem with a correlation.
A receiver step synchronous activates a correlation.
The step is completed by receiving a response.
The receiver step connects via sRFC to an R/3 system to trigger there an IDOC.
Next step of the BPM is to receive the IDOC from the R/3 system (async).
This system uses the correlation (time stamp field from RFC).
But: This doesn not work.
We only had success when using an asynchronous RFC.
Does anybody have experience with such issues?
What is possibly wrong with our correlation ?
(Corr. is local within a block where both steps are included, RFC and IDOC step)
regards
Dirk

Here is a little twist to the correlation issue...
I had the following problem. I have a very simple Sync/Async bridge, including a sync. reveiver (sr) at the beginning, as closing S/A bridge sender (ss) at the end, and a async. sender (as) and an async. receiver (ar) in the middle. My messages have an orderId that I use for my correlation.
The first receiver (sr) activates the correclation (using the orderId in the request message).
I then attempted to "use correlation" in my async. receiver (ar) step. The correlation shows up in the drop down options in the properties window of the step, but my selection would not "stick" (it would show it and revert to the red question mark).
After checking my correlation and unsuccessfully trying a few permutations of where to "activate" the correlation, I tried this:
I temporarily turned my synchronous steps into asynchronous steps (sr and ss). Then I selected my correlation in the async. receive step and it "stuck". After my selection was accepted in the "use correlation" property of the async. receiver step, I turned my first and last step (sr and ss) back in to synchronous steps and had the desired result.
... and it worked! I guess it is just a little bug in the tool (which may not be an issue in later releases?!)
Marc
(FYI, I am using XI 3.0 SP 16)

Similar Messages

  • Use a control step in BPM

    hi all
    Is it necessary to use a control step in BPM while using exception handling.
    If yes then is it to be used in the exception branch?

    >>is it necessary to use a control step in BPM while using exception handling.
    No..
    You can use control step only if you want to
    ·        Terminate the current process
    ·        Trigger an exception
    ·        Trigger an alert for Alert Management
    http://help.sap.com/saphelp_nw04/helpdata/en/bb/e1283f2bbad036e10000000a114084/content.htm

  • What is the use of block step in BPM? Please help!

    Hi Experts,
             I would like to know what is the use of block step in BPM? In what cases we can use it?
    Can somebody explain BLOCK by relating to any programming language ( java) control step?
    Please help!
    Thanks
    Gopal

    Hi,
    Block step is similar to what we use curly braces in most of the languages which defines the scope. For example if we are using loop step in bpm to loop through some variable then we can use block step to restrict the scope of loop step up to some point.
    Thanks and Regards,
    Sudheer.

  • 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 with Switch Step in BPM

    Hi,
    I am using Switch Step in BPM, to check a condition. I created following condition (App_Resp./p1:App_Resp_MT/Response = true). The mentioned is correct and it should succeed but it is failing. Its going thru OTHERWISE branch. Can anybody help me to solve this out?
    Thanks,
    Yaseen.

    HI,
    I checked in the workflow the xml file generated contains value 'true'.
    Its not multiline and looks xpath reflects for the changes made.
    I think it may be problem that needs to deploy any OSS notes.
    Please throw some idea.
    Thanks,
    Yaseen.

  • Send Synchronous step in BPM - showing application error in sxmb_moni

    Hi
       We have a cc bpm in which we have a send - syncrhonous step - a call to an external webservice and synchronously getting a response back.
    Now, owing to a application condition when invoking the  webservice , the response received after being mapped back into the BPM, the status is set is being set to application error ( without a restart ) in sxmb_moni and the bpm gets  a response in the fault structure from the webservice
    My understanding is that the web service implementation sets this application error status after sending the appropriate response in the fault structure  . We want the cc BPM to continue to the next step - which is - taking this response in the fault structure from this webservice and communicating it out - in another send step.
    But owing to the application error in the synchronous send step , the BPM instance stops right there without proceeding to the next send step - after this ?
    How do we make the cc BPM not stop after getting the fault response and the application error ?

    Insert an Exception Branch by rightclicking on the block and choose insert.
    In the send step under Exceptions you can point to the created exception branch.
    In the exception branch you can now handle what to do when it fails.
    Edited by: Christian Vilhelm Henriksen on Mar 16, 2010 1:09 PM

  • Prblem with Switch step in BPM

    Hi all,
    I have a problem with a switch step in my BPM. The condition on my BPM is that I have an xpath and that should have a particular constant value. If true, then proceed or else passs through the otherwise branch. The success branch has a transformation and a send step. The otherwise has a control step with an Alert category defined.
    So the BPM is like
    Receive message --> Switch (XPath condition a particular node must have a value not equal to zero.) --> if tru then transformation and send step otherwise control step.
    This all works fine as expected when I pass in the correct message format. The problem is, if I send in a message of a completely different structure, it is still going through the otherwise step of the switch case and not erroring out. The BPM is not erroring out no matter what message I pass in.
    Ideally I am expecting it to error out and send an alert message according to the category.
    could somebody please help me on this?
    Thanks
    Karthik

    Thanks for your reply. I already did go through that thread. The switch case works fine for correct conditions and wrong conditions. The problem is, there is no error being generated when the input message is not in a recognizable structure. Switch goes on to otherwise path is I just pass in some random file.
    My question is, why dint the BPM error out when the XPath itself failed..meaning the structure itself is wrong?
    Please reply.
    Thanks
    Karthik

  • Error with fork step in BPM

    Hey guys
    i m trying to collect three different IDoc's in a BPM and using fork for that,when i try to enter 3 in the Necessary branches property of Fork,its giving me and error sayin that maximum value permitted is 2.
    any idea why i m getting this error?
    thanx
    ahmad

    Hi,
    Are You the correlation
    This might Help you
    Fork and BPM
    Fork is not working - BPM
    Regards
    Agasthuri Doss

  • Receiver Determination with Synchrnous Send step in BPM

    Hi,
       Is there any way to use BPM Receiver Determination step type with Synchronous send step ?
    Is it possible to send a request to multiple receivers synchronously and capture the response?
    Appreciate for your response.
    Thanks,
    Rao.Mallikarjuna

    Use malticasting, check out these blogs
    Multicasting using Receiver Determination Step in BPM
    and pattern number 6 in BPM with Patterns explained Part-2
    Thanks!

  • How to add a Wait Step in BPM for the synchronous send step

    Hi,
    we have a scenario where in one of the step in BPM is a synchronous step which sends data to ECC system and gets the Respose .
    The Requirement is that we need to add a wait for the Synchronous step in BPM as the data sent to RFC(ECC) need to get comitted before sendng the response which requires some wait time.
    Currently we are getting the Response to PI from ECC where it was reported as the response is not correct.
    Is this possible to add wait

    > Is this possible to add wait
    No, this does not make any sense.
    The BPM waits for the response anyway.
    You could change the scenario to an asynchonous pair of messages.
    But in my opinion the error is inside the ECC, because the response from ECC is not correct.

  • Error using custom xpath function with XSL transformations in BPM

    Hi,
    We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
    We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
    XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
    I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
    Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
    13801175
    14406487 (11.1.1.6.4 SOA Bundle)
    13896993
    13088538
    Regards Dave
    Edited by: DavidGaskell on Mar 14, 2013 10:08 PM

    Hi All,
    I am also facing the same issue...Experts can you please help us.
    hi DavidGaskell, did you find any resolution, if so can you share it with me.....
    Thanks,
    RR

  • Receivere Dtermination step in BPM

    Hi Everybody,
    I m doing a scenario (multicast-multiple receiver) in which i have to use receiver determination steps in our BPM design. My scenario:
          service -> BPM ->service
              R3 systems(RFC communication)
    Here BPM will be used to do synchronous communication with R3 systems.
    My BPM design is :
       receiver->recever determination->Block(for each)->send(synchronous to communicate with R3)->send(to send to the service)
    PROBLEM: my receiver determination is not able to recognise R3 system.
    In the message of receiver determination step i can give only container of asynchronous interface(there is no container for synchronous message).
    During config time i have created receiver determination with outbound interface of synchronous message.
    here i have to use receiver determination step in BPM (because i m working on it).
    Please suggest the appropriate way to solve the problem.
    Thanks
    sandeep

    http://help.sap.com/saphelp_nw04/helpdata/en/43/6211b11c895f6ce10000000a1553f6/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/d5283fd0ca8443e10000000a114084/content.htm

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • Multiple source messages in transformation step in bpm

    Hello,
    I am using a transformation step in bpm, I have two source messages and 1 target message, I got an error 'expression must return the interface type XXXX(in source message)', I checked my source message in interface mapping and the container element, the types do match.
    All the interfaces in the OM as well as in the bpm container definition are of type abstract.
    It seems to have something to do with the interfaces belonging to different software components?
    I declared a usage dependency from one swcv (holding the bpm) to another (holding the abstract interfaces which cause the error in the transformation step), so that I can reference them in the bpm.
    I thought it might have something to do on how  the message interfaces are selected in the operation mapping. so I tried to select the messages through the depencency path, but that was of no help either.
    Have I been clear?
    Any ideas?
    Thanks
    Matthias

    Since no receiver information is available in the transformation step, there can be no value mapping within the transformation  step. If the messages to be transformed give values in different formats, for example different date formats, you must first normalize the values before the messages can be processed in the process. To do so, define a message mapping with a corresponding value mapping.
    Check the help page below for reference
    http://help.sap.com/saphelp_nwpi71/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm

  • Regarding send step in bpm--"send context"

    i want to use the send step in my bpm with send context.
    The send context is a freely definable string, which you specify in the send step. You query the send context in a condition in the receiver determination in the Integration Directory. You must specify the send context to be able to send messages from the same message interfaces to different receivers in different send steps.
    but i did n't understand regarding the explanation given above.
    could u plz help me out

    Hi
    When you use Receiver determination step in BPM to get a list of receivers for a send step.
    You need to define send context to send messages from the same interface to different receivers in different send steps. As list of receivers is collected using receiver determination.
    Now you can use this to set condition(send context) based receiver in ID Receiver determination.
    Thanks
    Gaurav

Maybe you are looking for