2007 Jul 25 5:25 AM
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.
2007 Jul 25 5:53 AM
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
2007 Jul 25 5:33 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
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
2007 Jul 25 5:51 AM
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!
2007 Jul 25 5:53 AM
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
2007 Jul 25 6:04 AM