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

skipping errors in call transcation

Former Member
0 Likes
616

hi all ,

please help me to find out how i can skip errors in call trnacastion method and take next data ignoring this data if msg type is 'E' . my prob is if the msg type is E it wont get skipped

and wont take next data and wont give error logs

5 REPLIES 5
Read only

Former Member
0 Likes
589

In call transaction method you can not skip the errors if you are executing it in backgroung.BDC stops if it comes across errors.You collect the error messages in error log.But make sure your processing doesn't stop.

Read only

Former Member
0 Likes
589

hi but i am not getting any messg in the error log neither sy-subrc ne 0.

Read only

0 Likes
589

Try to run in foreground then you will come to know where it is stopping.Also check whether you are passing proper data.There may be a case that you may have missed some OK-Code.

Read only

Former Member
0 Likes
589

HI,

Use the BDC Session method.

Read only

Former Member
0 Likes
589

while running BDC using Call transaction method use structure type BDCMSGCOLL and collect the message in that structure

Put the condition the Message Type is 'E'

Skip the record and continue.

Or else if you know which record will get error hard code that record to skip.