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_Error_Capture

Former Member
0 Kudos
79

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

5 REPLIES 5

Former Member
0 Kudos
55

Hi,

rest of the records will be updated. The error log will have only one record.

Please award if helpful.

0 Kudos
55

Thank You all for ur answers..

If this is the case then why is it called SYNCHRONOUS processing?

Thank You once again

0 Kudos
55

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

Former Member
0 Kudos
55

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..

Former Member
0 Kudos
55

Hi,

It will not update.

U can process that in <b>sm35</b>.

Thanks

Sunil