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

Native SQL without TRY-CATCH

michael_voss2
Participant
0 Likes
432

Hello!

We are currently using native SQL from inside an ABAP program to export data into an external database. What ist supposed to happen if this EXEC SQL-Statement is not inside a TRY-CATCH-Block and the issued SQL (an INSERT statemend) is not successful, i. e. reports a native database error ? Does the Program resume ? Does the prgram abend ?

Thanks a lot,

Michael

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
381

With that scenario the program will short dump and report a native database error.

2 REPLIES 2
Read only

Former Member
0 Likes
382

With that scenario the program will short dump and report a native database error.

Read only

0 Likes
381

Thanks a lot...