Question:
Hi ,
Do i know how to use the Method of type PROTECTED in the ALV's (OOP'S). If you know this please let me know.
Is there is any difference between usage of PUBLIC method and PROTECTED method.
Thanks and Regards
SIVA
Answer:
Hi ,
Do i know how to use the Method of type PROTECTED in the ALV's (OOP'S). If you know this please let me know.
Is there is any difference between usage of PUBLIC method and PROTECTED method.
Thanks and Regards
SIVA
protected method can only used "inside" the instance or the class or the instances inheriting that class. This means only these instances are allowed to call that method.
Public methods can be called from "outside" which means by any other form, instance function, etc..
Christian