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 exceptions

Former Member
0 Likes
406

hi gurus,

1. how to handle exceptions in bdc and scripts?

2. in call transcation method what wil be the sy subrc value if its shows error.

uttam.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
385

Hi

in call transaction if u got any error records by checking th sy-subrc value

move these error recrds to one more internal table and pass this one to session method with in the same program and process it and finally check in sm35 whether processed or not if not go to error log and if the errors or minor do manual processing or change the input file format

reward points to all helpful answers

kiran.M

2 REPLIES 2
Read only

Former Member
0 Likes
385

Hi Raj

Check the SY-SUBRC values for CALL TRANSACTION

0 The batch input processing of the called transaction was successful.

< 1000 Error in the called transaction. If within the transaction a message was sent, you can receive it using the addition MESSAGES.

1001 Error in batch input processing.

reward points to all helpful answers

kiran.M

Read only

Former Member
0 Likes
386

Hi

in call transaction if u got any error records by checking th sy-subrc value

move these error recrds to one more internal table and pass this one to session method with in the same program and process it and finally check in sm35 whether processed or not if not go to error log and if the errors or minor do manual processing or change the input file format

reward points to all helpful answers

kiran.M