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.

Similar Messages

  • 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

  • Sync Receiver Step??

    Is there a way to send sync via RFC a message to a BPM Receiver Step without using a Sync/Async Bridge? the idea is to catch in R/3 an ABAP Exception if XI is down.

    Hi Ruben,
    If you are using Sync.RFC then BPM steps will be
    steps:
    1) Receive the message from R/3 - RFC
    2) Transformation(In the Transformation step, you will be having Request Mapping/Response Mapping.)
    3) Send - SYnc to JDBC
    4) Get the repsonse
    5) send(Sync) the Response back to RFC .
    Ans also,as your Sender is RFC, no need to create Message Type and Outbound Interface.But you need to create Abstract Interfaces, to use in the BPM.
    You need to create one Sync/Inbound Interface for JDBC type.If you are receiving the RFC message directly to BPM, then you need to have Sync,Abstract Interfce
    Just have a quick look into this blog for the same:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Go through these links and see if it helps....
    Defining Sync/Async Communication
    http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm
    Example: Sync/Async Communication
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    RFC Scenario using BPM --Starter Kit
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Walkthrough with BPM
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    Regards,
    Abhy

  • 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

  • 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

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

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

  • [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 Sync/ASync Bridge Problem

    Hi,
    I am creating a scenario for an inbound Synch request to be serviced by a BPM process.
    Here is the problem that I am facing while trying to configure the Receive Step
    - I created a Message Interface defined as Abstract Synchronous.
    - I created a process model and put in a Receive Step: Mode - Opens S/A Bridge, Synchronous Interface - defined as above.
    - I define a container with Abstract type. But when I try to locate the above defined Abstract Synch message interface, I cannot find it.
    - As a workaround, I create another Abstract Message Interface defined as Abstract ASynch.
    - I create a container with this Abstract ASynch message type.
    - I use this container in the Receive Step.
    But activating the Business Process gives the error:
    Message to be received and Synchronous Interface do not have identical types.
    Can someone give me the correct procedure to configure the Sync / ASync Bridge ? thanks,
    -Manish

    Dan,
    This is the link you are looking for?
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm

  • XML file to Proxy Scenario with BPM - ID Steps

    Hi Guys,
    Any one can help me to find  about the scenario XML file to ABAP Proxy with BPM, ID steps please. Any link or logical routing, receiver determination and interface determination idea. Please correct me,
    I have created Business Service as sender to send one xml file to BPM, BPM is sending a message to SNC system. I have created 2 receiver determinations, but I am confusing in interface determination, where to declare OM?
    Please can any one respond bit quicker.
    Thanks  in advance
    Regards
    San

    ES Repository
                         *Service Interfaces*
    Create one outbound service interface for XML file.
    Create one Inbound synchronous Interface for SNC system.
    Create one Abstract Asynchronous interface ,same message type as you used for outbound service interface .This is for Integration process receive step.
    Create one Abstract async interface for receiving the response from SNC system in Integration process.
    Create one Abstract synchronous interface to be used in the Integration process for Send sync step.
    Create on inbound asyn service interface for sending the response from integration process (received from SNC system) to the Receiver System.
                  Operation Mapping.
    Create an Operation Mapping using Abstract sync interface and inbound syn interfaces.
                  Integration Process
    start--->receive Step---->send Synchronous step----->send step.
    Create two container elements
    first with abstrat async interface for the XML request.
    second for abstract asyn interface with the XML response structure (asyn receiver system structure)
    In the send sync step select your abstract syn interface from the F4 help.and select the corresponding request and response message from the container element you defined earlier.
    Integration Directory.
    Create one sender File adapter Communication channel for XML file reading.
    Create two receiver communication channel for sync system(receiver XI adapte for ABAP PROXY) and other for asyn receiver system .
    Create 3 receiver determination
    1.from sender to Integration process.
    2.from Integration process to SNC system.
    3. from Integration process to Asyn Receiver System.
    Create 3 Interface determination.
    Specify Operation mapping while you are creating interface determination from Integration Process to Syn BS.
    Create one sender agreement
    Create two Receiver agreement.
    Regards
    Kubra Fatima.

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

Maybe you are looking for

  • 500 Internal server error in web template  for specific users

    Hi We have issue with Web templates for some of the users giving error  "500 internal Server Error", all other users able to run the same report. We have authorization for the user and following variable which will give target currency selection in v

  • How to validate a datetime in a string

    Hi Team, I have a string,How can i validate whethere the string contains a valid datetime or not ? Thanks in advance. Regards Subrat

  • How come Power Nap doesn't work on late 2011 MacBook Pros?

    I have a late MacBook Pro, recently bought Mountian Lion hoping I would get Power Nap, but unfortunatly not, could someone be able to explain why Power Nap is only for MacBook Pro Retina and MacBook Air please? Much appreciated.

  • Reader 9.1 (Linux) takes 100% CPU

    Initially when starting Adobe Reader and opening a document everything is fine. But after a few minutes Reader takes up to 100% CPU. This also happens when starting Adobe Reader without opening a document. It's Adobe Reader 9.1 (AdobeReader_enu-9.1.0

  • Statement could not be reached

    does anyone know what "statement could not be reached means" thanks