Video 17: OO ABAP - Exceptions Part 1
ฝัง
- เผยแพร่เมื่อ 16 ก.ย. 2024
- Explained the concepts about exceptions in OO ABAP. Showed the syntax to raise and captured the exceptions in the different hierarchy level. Described the basic design of an exception class along with attributes and message text.
Created examples with local and global exception class, and showed different options to captured the same.
what an excellent method of explanation of each point. it is very easy to understand through your video Ganesh. really awesome technique first you explained topic Then you design in PPT and Finally you touch the SAP system, real Teacher only do this, Hats off man
Hi Sir , Really your channel is excellent . thank god I come to know about your channel . my confusions and doubts are cleared . thank you sir .
Welcome, and glad videos are useful.
Hi ganesh bro.ur channel is excellent.i dnt know how many frnds and collegues i shared ur channel link.keep go ahead.
Excellent.. the concepts explained in such a simple and comprehensive manner..
Thank you and glad my videos are useful.
Very good explanation. greetings from germany 🙂
Thank you, and glad my videos are useful.
hiii ganesh garu,how can we pass the range of values to the parameters in se24?please can you explain it.
Hope you might find the video for the same now.
thank you sir , video is perfect
Thank you and welcome!
Hi Ganesh, Can I get this code please?
Sorry it's not in place, let me try
awesome lesson
Thank you
Where are video 14,video 15 and video 16.. Please share links if you have ..thanks
Those are under the playlist called OOABAP - Design Patterns
@@just2shareji thanks
Hello Sir, how to reach out uou
Please reach me through ji2share@gmail.com
Thank you a lot. I would like to add that the exception on "level_1" can be captured if the exception raising is not declared in the method definition of called class, for instance:
class ZCL_ABAP_OOM_4 definition
public
final
create public .
public section.
methods GET_USR_DETAILS .
protected section.
private section.
method implementation:
method GET_USR_DETAILS.
data(lt_value) = 1 / 0.
ENDCLASS.
main program:
data(obj_ZCL_ABAP_OOM_4_1) = new ZCL_ABAP_OOM_4( ).
TRY.
obj_ZCL_ABAP_OOM_4_1->get_usr_details( ).
CATCH cx_root INTO data(exp_obj).
WRITE / 'Exception captured'.
data(lv_text) = exp_obj->get_text( ).
WRITE / lv_text.
ENDTRY.
the dump will not happen.
Awesome, thank you for the sharing the info here.