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

Former Member
0 Likes
707

hi all,

After running a BDC program in background, next

day morning when i see the results, few records

are not updated(error records). What will i do

then?

thanks,

Ashu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
688

hi,

U need to go to the log and check what are all the records that r not processed and u need to process them again

6 REPLIES 6
Read only

Former Member
0 Likes
689

hi,

U need to go to the log and check what are all the records that r not processed and u need to process them again

Read only

Former Member
0 Likes
688

Hi

Go to SM35

double click on the session name. you will reach a page . click on tab 'log created on ....' . you can see the reason for error over there. Now go back. Then click process. Execute in foreground. Quite possibly u will be able to see the error for yourself. Then rectify this error in bdc and re run.

Thanks

Arun

Read only

Former Member
0 Likes
688

Hi ,

if you are using session method

then error log will be generated by system

if you are using call transaction

you have tto read the bdcmsgcoll structure with

msgtype as E

and store that records in application server

by using

open dataset

thanks

venkatesh

Read only

Former Member
0 Likes
688

Hi,

You need to check for the logs then you come to know how many records are not processed .... so then you run the session with Error screen mode, and rectify the errors,

Regards

Sudheer

Read only

Former Member
0 Likes
688

hi,

have u written code in the program to run that particular session to run in back ground or manually u r doing that.

if that doesn't work go for call transaction.

CALL TRANSACTION 'BP' USING I_bdcdata MODE 'N'.

bp is the transcation code to which u want to update,

i_bdcdata will contains all the data which u want to update.

MODE ‘N’ means it does every thing in back ground.

check this once.

Read only

Former Member
0 Likes
688

hi,

the best way is to rollback the work

and reprocess it, before you start work consult functional consultant.

Regards,

Naveen