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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ก.ย. 2024
  • 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 A...
    Please Read article on Static Constructor in ABAP OOPS.
    www.learnsapab...
    Please visit my website to learn more about ABAP.
    www.learnsapab...
    #Static_ConstructorD
    #Class_Constructor
    Thanks,
    #LearnSapAbap
    Instagram : @swap_neeeel

ความคิดเห็น •