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

Catch Runtime Exceptions under 46C

Former Member
0 Likes
660

Hello experts,

My programme executes a dynamic open sql and the requirement is, my programme should never result in an ABAP short dump.

With ABAP release 610, I can catch class based exceptions like cx_sy_dynamic_osql_error, but under 46C, I can only use CATCH SYSTEM-EXCEPTIONS, but no sql exceptions can be found in the runtime error list, that means no sql exceptions are perceived as catchable runtime errors.

Therefore, could you advise how I should handle the runtime exceptions and not cause the ABAP short dump, please?

Thanks and best regards,

James

4 REPLIES 4
Read only

Former Member
0 Likes
605
Read only

0 Likes
605

Hi there,

Class based exceptions are introduced starting from ABAP 610, therefore under 46C, I'm not allowed to use that.

Thanks and best regards,

James

Read only

0 Likes
605

Hi,

Don't think if you can catch those exception in 46C.

Regards,

Atish

Read only

0 Likes
605

Hi there,

No, TRY is even not a keyword under ABAP 46C.

Best regards,

James