Google Search - Blog...........

ABAP - OOPS : Program That Can Raise Exceptions Based On SAP Standard Exception - Classes

REPORT YSUBOOPS17 .
data : inum type i .

try.
raise exception type cx_sy_zerodivide.
CATCH cx_sy_zerodivide.
write:/5 'Exception caught'.
endtry.

Output

Exception caught

No comments:

Post a Comment