Synchronous & Asynchronous BAPI

Hi,
I understand the basic difference between Sync & Async BAPIs that the client waits for the response in case of Synchronous BAPI.
But I would really appreciate if anybody can give me little more details as to how it is implemented or probably point me to a link where I could find more info.
Thanks,
Ritu

Hello Ritu,
Check the following :
http://help.sap.com/saphelp_47x200/helpdata/en/78/2173f551ce11d189570000e829fbbd/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/78/21741c51ce11d189570000e829fbbd/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/78/21743651ce11d189570000e829fbbd/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/78/21744351ce11d189570000e829fbbd/frameset.htm
Regards,
Homiar.

Similar Messages

  • Synchronous and Asynchronous BAPI

    Hi All,
    Like BDC do we have any options to update the database using BAPI synchronously or asynchronously? In BAPI which approach do we go for and is there a way that we can specify these update modes in BAPI like call transaction.
    Please help.
    Regards,
    MD.

    Hi
    Synchronous BAPIs
    Synchronous BAPIs are generally used to read data from a remote logical system, for example to display a customer list.
    Before calling the BAPI, it is therefore necessary to determine the RFC destination of the remote system or the BAPI server. The application developer has access to an API for determining the RFC destination of the BAPI.
    Asynchronous BAPIs
    Asynchronous BAPIs are generally used for replicating data on one or more logical systems, for example to distribute article master data.
    To implement an asynchronous data transfer with a BAPI, an ALE IDoc interface must be generated. This interface controls all of the data communication between logical systems using IDoc technology. The application then calls the generated ALE IDoc interface locally instead of the BAPIs.
    As with synchronous BAPIs, the corresponding logical systems of the BAPI must be determined before you call the ALE-IDoc interface. These are transferred to the ALE-IDoc interface as input parameters.
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/ccb4cb808311d396b40004ac96334b/frameset.htm
    With Regards
    Nikunj Shah
    Edited by: Nikunj Shah on Jul 14, 2008 1:26 PM

  • 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

  • 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-asynchronous PI in WD-ABAP

    Hi
    I am new to PI in WD ABAP . Any pointers regarding synchronous and asynchronous PI would be appreciable .

    In regards to calling proxy objects, anything you can do from standard ABAP coding in normal program can also be done in Web Dynpro ABAP.   Nothing really WDA specific here.  We do have a special service call wizard for proxies, but everything it does can be coded manually as well.
    Here is a video where we sho synchronous and asynchronous processing in PI 7.1 along with how to use these proxies in Web Dynpro ABAP:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/20eb3174-41ab-2a10-a383-907faf60eed3

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

  • 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

  • Diff between synchronous & asynchronous updates of database with call trans

    Hi Everyone,
               I want to know the difference how synchronous and asynchronous
    database update in call transaction method.
    thanks

    Hi,
    In batch session interface: - Asynchronous processing means Transfers data for multiple transactions - Synchronous database update means during processing, no transaction is started until the previous transaction has been written to the database.
    In CALL TRANSACTION: - Synchronous processing means Transfers data for a single transaction. Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Difference between Synchronous and Asynchronous processing?
    Re: synchronous........
    Suggest you to Search in <b>SDN with key - Synchronous or asynchronous .</b>
    Will get few more useful related Posts.
    Reward points if this Helps.
    Manish

  • Syntax of synchronous & Asynchronous

    Hi all,
    Plz tell me syntax of Synchronous and Asynchronous in Dialog program..
    Thanks
    Venkat

    Hi you call function modules Asynchronous by using the following syntax.
    Asynchronous
    CALL FUNCTION 'RFC_SYSTEM_INFO'
           STARTING NEW TASK TASKNAME DESTINATION IN GROUP.
    Synchronous
    CALL FUNCTION 'RFC_SYSTEM_INFO'.
    Regards,
    Wasim Ahmed

  • Synchronous asynchronous update

    what is difference between synch and asynch update???
    how it affects database update???

    hi,
    For Update you have
    A - asynchronus - does not wait for next update in the queue
    S - Synchronus - waits until the previous update is completed before a new request is considered
    L - Local update - Uses a different work process to trigger call function in update task.
    In synchronus method until one record process takes place into database next record will not be processed.
    In asynchronus immedate updation of data into database table.
    Check this link for more detailed information:
    http://fuller.mit.edu/tech/sync_asynchronous.html
    'A', 'S' and 'L' are the update modes in CALL transaction method.
    I will give you a simple example to explain this.
    Suppose that there are 30 records in total and an error has occured in the 5th record.
    In asynchronous, update is done for every 30 records while in synchronous one,
    update is done only upto the 4th record.
    So only after the record in the fifth one is eliminated, remaining others are processed.
    Have a look at this URL from SAP Help:
    http://help.sap.com/saphelp_46c/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/frameset.htm
    Regards
    Reshma

  • Synchronous & asynchronous ---- very urgent

    Could any one answer my question.What is the difference between 1.Asynchronous and synchronous process.
    2.Asynchronous and synchronous database update.
    3. Asynchronous and synchronous method
    Thanks & Regards
    sai

    Asynchronous Update – The program does not wait for the work process to finish the update. Commit Work.
    Synchronous Update – The program wait for the work process to finish the update. Commit Work and Wait.
    Check this link for more details.
    http://fuller.mit.edu/tech/sync_asynchronous.html
    Regards,
    Maha

  • URGENT :Synchronous & Asynchronous communication

    Hi,
         can anyone tell me what is the exact meaning of asynchronous & synchronous communication in sap SRM. SEND me answers with examples to my mail id.
    with kind regards,
    srinivas.g

    Hi,
    Everything is explained here :
    /thread/127699 [original link is broken]
    Kind regards,
    Yann

Maybe you are looking for

  • How do I determine what the default font for equations is?

    In the Equation Fonts dialog box, we can set the font of Functions, Numbers, Strings, and Variables.  In those dropdown lists, there is a Default (para) Font choice.  How do I determine what font that is?  What paragraph tag is associated with an equ

  • Which is better when temporarily not using Mac - 'screensaver' or 'sleep'?

    I manually invoke a screensaver when I won't be using my MacBook for a while (up to an hour or two) -- instead of putting it to sleep. When I come back to use the computer again, with rare exceptions the hard drive doesn't rev up as it does when I re

  • Adobe Flash (newest download) will not open facebook messages.

    I am using the newest version of Adobe Flash on Windows 7 with Internet Explorer 10. When I try to open my messages on facebook all I receive is a blank screen. If I remove Adobe Flash from my computer I can view my messages. Is there a fix for this,

  • Benefit of DNG Lossy?

    I just watched a free tutorial (well, several!) on Lynda.com regarding LR4 new DNG Fast and Lossy. I understand that the Lossy DNG retains more information versus a jpeg.  But if most of the world is using jpeg - exporting a Raw to Lossy will just fi

  • Configuration of SAP Organization Charting Interface.

    Hi Gurus, Can any one guide me how to configure SAP Organization Charting Interface using ABAP Webdynpro. Regs, Brahma