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 Session v/s Call Transaction

Former Member
0 Kudos
171

Hi,

I need to update a table with max 200 records.

What is recomended- using BDC with Call Transaction or BDC Session?

Also in BDC Call Transaction, which mode to select:

Local, Async or Sync- what does each mean?

Lastly Using BDC session/ Call Transaction is there a pseudo code available. (note without use of the include bdcrecx1 )

Thanks.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
108

hi,

for 200 records means use call transaction method...

we have 3 modes

N - No screen mode

E- Error Screen

A- All Screen

if u want to run the program foreground which means u want to see how the updation is going use A Mode or

u want to see error screens means use E Mode or

if u want to run in back ground use A Mode....

call transaction <tcode> using bdcdata mode A/N/E

Messages into <messagetable>.....

i hope u clear the point.....

thanks,

maheedhar.t

4 REPLIES 4

Former Member
0 Kudos
108

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

Session method is to populate the data by filling BDC structure

and keep as session to process from SM37 to post in appropriate Transaction.

Call transaction method is to post the data directly into the Transaction from an Executable program.

Session method SAP defined Function modules.

Regards

Reshma

Former Member
0 Kudos
108

Hi,

1.You can go for Call transaction method as records are not huge. You can trace out errors also easily.

2.Also if you want to update fast you can go for Asyynchronous, but for gurented update or much reliable you can go for Synchronous.

3.No need to have psudo code. Just copy include's Subroutines into your program and remove include bdcrecx1 statment.

Reward if useful!

Former Member
0 Kudos
109

hi,

for 200 records means use call transaction method...

we have 3 modes

N - No screen mode

E- Error Screen

A- All Screen

if u want to run the program foreground which means u want to see how the updation is going use A Mode or

u want to see error screens means use E Mode or

if u want to run in back ground use A Mode....

call transaction <tcode> using bdcdata mode A/N/E

Messages into <messagetable>.....

i hope u clear the point.....

thanks,

maheedhar.t

Former Member
0 Kudos
108

Hi,

Check the following link:

http://sap-img.com/bdc.htm

Regards,

Bhaskar