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

ABAP exceptions!

Former Member
0 Likes
431

Hi!

I want to know exception handling using try catch endcatch can be done onley for ABAP OO Concept shall we follow the same for core abap objects e.g an abap report bdc script shall we use that.

3 REPLIES 3
Read only

ferry_lianto
Active Contributor
0 Likes
390

Hi,

Please check this link for sample code.

http://help.sap.com/saphelp_erp2005/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/frameset.htm

Also please check demo program DEMO_CATCH_ENDCATCH.

Regards,

Ferry Lianto

Read only

0 Likes
390

Hi ferry!

Thats not my answer.

Thanks

Rahul.

Read only

0 Likes
390

Rahul,

Yes. YOu can use that for Reports, BDCs as well.

Go to the end of the page on the following link and there's an example of a report program.

http://help.sap.com/saphelp_erp2005/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/frameset.htm