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

what is the difference between synchronus & asynchronus methods?

some ques related bdc, plz reply them,

1.what is the difference between synchronus & asynchronus methods?

2.call transaction uses synchronus or synchronus method?

3.session method uses synchronus or synchronus method?

4.Can you call a bdc from a report program?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 24, 2007 at 04:18 AM

    1. Synchronus method updates the database and creates the document number and then gives you back the message.

    Asynchronus method gives you the message like "document is generated" and simuntenoulsy updates the database and cretes the document.

    2. You have to specify the by CALL TRANSACTION 'MM01' using BDCDATA UPDATE 'S'.

    3. Session method uses the Synchornus method

    4. Yes We can

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 24, 2007 at 04:20 AM

    1A.Asynchronous Method:

    Your program doesn't wait for the called transaction to be completed.As soon as your program calls a transaction it will start carrying out other works.This will result in faster execution.

    Synchronous Method:

    Your program wait for the called transaction to be completed.Unless the called transcation is completed your program wont resume processing.Processing will be slow compared to asynchrounous approach.

    2A. Sync and Async.

    3A. sync.

    4A. Yes, you can.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 06:03 AM

    hi

    <b>1.what is the difference between synchronus & asynchronus methods?</b>

    <b>Synchronous</b>

    With synchronous updating, we can check SY-SUBRC to determine the success of the transaction and the actual update to the database.

    DO.

    ………

    PERFORM FILL_BDC_TAB.

    CALL TRANSACTION ‘FK02’

    USING BDC_TAB

    MODE ‘N’

    UPDATE ‘S’.

    IF SY-SUBRC < > 0.

    WRITE: /‘ERROR’.

    ENDIF.

    ENDDO.

    <b>Asynchronous</b>With asynchronous updating, we can check SY-SUBRC to determine the success of the transaction only, not the actual update to the database.

    DO.

    ………

    PERFORM FILL_BDC_TAB.

    CALL TRANSACTION ‘FK02’

    USING BDC_TAB

    MODE ‘N’

    UPDATE ‘A’.

    IF SY-SUBRC < > 0.

    WRITE: /‘ERROR’.

    ENDIF.

    ENDDO.

    <b>2.call transaction uses synchronus or synchronus method?</b>

    BY DEFAULT IT IS Asynchronus METHOD YOU CAN CHOOSE synchronus OR Asynchronus

    <b>3.session method uses synchronus or synchronus method?</b>

    IT USES synchronus METHOD AND WE DON'T HAVE OPTION TO CHANGE IT

    <b>4.Can you call a bdc from a report program?</b>

    You can use the Report RSBDCSUB which is a Report program to Process all the sessions, you can call this report program using Submit as we do to call any report program.

    <b>Reward if usefull</b>

    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.