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

Similar Messages

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

  • 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

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

  • Synchronous - Asynchronous

    pls clear the following confusion:
    in BDC terminology:  is it correct that--
    synchronous means - the present call is not processed until the previous one is processed. Asynchronous is opposite to this.
    in case of database update, what does they mean?
    In case of RFC, what does these two terms mean?

    hi,
    synchronous mode
    In synchronous update, you do not submit an update request using CALL FUNCTION... IN UPDATE TASK. Instead, you use the ABAP statement COMMIT WORK AND WAIT. When the update is finished, control passes back to the program. Synchronous update works in the same way as bundling update requests in a subroutine (PERFORM ON COMMIT). This kind of update is useful when you want to use both asynchronous and synchronous processing without having to program the bundles in two separate ways.
    Asynchronous mode
    A typical SAP system installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. If, in a dialog work process, the function modules stored in interim storage through CALL FUNCTION ... IN UPDATE TASK are released for processing by means of the ABAP statement COMMIT WORK, the dialog work process will not wait for the update process to finish. This kind of update is called asynchronous update.
    or
    check this link.................
    syn -asynchronous
    hope this may help you......
    regards,
    praveena.

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

  • 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

  • Synchronous/Asynchronous BPEL  Correlation

    Is this possible?
    When a message has to correlate with a BPEL process in a clustered environment of 2 nodes where both of them are active/active and a process instance that is capable of correlating with the message is waiting on one node, where as the message gets routed to the other node and a duplicate copy of the process starts on the other node joins and correlates with the message, and completes the processing on the other node. where as process instance on the first node times out after syncMaxWaitTime.
    Server: 10.1.3.4 OC4J

    4.How to deploy a project using a script?
    http://jianmingli.com/wp/?p=2584
    1.When we can create synchronous bpel process
    Synchronus process need to create in case if you are expecting reply Immediately.
    ex. this is usefull in case if you are using Database adapter as partner link in BPEL process. Because database Adapter operation used to give reply immediately.
    2. When we can create asynchronous bpel process
    Asynchronus process need to create in case if you when reply will come is not having time limit.
    Example:- Suppose if you have one loan process in which we are invoking some of the webservices(ex United Star Loan, HDFC loan) which will send the intrest charges in reply but in this case reply can come at any time. Till that time BPEL process need to wait for indefinite amount of time. If Sync BPEL process will be used in the above case then the BPEL process will time out and that will come under faulted state.
    3.When we can create empty bpel process
    Define Service Later: Select to create an empty BPEL process service component with no activities.

Maybe you are looking for

  • Compressed formats won't play in CD player

    Is there any compressed audio format I can use to burn a CD which will play in my CD players? I've tried most of the formats that iTunes offers, and none of them seem to work. Also: I've been burning onto CD-RWs, not CD-Rs. Does this matter? Thanks i

  • Messages are stucked in EOIO Backlog, please help me...

    Dear Expert, I am facing an issue the messages are stucked in EOIO Backlog, Those stucks are not flowing. why it is stucking in Engine status or backlog monitor. and how it will reprocess those messages. Regards, Kiran Polani

  • Sorting albums in folders

    With iPhoto 11 I use to create folder in the source left panel Album and that I drag the event into the folder. Right clicking on the folder name I can sort the folders, but the events inside the folders aren't sorted. Right click the event name into

  • Remove DB option

    Hi, I am using 10g (10.2.0.3) enterprise edition, I create DB using standard template. Now I want to remove some unuse option from dbca. After I start the dbca and choose "configure the db option" > "database components" , I see all option is hidden

  • OMJJ - add new account grouping for transaction type

    Hi How can I add anew combination of movement type and special stock indicator, that don't exist in our system. How can I add a line to OMJJ account grouping table? Is it dependant on something else? Thanks Liat