Synchronous / Asynchronous Interface

I am kinda confused about Synchronous interface/asynchronous.. When we talk about synchronous are we talking synchronous for the entire interface (From Sender system to XI to Receiver system) or we are just referring to Connection with XI system?
If somebody can explain a classic synchronous and asynchronous scenario with a good example, I would really appreciate it..

> I am kinda confused about Synchronous
> interface/asynchronous.. When we talk about
> synchronous are we talking synchronous for the entire
> interface (From Sender system to XI to Receiver
> system) or we are just referring to Connection with
> XI system?
XI decouples the sender and receiver of messages through interfaces. So, if the interface for the sender (called outbound interface) is synchronous, the sender is blocking on the request and the sender expects a response from XI synchronously.
Consider
System A -> XI -> System B
If A's interface in XI is synchronous, then XI has to send a response to A synchronously. However XI may have an asynchronous interface with B. i.e. XI may post a message to B and may not expect a response from B. But A will not care what kind of processing happened between and B as long as A got a response back.

Similar Messages

  • Synchronous - asynchronous interface (RFC - XI - jdbc)

    hello to everybody!
    i want configure a synchronous - asynchronous interface (RFC - PI - jdbc) whit my PI 7.1
    This RFC send 2 output tables to PI/XI and i want write it into 2 different tables in a SQL Server Database.
    How can i do it?
    i tried whit one mapping to a unique outbound datatype...but only header table was insert and not rows.
    i tried whit 2 Receiver Interfaces but i have on mapping the follow error:
    Multiple inbound interfaces not supported for synchronous calls
    so??
    other possibility?
    BPM?
    please help me
    Thanks
    Alessandro

    Hi,
    I have a similar problem; I have JMS - PI - RFC synchronous scenario. I will receive message from JMS, and depending on the data received, I should call either of two RFCs (NOT BOTH). The BAPI return message should then be sent back to JMS.
    Hence, I have one "Sender/Outbound" Message Interface, one receiver determination for that Message Interface - in which there is "one" receiver (backend SAP system).
    In "Interface Determination", I specifed the two BAPIs as two Interfaces, and defined conditions based on "context objects" - since I need to know the Interface Mapping "dynamically"
    However, I get the error - "Multiple inbound interfaces not supported for synchronous calls ". any suggestions on how to proceed?
    I am posting this question here as it is a related issue. Hope it is fine.
    Thanks,
    Archana

  • Synchronous-Asynchronous Interface with Java Proxy

    Hi Gurus!!
    I have an Interface which begins on SAP with a call to an asynchronous ABAP Proxy . Xi sends the message to Java Proxy Server. This Java Proxy Server calls to a Java Proxy Client that sends the response to SAP through XI. This response is taken on SAP on ABAP Proxy Inbound.
    These arquitechture is a requirement, because the time between the request and the response could be 30 minutes and the user shouldn't be waiting the response synchronously.
    Is there any way to the user could manage the response in the same "thread" that he opened in the request?
    I hope have been clear enough.
    Thanks and regards,
    Manuel Míguez.

    The only possibility I could think of is using correlation. There also you have the limitation of java proxy as it does not support adapter modules. Could you use SOAP for your scenario?
    JMS receiver could use inherent properties to define correlations. But as your case is non-JMS, you have to define it manually. Say, if your receiver system is X, then the request from XI to system X should carry its message ID information. While X created the response message, it should use this message ID as the correlation ID for the response message. This could be achieved using an adapter module.
    I guess you were not looking for such a complex solution.
    Regards,
    Prateek

  • Asynchronous Interfaces treated as Synchronous one?

    Hi eXperts,
    I'm now having a weird problem on an Asynchronous inbound interface in a SOAP-XI-R/3 scenario.
    When data coming through XI into R/3, the proxy is called, and works fine. But after the proxy call, a short dump happens in CL_PROXY_FRAMEWORK->XI_PROCESS_PAYLOAD saying the payload is 'null'. Since this is an Asynchronous interface, the payload would certainly be 'null' after the proxy call. So the problem is why this method even be called after the proxy?
    I checked the stack and found that CALL_PIPELINE_SYNC is used instead of CALL_PIPELINE_ASYNC, and I believe this might be the problem: SAP is treating this as an syschronous interface. However after checking settings in IR, both inbound and outbound interfaces are asynchronous.
    Has someone met this before? Does anybody know why SAP is treating an asynchronous interface as a synchronous one?
    Thanks in advance for your help.
    Regards
    Luis

    Hi,
    Did you check sender SOAP Adapter configuration ? What is the quality of service you mentioned ? it should be EO in your case.. check out this..
    also check is this proxy method is giving back the response.. check SXMB_MONI->Trace..
    Hope this helps,
    Regards,
    Moorthy

  • Using Enhanced Receiver Determination with a Synchronous Service Interface

    Hi Experts,
    I want to use ERD on a Synchronous Interface. Is that possible? Perhaps it has no sense, because in an ERD you can choice multiple receivers and that its against the synchronous philosophy: what if you declare 2 or more receivers, from wich one has the right response to be taken?
    In technical terms I build the operation mapping as it is written both in the blog (/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16) and the SAP HELP.
    But in my OM I have as source service interface one Abstract Synchronous and in the target I have one Abstract Asynchronous wich is not possible. So I tried many tricks like creating my own synchronous ReceiverDetermination Service Interface in my SWC, but it is not detected. Other trick will be modifying the standart SI, but it will affect the next guy trying to use ERD with an Asynchronous interface
    The point its that it is a little funny that the receiver determination allows using ERD with a synchronous SI wich makes me think that it will be possible...
    Is it possible to use ERD with a Synchronous Interface?
    Regards
    Gonzalo

    i have seen Enhanced RD with lookups that work. Have to say it was not a RFC lookup used but rather a DB look in one of the implementations i had worked with. But still I really dont think a RFC lookup should be an issue.
    Troubleshoot the lookup mapping to be working other than in the enhanced RD (i.e independently) .
    if you head no where, i suggest opening a OSS note.

  • How can i refer Synchronous Abstract Interface as a container var

    Hi All,
       Why A(an) "<u>synchronous</u>" Abstract interface can not be referred as a Container variable in the BPM?
    Thank you
    Ganges Leaves
    Message was edited by: Ganges Leaves

    Hi,
    BPM containers will hold one message. If you want to hold multiple messages you need to make it multiline.But it works like an Array. So you can't have multiple message types with one container.
    Just have a look at this blog-
    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] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    /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 this helps,
    Moorthy

  • Synchronous Service Interfaces

    Dear All,
    I am getting a some strange issue when transported the Synchronous Service Interface from Dev to Quality system ,the interface automatically has changed to Asynchronous Service interface.
    I saw some issue on Production system also when transported.
    Can you please give me some hints on this?
    Thank you very much.
    Best Regards,
    Sateesh

    Hi Sateesh,
    I can say activated object cache may be having asynchronous interface. When you transported that object might have transported to Qal and Prod.
    Lets see other experts comments who has faced this kind problem.
    Regards,
    Krupa

  • Server proxy implementation with synchronous inbound interface

    <b>Hi all,</b>
        How we can implement a server proxy with synchronous inbound interface.If any example weblog please send the link.
    <b>thanks,
    Kishan.</b>

    Hi,
    For sync interface. You have to have a sync MI with both request and response message type.
    when you generate a proxy for the same , you will get a method called execute_synchronous, and import and export parameter.
    You don't have explicitly identify anywhere that the interface is sync.
    Regards
    Vijaya

  • Developing AIF Inbound Synchronous Proxy interface

    Hello! I'm trying to develop simple AIF Inbound Synchronous Proxy interface, but there is absolutely no information about it. Cookbook just covers async interfaces.
    So, I just have Inbound sync ABAP-Proxy. I developed inbound AIF interface, entered the inbound proxy class. My interface is working, FM in Action is calling and works correctly.
    But, I have two problems:
    1) I don't understand, how should I get back a response to the Proxy?
    2) I can't see a payload of my interface in AIF Monitoring.
    SP level of AIF is 04.
    Thank you in advance.

    1) I don't understand, how should I get back a response to the Proxy?
    I really want to know how did you implement in you proxy class. In general, if you call /aif/cl_enabler_proxy=>process_message, this doesn't support your synchronous interface.
    My idea is, in proxy class, you could call  CALL FUNCTION '/AIF/FILE_PROCESS_DATA' to process your input request and add you own coding to get back a response or another function module   /AIF/FILE_TRANSFORM_DATA to transform your own SAP data to your response data structure(This need you to define another outbound interface and mapping).
    Brecht is right, this is similar to his outbound synchronous interface.
    You could refer to function module /AIF/SEND_WITH_PROXY.  This function module is designed to support synchronous outbound interface
    2) I can't see a payload of my interface in AIF Monitoring.
    If you want to see input and output structure in Error Handling, I think you need to use XML persistency engine to save your own payload and save this payload via class   /aif/cl_persist_engine_xml method  /aif/if_persistency_engine~update.
    This also could be found in  function module /AIF/SEND_WITH_PROXY for example.
    Best Regards,
    Eric.

  • Wat is synchronous, asynchronous & local mode of update in BDC plz help

    wat is synchronous, asynchronous & local mode of update in BDC .
    plz explain each of them

    A Asynchronous updating. In this mode, the called transaction does not wait for any updates it produces to be completed( does not wait till the update in database is complete either it is successful or un successful). It simply passes the updates to the SAP update service. Asynchronous processing therefore usually results in faster execution of your data transfer program.
    Asynchronous processing is NOT recommended for processing any larger amount of data. This is because the called transaction receives no completion message from the update module in asynchronous updating. The calling data transfer program, in turn, cannot determine whether a called transaction ended with a successful update of the database or not.
    If you use asynchronous updating, then you will need to use the update management facility (Transaction SM12) to check whether updates have been terminated abnormally during session processing. Error analysis and recovery is less convenient than with synchronous updating.
    S Synchronous updating. In this mode, the called transaction waits for any updates that it produces to be completed. Execution is slower than with asynchronous updating because called transactions wait for updating to be completed. However, the called transaction is able to return any update error message that occurs to your program. It is much easier for you to analyze and recover from errors.
    L Local updating. If you update data locally, the update of the database will not be processed in a separate process, but in the process of the calling program. (See the ABAP keyword documentation on SET UPDATE TASK LOCAL for more information.)
    reward if it is helpful..
    sai ramesh.

  • Difference between BATCH & RUNTIME ,SYNCHRONOUS & ASYNCHRONOUS

    REPORT_EXECUTION_MODE has two values BATCH & RUNTIME.
    what is the difference ? pls expalin in detail
    REPORT_COMM_MODE has two values SYNCHRONOUS & ASYNCHRONOUS
    what is the difference ? pls expalin in detail
    Thanks in advance

    Tony is right.
    Anyway
    Forms applications calling a report synchronously make the user wait while the
    report is processed on the server.
    For long-running Reports, it is best that you run the report asynchronously by
    setting the REPORT_COMM_MODE property to asynchronous and the
    REPORT_EXECUTION_ MODE to batch:
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);Regards

  • Is Function Activity execution synchronous/asynchronous?

    Hi,
    I would like to know the mode of execution of Function activity, that is whether it is synchronous/asynchronous?
    Suppose if I have 2 activities in a process, one is of type PL/SQL and another is of type External Java. When I start the process from a java program, when will the calling program get the control back? will the exceution of each activity is synchronous or asynchronous?
    thanks in advance
    Regards
    honnur

    Thanx for the reply.
    I find that if the function activity is of type PL/SQL then the calling function(WF Engine) waits till the PL/SQL procedure/function exection is complete. But if the function activity is of type External Java then the calling function(WF Engine) does not wait until the Java function execution is complete. In this case, when External Java Agent finishes the function excution, we have to explicitely invoke background process to complete that activity.
    So the Java function activity execution is asynchronous from calling function perspective.
    is my understanding right??
    TIA
    honnur

  • Difference between Synchronous & ASynchronous.

    Hi All,
    I few queries:
    1) Difference between Synchronous & ASynchronous communication?
    2) How should we decide whether it is a Sync or Async scenario?
    Regards,
    Sreedhar.

    Hi Sreedhar,
      Apart from the points already added by experts, i would like to add something.....
      Synchronous Communication:
    In synchronous communication, thereu2019s nothing like scheduling. Sender application executes a u2018singleu2019 Function call, receiver system immediately processes this function call dispatching the response to sender and then it performs implicit database commit.
    However this communication is based on assumption that receiver system is available when function call is made. If this is not the case, the communication is seriously disrupted.
    Asynchronous Communication:
    Here receiver system is not necessarily required to be active at the time of function call. Instead, the call is placed in outbound queue of the sender system and then this call is repeated at regular intervals until receiver system processes the call.
    Also Error handling in Synchronous communication: error messages sent back to sender. In Asynchronous communication: errors made persistent.
    So conclusion: Queues play central role in asynchronous communication. Further in asynchronous communication, the calls can be executed either by tRFC (Transactional RFC) or qRFC (Queue RFC).
    If business requirement is such that your sender system need to know the successful posting of message in the receiver system then approach for synch communication else asynch communication.
    Regds,
    Pinangshuk.

  • Synchronous message interface processes as Asynchronous

    I have a message interface define as Outbound - Synchronous. But when it processes it shows it being an Asynchronous message. My response message mapping never executes.
    Thanks,
    Jim

    Priyanka,
    Here is the situation. This process works in XI 2.0 and I am trying to convert it to XI 3.0 The message interface is defined as outbound-synchronous. This automatically forces me to define the Output message and the input message. Because of this definition, the message mapping allows me to define the request message mapping and the response message mapping.
    Basically the scenario is I receive an XML file that is mapped to an RFC that is sent to SAP R/3. This RFC creates a sales order.
    When the scenario is executed, the request message mapping executes because the sales order is created in R/3. However the response message mapping never seems to executes.
    The message interface is defined as Synchronous, but it shows in the message monitor as Asynchronous.
    So I do not understand your question about "Do I have a corresponding inbound sync message interface".
    The fact that the message interface is marked as synchronous and it has the output and input message types defined, I would have to say that this is the corresponding inbound message interface. This is how I have defined it in XI 2.0 and it works. Is there something different with XI 3.0 that maybe I am missing?
    Thanks,
    Jim

  • JMS Ack for Asynchronous interface

    Hi Experts
    Here My Interface is Proxy to PI to JMS (MQ) asynchronous.
    Once message is processed asynchronously MQ will send the Acknowledgement to PI with different Queue. Then PI need to pick this with sender JMS adapter.. is this approach will work?
    IF it I it worku2019s Please let me know the steps. Here I donu2019t want to use the BPM.
    Thank you
    Srini

    Dear Srinivasreddy
    As you mentiuoned this is an Asyncronous communication, then what are you going to do with response.
    Is your proxy expecting a response?
    In that case you should create a Synchronous interface and not an Asynchronous one.
    Please clarify
    Sourabh

