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

BDC - continue after error

Former Member
0 Likes
939

Hi,

1) How do I make the BDC that I am working on continue in the background, even if there is an error (Say a field isn't filled in or the entry is not valid, which can occur when a certain entered number does not exit in the database.)

It should continue from the record following the one that caused an error.

2) When the error occurs, I want to mark one field with the value 'X'. This is done, so that after all processing is complete, I will display a write screen with a field from the table, where the last field is marked as x.

Thanks,

John

3 REPLIES 3
Read only

Former Member
0 Likes
616

Hi,

1) If you run the BDC program in the background then the Program will run if there are any errors.

2) You can put a Field as X, or else you can use the FORMAT_MESSAGE function module to show the error messages

Regards

Sudheer

Read only

Former Member
0 Likes
616

Hi,

The Error field will be left blank and the process continuees.

If you want to see the error that you have made jsut go to the transaction SM35 and see the LOG.

there you will find the error where you have made.

Thanks,

Yogesh

Read only

Former Member
0 Likes
616

hi

s...the error record will be skipped and the bdc will continue with the next record, if the mode is N

chk this thread

if helpful, reward

Sathish. R