Application Development and Automation 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: 
Read only

Difference between the Direct Input Method and Batch Input Method

Former Member
0 Likes
943

Hi experts,

Can you give me an idea of Whatz the Differences between the Direct Input Method and Batch Input Methods in BDC?

thnx in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
837

Call Transaction:

Speed.

Synchronous process.

SYnc. and Async both update possible.

Error handling thro Message structure BDCMSGCOLL.

Single Transaction.

Batch Input Session:

Slow.

Asynchronous process.

SYnc. update possible.

Error log is created in the SM35.

Multiple Transaction possible.

Direct Input.

Without calling the screens but all the validations should be done and only for master datas upload.

- Selvapandian

7 REPLIES 7
Read only

Former Member
0 Likes
837

HI DEV,

Check these Links out

BDC does a CALL TRANSACTION. So each and every case (document, master data,...) is committed to the database on commit. The commit occurs after completion of the transaction.

Direct input will commit the data to the database when the commit is requested explicitly.

During BDC and direct input relevant DB tables are locked, they can not be updated by other processes. After commit they are unlocked.

Thus a program using direct input must care for intermittent commits to avoid an overflow of the lock tables. For master data, a lock table overflow may occur for more than (roughly) 2000 cases.

Although direct input does not do any screen input, the same routines are passed as BDC with (simulated) screen input

Regards,

Santosh

Read only

0 Likes
837

There is no diff between Direct input and BDC because Direct input is one of the methods in BDC to transfer external data into SAP system.

In BDC you can transfer data into SAP system using 3 methods,

1.session

2.call transaction.

3.Direct input.

In direct input the data is processed very quickly than other two methods since it wont create any sessions and no screens are processed rather data is transferred into SAP database directly..

Thanks,

Read only

0 Likes
837

thnx for the inputs.Can you elaborate a little bit...under which circumstances we go for those? means is ther any criteria for choosing the Direct Input for an instance and the other methods for other instances?

thnx.

Read only

0 Likes
837

hi Dev,

Drect input the data is processed very quickly than other methods. So you make a choice in using these methods based on how fast you want your data processing to be..

Reward if it helps,

Regards,

Santosh

Read only

Former Member
0 Likes
837

Hi Dev a,

Direct Input method:

1. Only for error free datas and also master data

updation.

2. It will directly updates the database table. No

screens involved.

3. Transaction BMVO or Program RBMVSHOW has been

used.

BDC(Batch Input Session):

1. Screens will be called programmatically.

2. First sessions will be created then we'll run the seesions in SM35 transaction.

3.Synchronous database update. After the processing the session only database update will occur.

- Selvapandian Arunachalam

Read only

Former Member
0 Likes
837

Hi,

Upto 10,000 records we can use Call Transaction.

If morethan 10,000 we can go for BAtch Input Session.

Call Dialog is outdated.

Customer MAster, Material MAster, Vendor Master like all the masters are uploaded thro Direct Input Method.

Read only

Former Member
0 Likes
838

Call Transaction:

Speed.

Synchronous process.

SYnc. and Async both update possible.

Error handling thro Message structure BDCMSGCOLL.

Single Transaction.

Batch Input Session:

Slow.

Asynchronous process.

SYnc. update possible.

Error log is created in the SM35.

Multiple Transaction possible.

Direct Input.

Without calling the screens but all the validations should be done and only for master datas upload.

- Selvapandian