09-28-2006 5:09 PM
Hi.
I ran a BDC by session method in which suppose there are 10 records and there is an error in the 6th record then my question is will the errored session have only the 6th record or all the records in it.
I mean will the rest 9 recds be updated in the database or not.?
Since it is a synchronous update so I am not sure whether all the 10 recds will be updated or not?
Thank You
09-28-2006 5:11 PM
Hi,
rest of the records will be updated. The error log will have only one record.
Please award if helpful.
09-28-2006 5:30 PM
Thank You all for ur answers..
If this is the case then why is it called SYNCHRONOUS processing?
Thank You once again
09-28-2006 8:16 PM
Subhash,
I had watched two of your question on sync/async.
There is no relation between sy-subrc and sync/async methods.
sync method - record updates and commit work happens
the same way it happens for the correct records. If there is error record commit work does not happen.
async method - records updates at once if there are any correct records commit work happens. If there are all error records commit work doesnt happen.
MORE TO CONSIDER IS THAT IT DOES N'T CARE ABOUT COMMIT WORK HAPPENING.
So asyn/sync are more related to commit work rather than sy-subrc
thanks
SDN
09-28-2006 5:11 PM
The session will contain all the records and when you are processing in Background it will process 9 records and for the error record it will through the error. You will find this from Logs.
If you run it in Foreground/Error mode, the process will stop you on 6 th record..
09-28-2006 5:12 PM
Hi,
It will not update.
U can process that in <b>sm35</b>.
Thanks
Sunil