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

error handling in session method

Former Member
0 Likes
1,205

what happens if an error record comes while updating in session method.

we need to update all records or only error records.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
906

Hi,

If there are any error records in session, all those error records will get poulated in log .and after the session is completed , u can see error records which can be corrected and reprocessed again.

Revert back if any issues.

Reward with points if helpful.

Regards,

Naveen

5 REPLIES 5
Read only

Former Member
0 Likes
906

hi

only the error records can b updated....

this is the advantage of session method.

Read only

Former Member
0 Likes
906

HI,

Check those errors in SM35-->log and update those record again.

Regards

Gaurav

Read only

Former Member
0 Likes
906

again re-run the same session , only the ERROR records will be picked by from that session you can correct it manualy in the screen .

but run the same session in front-end , beacuse any it is allthe records are error , so no use of runing in error node .

need not to create one more session.

Girish

Read only

Former Member
0 Likes
907

Hi,

If there are any error records in session, all those error records will get poulated in log .and after the session is completed , u can see error records which can be corrected and reprocessed again.

Revert back if any issues.

Reward with points if helpful.

Regards,

Naveen

Read only

Former Member
0 Likes
906

Hi,

pls go through

after running a bdc program in backgruond nexty day morning whe n u see the reults few records r not updated (error records) what will u do then ?how will u handle the error records

If we are running a Session Method then we need to chek the error log in SM35 and accordingly go to that session to rectify the errors.

If it is a call transaction method all the errors will be captured in an internal table of structure BDCMSGCOLL which you would have declared in the program and displaying it using a FM format_message.

pls reward if it helpful

Thanks

Vana