BPM: Multiple synchronous receivers

Hi Friends,
   I am trying a scenario : File --> XI > RFC(Multiple Receviers)> File(single).
   Can i send the message to multiple synchronous receivers using BPM. My Scenario goes like this...
1). Send file to XI.
2).Use BPM to send it to RFC(Multiple Synchronous Receivers).
3).Send this response to Asynchrounous Receiver ( Write the response to a File using time stamp. So that all the response messages can be written) .
   Is it possible to do this using BPM... Ofcourse i have done a scenario for Multiple Asynchronous receivers using receiver determination and block step in BPM..

Hi,
You can use send synchronous call in your scenario.
The point is, there can be multiple synchrounous calls from the send step.
You would need a way to distinguish the 1st response from the second response. Therefore,we need to make use of correlation.
After the send step, we need to use a receive step(with correlation), which will receive only the response corresponding to the correct request.
Basically we are using the receive step with correlation here, to make sure that, we donot receive and process, the 2nd response(or 3rd or 4th response) for the 1st request.
You said, your scenario is not working. Where exactly are you getting the error.
Regards,
Smitha.
Message was edited by: Smitha Rao

Similar Messages

  • Time synchronization problem with "niUSRP EX Rx Multiple Synchronized Inputs.v i " ??

    Hello,  
    I used "niUSRP EX Rx Multiple Synchronized Inputs.vi "( offred by NI) to synchronize 2 USRP in reception (the master connected to laptop via Ethernet and the slave connected to the master via MIMO cable). 
    I set: master--> RefIn and PpsIn     slave-->Mimo and Mimo. 
    Problem: Inspite I used identical cables that connect the both devices to the transmitter; the signal received by the master and the signal received by the slave ar'nt synchronized in time because the time lag (delay) is not constant!!!. 
    Where is the problem?!!  
    Thank you

    Hi,
    I used:
    transmitter--> Rohde & Shwartz SM300 signal generator.
    Receivers-->  2 x USRP N200 (connected with MIMO cable)  master--> RefIn and PpsIn     slave-->Mimo and Mimo.
    3 identical cables to transmit the signal, connected via Power Splitter/Combiner (Mini-Circuits).
    Cable 10MHz connects the master device with the transmitter.
     FreqTx=700MHz  (sin)           CarrierFreqRx=701MHz  --------> so the received signals are a sin of 1MHz (701-700=1MHz).
    I have no probleme with phase synchronisation (because both the slave and the master received a sin of 1MHz).
    My problem is the time synchronization:
    How can I verify if i did the  time synchronization?
    I must have 2 superposed sin [(ch0 I with ch1 I) (ch0 Q with ch1Q)] ?
    I must do Timed commands? if yes! How to do it?
    I try to run the example of constellation, then i have message: Find VI Named".........Vi"    I have this problem all the time when I run some examples . I have probleme with setup LabView?!
    Best regards

  • Multiple event receivers with a list

    Hi All,
    If there are two item event receivers attached with a list and event is cancelled by event receiver that trigger first, will second event receiver be invoked? As per my understanding that second event receiver will not be invoked.
    I have a requirement where in case first event receiver cancel the event, second event recever should still be invoked.
    do anyone has any idea aroound it?
    Regards Amit

    Hi, Amit KM.
    http://msdn.microsoft.com/en-us/library/gg749858.aspx
    Notice the following details:
    Synchronous event receivers are called in sequential order based on the sequence number specified during event binding. This applies to both Before and After synchronous events.
    Asynchronous After event receiver threads are initiated in sequential order based on the sequence number. However, there is no guarantee that they will finish in that same order.
    An asynchronous After event can start at any time after its associated user action is performed. It may start before, at the same time as, or after the Web request is completed.
    After a user initiates an action in the SharePoint user interface, and before SharePoint Foundation executes the user action, the synchronous Before events are raised. If there are multiple synchronous Before events, they are raised in the order specified
    by their sequence number. Similarly, synchronous After events are raised after SharePoint Foundation executes the user action. These, too, are raised in the order specified by sequence number. As you can see, all synchronous events are processed in the same
    thread as that in which the user action occurs.
    Asynchronous After events, however, are processed on secondary threads.
    So you're completely right that if the first event receiver has cancelled the operation, the second event receiver will never been executed.
    In your case if you want second event receiver(B) to be invoked regardless of the first event receivers'
    (A) result you can easily swap the sequence numbers for those event receivers.
    Event Receiver Sequence          
    The event receiver sequence specifies the order in which an event receiver is executed in cases where an event triggers multiple event receivers. For example, if you have two
    ItemAdded event receivers bound to the same list (one from Assembly "1" and the other from Assembly "2"), the event receiver that is bound with a lower sequence number is executed first. A practical example is adding an event receiver to a
    system list that already has a system event receiver bound to it. In that case, you assign the new event receiver a higher sequence number.
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Receivers ListUrl="Lists/Tasks">
    <Receiver>
    <Assembly>MyReceiverAssembly, Version=1.0.0.0, Culture=Neutral,
    PublicKeyToken=12e5e5525fb3d28a</Assembly>
    <Class>MyReceiverAssembly.MyReceiverClass</Class>
    <Type>ItemAdded</Type>
    <Name>My ItemAdded Event Receiver</Name>
    <Synchronization>Synchronous</Synchronization>
    <SequenceNumber>1000</SequenceNumber>
    </Receiver>
    </Receivers>
    </Elements>
    LinkedIn Profile
    SharePoint Advanced Visibility Options project
    SharePoint Managed Metadata Claims Provider project

  • Multiple client receivers

    Hi Experts,
    I have a requirement where the SENDER is SOAP and the receiver is RFC.
    Sender send the data and it should be bifurcated to 6 clients based on some condition.
    Previously  I have created a rule in receiver determination to send the date to multiple receivers which are existed in the same client.
    But now here they want to send the data to multiple client receivers based on the condition.
    Do I need to create the CC and receiver agreement for each receiver  or is there any other option available ?
    Please help me out with this.
    thanks and regards,
    praveen

    Hi praveen,
    Yes. You can handle this in the same way by creating the condition in Receiver determination.
    But here you need to create separate Interface determination and receiver agreement for each receiver. You can use existing RFC Communication channel in Receiver agreement.
    Regards
    Baskaran K

  • Multiple Email Receivers for Error Notify

    Dear Gurus,
    Do you know how to set up multiple mail receivers for error notify? I tried out by using u2018;u2019 and u2018,u2019, and neither of them works.
    Thanks!
    Mao

    Yes, this is possible. You should be able to use , or ; to separate the recipients. However, this functionality has not worked until version SAP 7.00 build M26.11 of the product.
    Which version of SAP CPS are you using?

  • Multiple queue receivers with disjoint message selectors - portable?

    Hi all,
    I was wondering whether an application that uses multiple queue receivers with disjoint message selectors would be portable across different JMS providers.
    I fear it's not - at least the spec clearly states that the implementation of message delivery to multiple receivers is provider specific, and I couldn't find any comment that this would be different with disjoint selectors. But I wanted to check with you - maybe I missed anything?
    What could be an alternative then (in case you want to avoid multiple queues)? Using a topic with durable subscribers?
    Regards,
    Sabine

    Hi Nimo,
    accepted - as long as the JMS spec requires the JMS provider to support multiple receivers. And that's exactly the point where I'm not sure...
    Literally it states:
    "For PTP, JMS does not specify the semantics of concurrent QueueReceivers for the same queue; however, JMS does not prohibit a provider from supporting this."
    The formulation "does not prohibit" makes me think that JMS allows providers also not to support this, for example, to throw an exception when a second consumer is created for the same queue, or not to serve it at all with messages as long as the first consumer is active. Not that I think it would be a very useful implementation - I just want to know if it would be possible. In that case, the application would not be portable.
    Regards,
    Sabine

  • Behaviour of multiple queue receivers on same queue

    I have been trying to find out what exactly the jms specification states about having multiple queue receivers registered on the same queue. Some books and people say that one is only supposed to register one queue receiver per queue, if this is the case then one might as well use one topic subscriber per topic (what is the utiliy of a queue then).
    I believe that one is allowed to register multiple queue receivers on a queue, and a message will only be consumed by exactly one and only one queue receiver, thus allowing for true parallel processing. This is the behaviour I have observed when using jms on both JBoss and Weblogic (and apparantly is the same on Websphere).
    I have looked at the formal JMS spec from sun and they dont make it clear what the behaviour of multiple queue receivers on queue is. Can somebody PLEASE help me clear this up.

    The behaviour is undefined by the spec. Here is what it says:
    "Although it is possible to have two sessions with a QueueReceiver for the same queue, JMS does not define how messages are distributed between the QueueReceivers."
    However, multiple receivers on a single queue is a very popular design pattern. A typically pattern is to use the queue as a worklist and for work items to be posted to the queue. There is then a collection of workers who are registered as queue receivers picking out their work items from the queue. These workers are processing in parallel and as the workload increases you respond by add more workers.
    This pattern is usable where message ordering is not important and that the workers are stateless.
    Steve

  • Message Split using BPM for Multiple SOAP Receivers

    hi,
    I have a scenario where in i have to split the message coming from IDOC(SOURCE) to multiple SOAP(TARGET) receivers through BPM
    I took a single file as a scenario and tested it. It worked fine.
    I am using only a single output interface.
    I have followed this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    but this blog has 2 output interfaces whereas in my case i just only one output interface that i want to route to multiple receivers based on the value in the PARVW in the IDOC.
    Thanks,
    Tirumal

    hi ,
    this is done using CONDITIONAL RECEIVER DETERMIANTION.
    While doing your reciver determiantion, you can specify multiple receivers and also specify the condition on which the receiver is to be choosen.
    Also, just check the last path of this blog for the same,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Regards,
    Bhavesh

  • BPM Error: Synchronous Send Step

    Hi All,
      I am getting the below error in the synchronous send step of my BPM.
    Interface urn:Haworthinc.com:India_Tax SIAA_IndiaTax_DBSelect_TICUSEXT has multiple operations
    I am trying to send a query and get data from a table in this step. I have an abstract synchronous interface attached to this step and I have an inbound synchronous interface at the configuration side as the receiver for the BPM sync. interface.
    The errored out interface is the abstract interface used as the response message at the BPM sync step.
    Does anyone has encountered this before?
    additional error info)(
    Work item 000000364714: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    Message no. WL821
    Diagnosis
    The calling of the object method for the work item ended with a return value for which no handling is modeled in the workflow.
    System Response
    The work item was forced into the error status.
    Procedure
    Refer to your workflow system administrator.
    Procedure for System Administration
    Also check the binding between the task container and the method container.
    Appreciate your help!
    Regards,
    Shiny

    Hi,
    e urn:Haworthinc.com:India_Tax SIAA_IndiaTax_DBSelect_TICUSEXT has multiple operations
    Are u using 7.1 versin of PI, if so can u check if u r consistently using operation name in interface
    Babu

  • Regarding BPM for Mutiple Receivers

    Hii,
    I am getting the Input as a File, I want to send this file to multiple File Locations Using BPM. How should I define the BPM.
    Regards,
    Varun

    HI,
    You can send file to multiple receivers with and without BPM.
    If you want to use BPM check this:
    XPath to show the path (Multiple Receivers)
    without BPM:
    You can do it by putting the condition in deciding your receiver business system in your receiver determination. For each business system which is there as a receiver you need to provide individual interface determination also

  • BPM Multiple message not stopped after exception

    Hello All,
    I have scenario:
    DB -> XI -> SAP (IDOC)
    In one message from DB I am sending multiple rows which I am transforming to multiple IDOCs. Everything works fine until one of rows have an error in data. When error occur BPM process stops and is not sending rest of the rows. I would like this scenario to not break after error row and send all messages except error ones.
    I tried to use exception, but it does not work the way I want - it does not sent rest of messages.
    Thank You in advance for your help.
    best regards
    Dawid

    Hi Dawid,
    1. what kind of error do you mean ? mapping error ?
    if it's a mapping error maybe you can catch it inside your mapping
    so that it will not result in an exception and you can just
    remove the incorrect IDOC from the R3 (bd87) and the rest would be
    processed correctly?
    2. <b>why do use use a BPM to map DB to multiple IDOCs?</b>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Async - Sync in BPM - Multiple Retries

    I have an asyncronous interface from CRM which goes into BPM and makes a synchronous call into the destination application and expects a response. However if there is a connection failure from the HTTP adapter to the destination application, I want to try a further 10 times to try to get a connection at 2 minute intervals before failing the process and triggering an alert.
    This part is working ok :
    The first send fails and raise an exception (system exception) and the exception handler is invoked. In the exception handler branch I have set up a loop to try a resend at 2 minute intervals.
    However when the first retry fails the process stops. I do not have a further exception handler branch for the retry block as I just wish to keep retrying at 2 minute intervals.
    This leads me to believe that I need to have each retry in a block of its own and have an exception handler branch for each of the retries.
    Can someone please confirm this is the case ?
    This seems very inefficent to have to do it this way.
    Does anyone have an alternative method to fufil this requirement of retrying a fixed number of times at a fixed interval ?
    Note that I cannot use IS_RETRY_LIMIT in configuration as this is only for asynchronous processing. This is async - sync processing.
    Thanks
    Colin.

    hi,
    >>However when the first retry fails the process stops. >>I do not have a further exception handler branch for >>the retry block as I just wish to keep retrying at 2 >>minute intervals.
    since this is a sychronous call, Xi wll only ry once and if hte call fails, i will mark he call as failed, tere is no way you can so a retry.
    instead, i have a suggestion for you in terms of design. Make the http call asych with in the BPM. But establish a correlation using correlation editor. So have a send step and recieve step for recieving the response asychornously based on the corelation id.
    now go to visual admin -> server -> SAP XI adapter yo will see retry interval and retry limit. here change these values to ur choice, default being 3 times afer 5 minutes.
    by doing these changes you are ensuring that if the message fails the first time, Xi will put this message as waiting, and will retry to submit based on the setting u made to the XI adapter.
    cheers,
    naveen

  • BPM process calling another BPM process synchronously

    Hi,
    When have a BPM (SCENARIO_1) that receives a request.
    The BPM makes a SYNC call to another BPM (SCENARIO_2_SYNC_SEND). The second BPM should return the sync response to the first BPM. The second BPM has been implemented as a SYNC/ASYNC bridge. .........This scenario is NOT working.
    We have independently tested the second BPM and can confirm that it works correctly and as expected when it is NOT called by another BPM.
    design steps of BPM
    1. BPM (SCENARIO_1)
               start -> receive(async) - >send(sync - calls 2nd BPM) -> stop
    2. BPM (SCENARIO_2_SYNC_SEND). (this BPM is invoked by first BPM (SCENARIO_1)
                start ->receive(sync -open SA bridge) ->send(sync - calls webService) ->send(closes SA bridge)
    Is SAP PI supports synchronous call from one BPM to another BPM???
    rgds,
    RDS

    Hi Henrique,
    we also done the BPM calling another BPM asynchronousl;y, which is working fine.
    In this case, I designed BPM like follows (as initially mentioned)
    1. BPM (SCENARIO_1)
    start -> receive(async) - >send(sync - calls 2nd BPM) -> stop
    Note : In 'send' step, I selected 'Create New Transaction'.......if I don't select this property then system dumping without invoking the second BPM, When I select this property the second BPM is invoked after the 1st BPM completes i.e it waits for  CHECK_FOR_ASYNC_RESPONSE_TIMEOUT (default value 60 secs)  to elapse. during this time an entry in the outbound queue (smq2) appears 
    2. BPM (SCENARIO_2_SYNC_SEND). (this BPM is invoked by first BPM (SCENARIO_1)
    start ->receive(sync -open SA bridge) ->send(sync - calls webService) ->send(closes SA bridge)
    how do we check whether it using more than one queue??
    we have only looked at smq1 & smq2.
    We see an entry in SMQ2 which stays there for the timeout period of the first BPM.
    It seems as if the second bpm doesnt see it until the first BPM closes.  
    I might think this is appropriate behaviour to stop the engine processing the same message more than once which would explain the behaviour we are seeing. However this would mean PI would not support BPM synchronously calling BPM which is what we are trying to determine if it is supported. 
    We cant find any documentation saying this is possible and alot of documentation indicates workarounds.
    Have you ever seen this scenario implemented.
    <removed by moderator>
    Hi supriya,
    There is no problem in getting the response from webservice, the problem is the BPM which calls webservice itself invoked after the timeout of first BPM.
    Edited by: Shankar Raju Devadoss on Aug 25, 2010 7:21 AM
    Edited by: Shankar Raju Devadoss on Aug 25, 2010 7:32 AM
    Edited by: Prateek Raj Srivastava on Aug 25, 2010 11:24 AM

  • BPM: Multiple IDOC collect into one file

    Hi
    I have done collecting multiple IDOCs of same type into one file using BPM
    I have used the following blog which is collecting different types of IDOCs.
    IDOCs (Multiple Types) Collection in BPM
    But i have done collecting of IDOCs which are same type.
    Source side it is showing successful and its reaching to BPM also . But in target i am not getting any file. Could any one please help me how to check where exactly I am failing.
    Thanks & Regards
    Sowmya

    Check whether the Outbound Status is successful or not in sxm_moni. Is there any message created from Integration Process to receiver File system.
    Check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/80a22ce8-8e72-2b10-3fba-e9511c6f0b8b
    Regards,
    Prateek

  • FILE-BPM-MULTIPLE BAPIS

    HI EXPERTS,
    I AM FRESHER IN BPM.
    HERE IS A SCENARIO I HAVE TO IMPLEMENT.
        A TEXT FILE(SALES) WAS RECEIVED AND IT SHOULD BE SEND TO XI(BPM) WHICH WILL BE CONNECTED TO 4 BAPI'S . HERE THE SCENARIO IS,  BASED ON THE FIRST BAPI RESPONSE , SECOND BAPI REQUEST WILL BE GENERATED.
    BASED ON SECOND BAPI RESPONSE, THIRD BAPI REQUEST IS GENERATED. AND FOURTH BAPI IS GENERATED BASED ON THIRD BAPI RESPONSE.
    I THINK I GAVE SUFFICIENT INFORMATION.
    POINTS REWARDED..........
    THANKS IN ADVANCE.

    Hello,
    Check this thread,
    FILE to multiple BAPI/RFC calls
    **********Reward points,if found useful

Maybe you are looking for

  • Cannot send mail from yahoo email account.

    I recently developed a problem with sending messages through the ipad mail app. The primary server is Yahoo! SMTP Server with the SSL use on and port 465 open. However the hostname isn't specific. Just says "Yahoo! SMTP Server". I can't access it to

  • No longer able to drag Outlook emails to Outlook calendar events

    I use Outlook 2007 on my PC, and sync it to my iPhone and iPad using iCloud.  I used to be able to drag an email to the notes section of an Outlook calendar event, but it looks like this ability/feature is now gone.  Can I get this feature back? I ev

  • New User Trying To Set Up Best Backing Up Scheme

    i am trying to set up the best system to upload my photos from my camera and maintain a good backup procudure, and i am a little confused on the best way to do this. i have a new sony dsc-tx5 that i got around the same time i bought my lightroom soft

  • Execute .bat within a PDF

    Is it possible to execute a script/batch file within a PDF with the result returned to a field on the PDF? Many Thanks, Garreth Curran

  • Error messages CE 7.1

    Dear, I am looking to change the messages from the logon page in portal. messages like: 'user authentication failed'. does anyway have any Idee of modifying these messages. please note that it is on a CE 7.1 system. kind regards, Arnaud