Skip to Content
author's profile photo Former Member
Former Member

syn and asyn updates

Hello Friends,

Can any one explain me in simple terms that what is synchronous and asynchronous updates of BDC??

Thanks,

Vibha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 04:36 AM
    Call transaction	<tcode> using <BDCTAB>
    	Mode <A/N/E>
    	Update <S/A>
    	Messages into <MSGTAB>.

    Parameter – 1 is transaction code.

    Parameter – 2 is name of BDCTAB table.

    Parameter – 3 here you are specifying mode in which you execute transaction

    A is all screen mode. All the screen of transaction are displayed.

    N is no screen mode. No screen is displayed when you execute the transaction.

    E is error screen. Only those screens are displayed wherein you have error record.

    <b>Parameter – 4 here you are specifying update type by which database table is updated.

    S is for Synchronous update in which if you change data of one table then all the related Tables gets updated. And sy-subrc is returned i.e., sy-subrc is returned for once and all.

    A is for Asynchronous update. When you change data of one table, the sy-subrc is returned. And then updating of other affected tables takes place. So if system fails to update other tables, still sy-subrc returned is 0 (i.e., when first table gets updated).</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 04:54 AM

    thanks...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 28, 2007 at 04:39 AM

    synchronous Update - It will update transaction level and it goes database level.

    then it goes next record.

    Asynchronous Update : it will update transaction level and lt goes next record.

    later it updates database level.

    Synchronous update is slow processing

    Asynchronous update is speed processing.

    One example :

    you want to create sales order and then you want create item text of sales order.

    you are working on Call transaction ,

    if you use synchronous update,first it will create data at sales order transaction and immediately it updates database level.

    now you need sales order number to create sales order item text.

    you get the sales order number by using bdcmsgcoll structure and this number you use in SAVE_TEXT Function module.

    when you use asynchronous update,it creates record at sales order transaction and it goes next record,so you will not get order number to pass save_text function module.

    Reward Points if it is helpful

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.