Maybe you are looking for

  • New iPod Touch 64GB not syncing photos

    Hi, I am really excited to have have just bought my 2nd iPod (ran out of space on my older, 2nd Gen, 16GB iPod). This one is a 3rd Gen 64GB iPod. I have spent a ton of hrs transferring all my music, movies, contacts, fave sites and links, Kindle and

  • My iMessage does not recognize my phone number under "send and receive"

    I had to restore my iphone and now it is unable to connect to iMessage. It says "waiting for activation" and then it will fail. Under send and receive, my phone number appears to be clicked on, but does not have the check mark next to it.

  • Optical audio in Lion switches off after 30 seconds

    I have a new iMac 27" Computer purchased November 2010 with Snow Leopard on. I have upgraded to Lion OS the day it came out. When I started using it, I noticed that the Optical steam (red beam) would switch off after roughly 30 seconds. I researched

  • My iTunes is disabled

    I have 2 iPod shuffles, iPod, 1 iPad 2, iPhone 4S and just added the iPad 4 to my iTunes account.  It is now saying my iTunes account is disabled.  I can't update any of my apps or add new music.  I have deleted my password and created a new one.  I

  • Can i use crystal reports standard to query ODBC datasources

    Post Author: Andy Forrest CA Forum: Data Connectivity and SQL Dear all, I'm struggling to identify if i can use crystal reports standard to query ODBC data-sources, the only information i can find is the following :- An intuitive solution that provid