Skip to Content
avatar image
Former Member

when we use call transaction and session method?

cud anyone tell me the exact difference between session and call transaction ? when we have to use ?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Mar 18, 2008 at 08:16 AM

    Hi

    Session method.

    1) synchronous processing.

    2) can tranfer large amount of data.

    3) processing is slower.

    4) error log is created

    5) data is not updated until session is processed.

    Call transaction.

    1) asynchronous processing

    2) can transfer small amount of data

    3) processing is faster.

    4) errors need to be handled explicitly

    5) data is updated automatically

    Call transaction is faster then session method. But usually we use session method in real time...because we can transfer large amount of data from internal table to database and if any errors in a session. Process will not complete until session get correct.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 18, 2008 at 08:17 AM

    In ‘Call Transaction’, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling. It can also be used for real-time interfaces and custom error handling & logging features. Whereas in

    Batch Input Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.

    Refer

    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 18, 2008 at 08:18 AM

    Hi,

    Session method:

    1. This method is used to upload huge data

    2 it has error log so that v can trace the errors easily.

    3. it slower than call transaction method.

    Call transaction:

    1. This very fast than session method.

    2. This is used to upload small volume of data.

    3.Error tracing is bit difficult and v use MSGBDCCALL to get the error message.

    Thanks,

    Arunprasad.P

    Reward if useful.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 18, 2008 at 08:32 AM

    hi,

    BATCH INPUT METHOD

    Asynchronous processing

    Transfer data for multiple transactions.

    Synchronous database update.

    A batch input process log is generated for each session.

    Session cannot be generated in parallel.

    CALL TRANSACTION METHOD:

    Using CALL TRANSACTION USING statement

    Faster processing of data

    Synchronous processing

    Transfer data for a single transaction.

    No batch input processing log is generated.

    Add comment
    10|10000 characters needed characters exceeded