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

Similar Messages

  • BPM with multiple Receives

    I have an input from a File1 and this will be received in the BPM and then the input will be sent Synchronously to get a Response Back. Only after I receive the First HTTP response, I need to Receive another File say File2 in BPM.
    How to achieve the above scenario

    Hi,
    Basically add a second Receive step to the BPM after the synchronous send step. However, you must create a correlation so the engine knows exactly which File2 is to be routed to a particular process instance. You activate the correlation in the first Receive step (for File1) and use the correlation in the second Receive step.
    Regards,
    Thorsten

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

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

  • How can I design a BPM with mulitiple IDOC types as sender

    Hi Experts,
      I am using PI 7.1
      I have a senario that I have to design a BPM in such a way that I will get different IDOC types as sender while the receive step has to trigger the the respective IDOC types at run time.
    For example: when matmas is the IDOC the BPM instance have to trigger only the respective Abstract interface at runtime.
    In my senario I have 5 IDOC TYPES which should pick the related one using a single Abstract Interface in the same design( one BPM ).
    Is this possible. Please suggest me how can I do this if possible.
    Regards
    Shankar.

    Hi,
    you could work with multiple receive steps that triggering the process.
    Similar to the example pattern in SAP Basis BpmPatternSerializeMultipleTrigger
    http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/frameset.htm
    In the fork step you could set the number of required branches to 1 that means only one receiving IDoc is required to leave the fork step.
    Regards
    Patrick

  • Fork with two recieve steps

    Hi,
       I have a BPM fork step with two receive steps, One is IDOC and another is ABAP proxy. both are independant steps so use a dummy correlation.
    I am assuming any message that arrives should start the process. When the proxy runs it start the process and works fine.
    when an IDOC arrives, its giving an error Permanent error in BPE inboud processing.
    In SXMB_Moni the status is message scheduled on outbound side.
    Thanks for the answer,
    Vinay.

    Thanks for your replies.
      Actually i was using BPM because bothe the messages will be transformed to target messages which are same type. So we have two transformations one for IDOc and one for Proxy.
       Then we have single sender step.
    I tried not to use correlation but since there are two receive steps its asking the correaltion as mandatory entry in receiver steps.
    I am now going to split them into two processes each with its own process.
    thanks,
    vinay.

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

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

  • 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

  • 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 wait step) calling another BPM

    Hello,
    I have this scenario whereby i need to call a BPM from another BPM process. Call it BPM1 and BPM2. BPM1 will have a Sync-Send-step to call BPM2.
    The following is what i have setup:-
    Working OKAY:-
    BPM1 (receive from file, send syn step to BPM2) --> BPM2(receive step (Open S/A Brige) from BPM1, send step (Close S/A Bridge))
    But if i put an wait step (for 1 minute, see below) before the send syn step in BPM1, i will have problem and the queue in BPM1 show "STOP" and the BPM2 queue show "RETRY".
    Problem:-
    BPM1 (receive from file, wait step, send syn step to BPM2) --> BPM2(receive step (Open S/A Brige) from BPM1, send step (Close S/A Bridge))
    Yes, the RETRY will work but the problem is, my BPM1 has already timeout and has ERROR (see from SWWL) and BPM2 has exceptional error in the Close A/S Bridge send step (because it can't send back to BPM1).
    Anyone has any idea how to resolve this? and hopefully the above is clear enough to discribe the problem that i'm facing now.
    Any suggestions are welcome, scott.

    The minimum BPM-wait duration is 1 min and cannot be decreased below that....

  • 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

  • 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

Maybe you are looking for

  • Vendors open items are not appearing in clearing

    Hi All, I am able to see 10 open items in FBL1N (Vendors' open Item), but when try to post the outgoing payment through manual clearing, it displays only 6 open items. This is happening for very few vendors. Please help me to get rid of this problem.

  • HTTPS (Transport Level Security)

    Hi SDNers, I have a question regarding securing a SOAP Sender scenario using HTTPS. We are on PI 7.11 and have a SOAP-PI-RFC scenario. I have used a HTTP Sender instead of a SOAP channel to configure the option of 'HTTPS without Client Authentication

  • Build a New Libary vs. Add Files?

    I need advice about the choice creating a new library file or adding files to the library. Here is the situation: My computer was stolen .  On the computer that was stolen I had I-Tunes installed.  The music/media files were on an external hard drive

  • Links in mails forwarded by an inbox rule get broken/removed

    Hi, after I upgraded from Exchange 2007 to Exchange 2013 I got a weired problem with auto forwared e-mails as this mails end up with broken (empty). Only links with custom protocol headers are broken/removed, HTML links (http://, https://) are not re

  • Why do i have so many partitions

    I have 6 paritions on my windows 8.1 computer and i am wondering if i need them all and can i delete any. The first one is a 400 MB Healthy (Recovery Partition). The second one is a 260 MB Healthy (EFI System Partition). The third one is my Primary P