Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC Intervew Question.

Former Member
0 Kudos

Hai Gurs.

One intervew Question

In BDC requriment which one you going to choose to do

1) session method or

2) Call Tranaction method.

if you choose perticually -


that one mean why ?

8 REPLIES 8

Former Member
0 Kudos

Interview questions are forbidden in this forum please respect that.

matt
Active Contributor
0 Kudos

>

> Interview questions are forbidden in this forum please respect that.

Looks like no-one has respect anymore

Former Member
0 Kudos

Hi,

both call transaction and session method has its own advantages and disadvantages.

based on the client requirement,we go for either of the method.

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

regards,

vineela

Former Member
0 Kudos

Hi

Processing batch input data with CALL TRANSACTION USING is the faster of the two recommended data transfer methods. In this method, legacy data is processed inline in your data transfer program.

Syntax:

CALL TRANSACTION

Former Member
0 Kudos

Hi,

Depending on the requiremnet u need to go for the type of the method read below given breif discription about different methods:

To perform data migration from legacy database to new SAP database, BDCs are used. There are three methods in BDC as follows:

1. DIRECT INPUT METHOD

2. CALL TRANSACTION METHOD

3. SESSION METHOD

There are predefined tools used to perform data migration in SAP. They are:

1. RECORDING METHOD (SHDB)

2. LEGACY SYSTEM MIGRATION WORKBENCH (LSMW)

FUNCTION MODULES USED IN BDC:

-


1. UPLOAD

2. BDC_OPEN_GROUP

3. BDC_INSERT

4. BDC_CLOSE_GROUP

DIRECT INPUT METHOD:

-


This method is used to perform bulk data transfer from the flat file into the database table.

During data transfer, no manual intervention is required.

ERROR RECORDS:

-


Records already existing in the database table are called as Error Records. Such Error Records can be handled efficiently using CALL TRANSACTION statement.

ADVANTAGES OF DIRECT INPUT METHOD:

-


1. We can perform data migration for large number of records.

2. No manual intervention is required during data transfer.

3. Data migration is very fast using this method.

DISADVANTAGES:

-


1. Error Records cannot be modified during runtime.

CALL TRANSACTION METHOD:

-


The error records from the flat file can be handled using this method. Whenever SAP comes across error records, these are displayed in a user-defined screen.

CALL TRANSACTION <tcode> statement is used to call the user-defined screen to populate the error records.

3. BDC SESSION METHOD:

-


Function modules used in SESSION METHOD are:

1. BDC_OPEN_GROUP - This FM is used to create a session with flat file records in the Application Server. While creating session using this FM, we have to specify the CLIENT NUMBER, USERNAME and SESSION NAME.

2. BDC_INSERT - This FM is used to insert the internal table records into the session created in AS.

3. BDC_CLOSE_GROUP - This FM is used to save and activate the session to be processed later.

Regards,

kavitha.

Former Member
0 Kudos

Hi Madhu,

Firstly it depends on the Business Requirement.

Secondly , we always prefer Session Method instead of Call Tranaction

The Reason being :

1) Session/Classical Method is a Asynchronous Processing

2) Error handling can be done implicitly (from detailed log)

3)Session Method Can be scheduled and processed later

4) Synchronous data base update.

5) While Processing no transaction is started until the previous transaction has been written to the database.