When is Sync-Async bridge used in BPM? Kindly help!

Hi Experts,
   I am finding it difficult to understand when to use Sync-Async bridge. In the example given by SAP it is not clear what they mean by following:
1. We use Sync-Async bridge when the sender system is Sync and Receiver system is Async. What do you mean when you say receiver is Async?
2. When Receiver is Async then how will it send a response?
3. Can somebody explain the "Wait" mechanism used to get the response?
4. Can we use Sync-Async bridge when both the sender and receiver systems are Sync? How?
Please help me with the answers
Thanks & Regards,
Gopal

Hi,
In a simple way ill tell you. Suppose we need to check the reservation seats of Train or flite then the sender(our) side is Asynchronous and receiver(server) side is Synchronous, because the receiver(server) takes the request and send the response(seats r avail or not).
For your second question
     If the receiver is Async then it doesn't send the response.
For your fourth question chk this
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
For more info Check this links
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm

Similar Messages

  • Doubt on Sync-Async  bridge using BPM

    Hi Experts,
                     I had a doubt on Sync-Async  bridge using BPM,
       1. If sender system is SAP system and receiver system is non-sap system then while configuring in Integration Directory how many  Receiver Determinations should be done ?
    2.Plz explain if we have 2 receivers i.e one sender SAP system and 2 non-sap systems then what will be the no. of receiver determinations?
    3.How we have to count no. of receiver determinations if we have 2 receivers and 1 receiver system? If so what is the no. of receiver determinations in case of 1 receiver syst and 2 receiver systems?
    Plz clarify above questions  good answers will be definetly rewarded.
                                                                                    Regards,
                                                                                    Vinod.

    vinod,
    ... Sync-Async bridge and Recievr determination are not related....
    Sync-Async bridge means.. u r sending some request syncronously...and u r expecting the response also in synchronous way... but u r not getting the response  directly...u r getting it via BPM..i.e asynchornously.....
    see here what is the  Use of Synch - Asynch bridge in ccBPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    and here if u have 2 reciver... u have to create 2 receiver determination and ofcourse for BPM one reciver dtrmination is required.... since in BPM related scenario BPM will act as a reciver...BPM(IP) wil first recive the message then it will be forwarded to Receiver system!!! so total 3.
    <b>3.How we have to count no. of receiver determinations if we have 2 receivers and 1 receiver system? If so what is the no. of receiver determinations in case of 1 receiver syst and 2 receiver systems?</b>
    r u telling that u r having two recivers and each receiver is receiving messages using 2 interaces???
    u have 2 use 2 receiver determination and 4 interface determination.
    regards
    biplab

  • Sync / Async Bridge without BPM

    Hi All,
    I was trying to implement the Sync / Async Bridge without the BPM. I am trying a HTTP to JMS Sync / Async Bridge. I have followed the following link and done exactly the same as shown in the document
    http://help.sap.com/saphelp_nw04/helpdata/EN/45/20d2b4c20a0732e10000000a155369/content.htm
    I have used a Java application which will poll the request queue and then place the message in the response queue with the same correlation ID frm the request queue.
    After following the above link the response message was not appearing, the message were going to deilvering status and after some time i found that they were cancelled without errors
    I searched in the forums for many solutions but what i found was this thread which stated that since the XI message ID is 32 bytes and Correlation ID is only 24 bytes its difficult for Modules to identify the response since the correlation is truncated.
    JMS: Synch/Async bridge - how to configure
    I tried changing the configuration in the reciver JMS channel to XI Conversion ID instead of Message ID and this also doesnt give me fruitfull results. The message was not being placed in the request queue, it gave an error saying that the conversion id was null. Though in the thread it seems to have worked for him.
    After this i planned to dynamically generate a Correlation ID (a dummy one) of 24bytes and i sent it to the request queue this time the message was retrived from the response queue only to find that the correlation ID this time has been converted to some other format
    Corrletion ID sent to the request queue: ABCDEFGHIJKLMNOPQRSTUVWX
    Corrlation ID coming in the response queue : 4142434445464748494a4b4c4d4e4f505152535455565758
    Can anyone put some light on what i exactly need to do or tell me why the conversion ID worked for Daneil in the thread and it gave me an error saying that the Conversion id is null
    Rgds
    Aditya

    Hi Prateek,
    This is what was tried in my first case. I did exactly what was given in that link.But since the Message id being 32 bytes and length of correlation id is 24 bytes id is getting truncated.
    So its not working fine.
    @ke i am having a look at the note will update you on this
    Thanks for your response
    Rgds
    Aditya

  • . Why we use Sync-Async bridge? .

    Why we use Sync-Async bridge?

    Dear Manoj,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/c5633c3a892251e10000000a114084/content.htm
    A distinction is made between synchronous and asynchronous communication for both imported interfaces and message interfaces.  You define the mode of communication when you define an interface:
    ·        In the case of synchronous communication, a response message is expected from the receiver after a request has been sent. Once the request message has been sent, no further messages can be sent until the response to the request has arrived back at the sender system.
    ·        However, in asynchronous communication a (immediate) response is not expected. A sending process can send multiple messages to a receiver in a bundle and then continue executing the process.
    You would use Synch - Asynch Bridge to enable the communication between a synchronously calling business system (synchronous outbound interface) and an asynchronously called business system (asynchronous inbound and outbound interface), you can define a sync/async bridge in an integration process. You can only define one sync/async bridge for each integration process.
    Regards,
    Naveen.

  • BPM Design using sync-async  bridge

    Hi Arpit,
    Below mentioned is an overview of the process flow which we are trying to implement.
    1. A synchronous interface takes in the request
    2. After the mapping, a file is created
    3. Another file adapter reads this file and sends a message back to the sync interface. This step is to make sure that the file is created
    I'm using a sync-async bridge for this process, since file creation and reading processes are asynchronous and the request/response is synchronous.
    Can somebody help me by telling how to design the BPM. How many send and receive steps are required etc?
    Thanks,
    Sandeep
        | Request  |    |    |       |    |     |    |       |
        |--------->|    |    |       |    |     |    |File   |
    HTTP|          |Sync|--->|Mapping|--->|Async|--->|Adapter|
        |<---------|I/f |<-  |       |    |I/f  |    |(write)|
        | Response |    | |  |       |    |     |    |_______|
                          |                              |
                          |                              |
                          |                          ____|___
                          ||      |   |        |    |        |
                          -|Async |<--|File Adp|<---|Folder  |
                           | I/f  |   |(read)  |    |________|

    Hi
    <i>>>I have to map the incoming xml from HTTP to another format before creating the file.</i>
    Ya then u can use the transform Step in between the
    sync Recv ---> Transform ---> Send to File System
    <i>>>Once a file is read, that interface has to send an acknowledgement message telling the status.</i>
    Wht type of acknowledgement msg telling the status.
    I think u can add another element in ur created file payload like <b>Status</b>: Created (ConstanT)
    Then u can map the payload of the readed file with tis payload having Ststus init.Fo this u need a <b>Transformation</b> Step.
    BTW i was searching some previous blogs and i got this and it is bit related to ur scenario.Go thru this
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    Hope it helps.
    Regards
    Arpit Seth

  • Using WAIT step in Sync/Async Bridge

    I am using a sync/async bridge and placed a 1 minute wait step in between my async send and async reply.  When I test my process, the async reply comes in but then my 1 minute wait eventually times out and gives me an error.  Can someone guide me in fixing this BPM design (which steps to add and how)?
    http://webpages.charter.net/kpwendel/bpm_with_wait.jpg
    I would like it to stop waiting once the async reply comes in and not timeout.  If the 1 minute mark comes and a reply never came in, it would also be nice to send back an error message.
    Thanks!

    I pulled my WAIT task and had this scenario working a week ago.  I have not made any changes, but now my inbound replies to close the BPM and link up to the request are not "linking".  The request is eventually timing out even though the reply with a good correlation id comes in successfully.  Any suggestions?
    UPDATE:  I went through my objects in the IB:Config and resaved/activated them and now it is working.  Don't know what messed them up in the first place.
    Message was edited by: Keith Wendel

  • 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

  • Need help with scenario BPM Http-RFC Sync/async bridge

    hi all!
    i've got the following scenario: HTTP-BPM(XI)-RFC synchronous both of them. for that, i'm using S/A bridge in the BPM, but i'm getting the error 'Timeout condition of pipeline reached'. i think the problem is that the process gets lost in the sync/async communication, because in the trace level shows CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV" and after that every message are 'wait time starting'.
    don't know the reason of the error. Maybe I missed something to configure?
    the BPM is like this:
    Receiver(Open Sync/Async bridge) -> Transformation (mapping from http request to RFC request) -> SyncSend (RFC request and response) -> Transformation (mapping from rfc response to http response) -> Send (Close S/A Bridge)
    the IR is configured like this:
    Message Types u2013 External Definitions u2013 Imported Objects
    mt_cxml_request -> contains xsd of xcml request template.
    mt_cxml_response -> contains xsd of xcml response template.
    zintegracion_pedidos -> imported RFC from R/3
    zintegracion_pedidos.response -> imported RFC from R/3
    Message Interfaces
    mi_cxml_request_async_abs
    mi_cxml_request_sync_abs
    mi_cxml_request_sync_out
    mi_xcml_response_async
    mi_rfc_request_asyn_abs
    mi_rfc_request_sync_abs
    mi_rfc_request_sync_in
    mi_rfc_response_async_abs
    Message Mappings
    mm_cxml_request_to_rfc_request -> mapping from http request (cxml) to rfc request.
    mm_rfc_response_to_cxml_response -> mapping from rfc response to http response (cxml).
    Interface Mappings
    im_cxml_request_async_abs_to_rfc_request_async_abs
    im_rfc_response_async_abs_to_cxml_response_async_abs
    and the ID is configured like this:
    Business system DES -> created business system for RFC adapter with interface mi_rfc_request_sync_in as receiver. Comunication channel u2018RFC Receiveru2019
    Businnes service VW -> created businnes service for HTTP adapter with interface mi_cxml_request_sync_out as sender. Comunication channel u2018HTTP Senderu2019
    Receiver Determination
    two receiver determinations. One for BPM and the other one for RFC(R/3):
    |VW| mi_cxml_request_sync_out:
    |BPM_PO| mi_rfc_request_sync_abs:
    Interface Determination
    two interface determinations:
    |VW| mi_cxml_request_sync_out | | BPM_PO:
    |BPM_PO| mi_rfc_request_sync_abs | * | * :
    Sender Agreement
    VW
    mi_cxml_request_sync_out
    Receiver Agreement
    |BPM_PO| |DES| mi_rfc_request_sync_in

    hi all,
    i've removed the transformations from the BPM, and i've created:
    in IR:
    - interface mapping: im_xcml_request_to_rfc_request_sync_abs
                                    source interface: mi_cxml_request-sync_abs
                                    target interface: mi_rfc_request_sync_abs
    in ID:
    - receiver determination: |VW| mi_cxml_request_sync_abs
                                      sender service: VW
                                      interface: mi_cxml_request_sync_abs
                                      receiver: DES
                                      interface mapping:im_xcml_request_to_rfc_request_sync_abs
    - interface determination: |VW| mi_cxml_erquest_sync_abs ||
                                         sender service: VW
                                         interface: mi_cxml_request_sync_abs
                                         inbound interface: mi_rfc_request_sync_abs
                                         interface mapping: im_xcml_request_to_rfc_request_sync_abs
    - receiver agreement: |VW| |DES| mi_rfc_request_sync_abs
                                   sender service: VW
                                   receiver service: DES
                                   receiver interface: mi_rfc_request_sync_abs
    not sure these are the steps i had to do for mapping xml to rfc. but the result is the same error as before, the timeout.
    i couldn't test with RTW because i'm getting an error 401 unauthorized.
    i'd do it without BPM but the issue is that i wanted to add another step that would be to send the response from rfc to mail too once i got this BPM running. i mean, the response from RFC would be sent to http response and mail both.
    the only way i can imagine to do it is with BPM but i'm really fed up with it.
    thank u very much folks

  • Async-Sync-Async Bridge Without BPM

    HI Folks,
    I have a requirement as
    u201CAn Asynchronous SOAP request is triggered to PI and then should get records from a (JDBC)database and write the result to a fileu201D
    It is of Aync-Sync-Async Bridge and i have to do without BPM
    I know by using some module parameters at sender communication channel we can do this.
    But my query
    1)Is that for SOAP sender communication channel can we provide the same module parameters
    Number - ModuleName - Type - ModuleKey
    1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
    2- CallSapAdapter-Local Enterprise Bean - 2
    3-AF_Modules/ResponseOnewayBean-3
    Parameters
    ModuleKey - ParameterName - ParameterValue
    1 - passThrough - true
    3-receiverChannel - Receiver File Adapter Name
    3-receiverService - Receiver Business Service/ System
    2) Does the SOAP support the without BPM scenarios
    3)Scenario is like Soap --> JDBC -->File (Async - Sync - Async) and how abt for Soap --> RFC -->File (Async - Sync - Async)
    Thanks in Advance
    Lemon

    For your requirement , you can handle this scenario without BPM in two ways.
    1) Async sync bridge without BPM.   You are going to use request response bean and one way response bean module to achieve this. very simple. See this [link|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
    In the sender SOAP channel you have to configure first request response bean, second callsapadapter and third onewayresponse bean. Refer this link. Simply follow file sender configuration for your soap sender or RFC sender.
    Note: one receiver agreement , one receiver determination, one interface determination. only two receiver channels one jdbc and one file.
    2) You can create SOAP  to File asynchronous.  Using quality of service  EO and creating service interface asynchronous mode.   In the mapping area do JDBC lookup.  If your version is 7.1 then this lookup is available. This is pretty simple no need to do async to sync pattern.
    Hope that helps.

  • Use of sync async bridge for webservices

    Hi ,
    We have a scenario where we need to send a data from ERP system to PI via webservice. PI communicates with a third party system via webservice.
    The data can be posted to this third party system using webservices. The third party system then reads some data asynchronosly and sends the data to PI . We need this data to be sent to the synchronous webservice from ERP system.
    Can we use the sync async bridge for this scenario. Some details on how we can do this will be very helpful..
    Thanks
    Bharathwaj

    Hi Abhishek,
    Thanks for the immediate reply.
    The scenario is 
    ERP <---WS/SOAP--->PI -----WS /SOAP of 3rd party---> 3rd Party system (X).
                                                       PI  <------- WS of PI
                X posts the data to a backend. THe system X then picks some processed information. This system is not capable of sending the response synchronosly. It can post this data to PI once the data is available. Now PI needs to take this data and post it to the WS request from ERP.
    Hope I have provided some clarity on the scenarion..
    Thanks again.
    Bharathwaj
    Edited by: Bharathwaj on Aug 11, 2009 4:59 PM

  • SOAP to JMS using Sync/Async bridge - configuration confirmation needed

    Hi group,
    Since I'm experincing error in a scenario using sync/async bridge in jms adapter I really would like a confirmation on my configuration.
    For a simple SOAP to JMS scenario is it then correct that all I need is;
    1) 2 synchronous message interfaces, 1 inbound and 1 outbound
    2) 1 Receiver determination
    3) 1 Interface determination
    4) 1 Receiver agreement (JMS adapter with module configuration)
    5) 2 Sender agreements (in my case 1 soap and 1 JMS adapter - the later with module configuration).
    6) The sender and receiver JMS adapters point to different MQ queues (request and response queues)
    7) The sender agreement for the JMS adapter uses my synchronous, inbound message interface (isn't this really just a "dummy" to actually fetch data from response queue - meaning that the actual utilized business system/service, MI and namespace are unimportant, since the module will make the adapter notify the listening module in the receiver JMS adapter?)
    Best Regards,
    Daniel

    Hi, thanks for your reply.
    I'm familiar with the links provided. I believe everything is configured as it should be, but since I get error I would like to have my configuration confirmed. Neither the weblog (or SAP guide) are detailed enough to convince me 100% that my configuration is correct. Surely the problem could be on the MQ side, but before going into that, I want to be sure that its not on XI-side.
    So I really would like confirmation on the steps/question that I wrote:-)
    Best Regards,
    Daniel

  • Sync/Async brdige error in BPM

    Hi,
       I am working on RFC-TO-Webservice scenario(Synchronous) and I am using the BPM in this scenario.
    In BPM just I have used 2 steps.
    Receive - Opened Sync/Async bridge
    Send - Synchrouns step
    Send - Cloase the Receive step
    Send - Asynchrous send step (to send the response to the file...).
    When I sent my RFC message from R/3 I am getting following error.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Timeout condition of pipeline reached</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I am using PI 7.0 SP13 is why I am not able to receive the Sync message in BPM...I have created the abstract interface based on RFC...getting the first message itself Timeout error.
    I am trying to use Sync/Asnc bridge in BPM. First message itself PL_TIMEOUT error..bpm is not able to receive my rfc request...
    I need help on this...do I need to do any settings in WEBAS level..I did Timeout setting in SXMB_ADM.
    Regards,
    Venu.

    hi,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    check this blog..and same thing I did in my scenario
    my scenario is RFC-TO-Webservice.
      Sync/Async bridge can't we use like this ...Receiver step(open sync/async)-> Send(Synchronous)-Send(Close sync bridge)....that way can't we use ...
    I am not able to receive the RFC request itself inside my BPM first step...getting the Timeout error.
    But when I use the RECEIVE STEP with Asynchronous mode..I am able to receive the message inside my bpm.Incase of Synchronous I am not able to receive the message..
    I am working PI 7.0 and SP13..did any body worked this version...
    Thanks,
    venu.

  • REG : SYNC/ASYNC bridge

    Hi all,
                 I have a scenario where my sender is a syncronus and receiver is asyncronus. I have used sync/async bridge in BPM to acheive this.But when i send the input data from runtime workbench with QOS as BEST EFFORT i  got the following error " Error While sending the message". When checked in moni, the data has sucessfully sent to the receiver and in the BPM flow is failing at the last step (ie SEND step which sents syncronus respose and which ends the bridge)
    The steps i used in BPM are
    RECEIVE(start of sync/async bridge)--> SEND(which sends data to receiver)--
    >SEND(which ends the sync/asynbridge) The response that i send is same which i receive(input data) , so i didnot use any  step for response .
    I ran the wizard for 2 times :
    1) from my source to BPM in which is syncronus.
    2)from BPM to receiver which is asyncronus.
    Can anyone please provide me solution for the above problem.

    Hi Srinivas,
    In BPM second step,
    Send step it would configure the properties as a " Synchronous". then only response back to the sender.
    Regards,
    sateesh

  • RFC Sender to start Sync/Async Bridge

    Hi,
    I'm trying to start a Sync/Async Bridge calling RFC. When importing RFC into Integration Repository, by default it creates two Message Type for request and response (RFCNAME and RFCNAME.response).
    My scenario is configured as follows:
    <b><u>Integration Repository</u></b>
    The starting step in BPM is configured with an abstract synchronous interface (output message is RFCNAME and input message is RFCNAME.response).
    <b><u>Integration Directory</u></b>
    <u>Sender Agreement</u>: sender service is R3 business system (from SLD), interface is the RFC program name (not an interface).
    <u>Receiver determination</u>: sender service is the R3 business system, the interface is RFC program name, an as configured receiver the BPM.
    <u>Interface determination</u>: In the configured inbound interface for the receiver (BPM) I configure the abstract synchronous interface
    My problem is that when calling the RFC, the outbound message is received into XI but does not reach BPM: NO_RECEIVER_CASE_ASYNC. Can you help me please?
    Thank you,
    Gari.
    (Sorry for my english!!!)

    Of course it is possible. Some considerations, though:
    1. you said that receive/send steps of BPM are configured with RFC and RFC.Response messages. However, by default, the RFC interface cant be used as Abstract Async. You have to explicitely create those abstract async interfaces. Have you done that?
    2. What extra steps do you have in BPM? I mean, you dont need to create abstract interfaces based on message type of RFC. If you have the message type of your receiver, you can perform mapping outside of BPM, and all abstract async interfaces could be done refering to the receiver message types.
    Regards,
    Henrique.

  • Sync/Async Bridge without Asynchronous Send / Receive Steps

    Hello together,
    we have a synchronous HTTP <--> RFC Scenario using a sync/async Bridge in BPM with the following characteristics:
    1. HTTP Payload is received (opens Sync/Async bridge)
    2.  lookup is done in an LDAP System (we use an UDF here)
    3. Customzied JCo is called which takes the XML String as input parameter (done by Java Mapping)
    4. Return Value of JCo then is delivered back to HTTP Client (closes Sync/Async Bridge)
    --> No RFC Adapter is used here as the provided JCo does all the parsing
    When testing the sync/async bridge is started but we receive an timeout after 30 sec.
    Could it be that the sync/async required exactly a pair of async send and receive steps (which we do not have in our scenario and which we do not need)?
    This would be a problem, as we have to use BPM in this synchronous scenario. Do you have any idea?
    Thank you very much for your help.

    Thank you for your reply, but I think you misunderstood me. Please let me try to clarify once more:
    1. Synchronous HTTP Sender Interface (Request/Response) opens Sync/Async Bridge
    2. LDAP Lookup is done by UDF using the Request Message in Transformation Step
    3. Switch is done based on result of Lookup
    4. Branch 1 in switch calls customized JCo with Java Mapping in Transformation Step (Request Message as input, Response message as output)
    5. Response message (delivered from JCo Call) should close the Async/Sync Bridge and be send back to HTTP Sender
    --> We have no async send / receive steps in this scenario.
    The customized Jco has been provided by an external partner as there is lots of parsing logic implemented. So we want to connect to the backend SAP system using this JCo and not via a  send step.
    My key qestion is therefore: Is it absolutely necessary to use exactly a pair of async send / receive steps in a sync/async bridge?
    In this case we have to look for another design concept without BPM which would make the solution very difficult I think....

Maybe you are looking for