Could you please make some videos,where u describe the instance attributes etc. in se24 screen and using some examples of existing badi (pr creation badi....etc) .U explain really well. it's very very helpful
If we are instantiatiating a class for more then one time and we want to use the same attribute everytime with different values, then we go for instance attribute
Constructor is always implicitly called when u create an instance. If u want to write any logic inside the constructor method,then u can explicitly write the logic inside the constructor..Logic would mainly be to initialize the variables..
@@SoorajSasidharanABAP so you also called Static method without constructor, is constructor called implicitly here too ? If yes, why we wrote constructor method in previous video.
Constructor is not to initialize variables but to initialize object itself. Neither constructor nor class constructor is called in the class unless you specifically defined it in the public section of a class. If you defined any of these inside a class, then a call by code is not required. Constructor will be executed automatically when instantiation happens.
Sooraj Thank you for KT your example are simple enough to understand the Big one .
Nice explanation...please do more videos on ABAP OO.. please
Could you please make some videos,where u describe the instance attributes etc. in se24 screen and using some examples of existing badi (pr creation badi....etc) .U explain really well. it's very very helpful
Thanku Shweta. Will look into your suggestion:-)
nice explanation sooraj.............
very nice explanation Sooraj!!!
Nice explanation. Thank you for the video.
Nice explanation but if you explain the constructor in this session , everyone will understand the constructor functionality very well.
The video screen is blurred, is it only for me or anyone faced the same challenge ?
At what situation we go for static..give one real-time business scenarios..
unanswered question!!
If we are instantiatiating a class for more then one time and we want to use the same attribute everytime with different values, then we go for instance attribute
Good
good explanation.
Glad it was helpful!
For me v1 and v2 are working same. Why is he saying v1 is having only single memory.?
Don't we need constructor while calling Instance method ? As mentioned in earlier Video. Please comment.
Constructor is always implicitly called when u create an instance. If u want to write any logic inside the constructor method,then u can explicitly write the logic inside the constructor..Logic would mainly be to initialize the variables..
@@SoorajSasidharanABAP so you also called Static method without constructor, is constructor called implicitly here too ?
If yes, why we wrote constructor method in previous video.
Constructor is not to initialize variables but to initialize object itself.
Neither constructor nor class constructor is called in the class unless you specifically defined it in the public section of a class.
If you defined any of these inside a class, then a call by code is not required. Constructor will be executed automatically when instantiation happens.
Part 1 - OO ABAP
th-cam.com/video/-mgEDIMz8NA/w-d-xo.html