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 syntax

Former Member
0 Likes
305

Hi abap experts,

i am new to abap, can any one please explain about CATCH syntax.

I have observed in some programs depends on requirement CATCH syntax has been written like this

CATCH cx_bcs

CATCH CX_SY_FILE_OPEN_MODE

CATCH cx_shm_error

CATCH cx_sy_conversion_no_number

after CATCH statement which to be used and when it has to used, where we can observe ?

Moderator message: Please read SAP help documentation

Message was edited by: Kesavadas Thekkillath

1 REPLY 1
Read only

Former Member
0 Likes
245

Hi amit,

thnx for responding very fastly,

i already got info which you posted.

but my query is after the CATCH statement we are using some 'cx_XXXXXXX' ex:

CATCH cx_bcs

CATCH CX_SY_FILE_OPEN_MODE

CATCH cx_shm_error

CATCH cx_sy_conversion_no_number

is there any relation to 'cx_root'  class for the above followed CATCH statement's?