Static Constructor in SAP ABAP | ABAP Static Constructors | ABAP OOPS Static Constructor

Описание к видео Static Constructor in SAP ABAP | ABAP Static Constructors | ABAP OOPS Static Constructor

Hello Friends,

In this session we are going to see How to use Static Constructor in SAP ABAP object oriented programming.

What is Static Constructor in OO ABAP?

Static constructor is declared by CLASS-METHODS CLASS_CONSTRUCTOR statement
Static Constuctor is called in ABAP OOPS
1. before any other instance attributes and methods by using object var & obj meth reference,
2. before any other static attributes and methods by using cls var & cls meth,
3. before creating of an object by using create object obj,
4. before registering an event handler method by using set handler cls meth for the object obj.

Please refer video on Static Method and Instance Methods.
   • Static Method in SAP ABAP | Instance ...  

Please Read article on Static Constructor in ABAP OOPS.
https://www.learnsapabap.com/2018/01/...

Please visit my website to learn more about ABAP.
https://www.learnsapabap.com/

#Static_ConstructorD
#Class_Constructor


Thanks,
#LearnSapAbap
Instagram : @swap_neeeel

Комментарии

Информация по комментариям в разработке