Yes, there are static and instance constructors but there are significant differences in the two. From parameters allowed, to timing of triggering, etc. Here is a good document that describes the differences: help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abenconstructor.htm#:~:text=of%20Classes%20%E2%86%92-,Constructors%20of%20Classes,VALUE%20of%20the%20statement%20DATA.
Great video, thank you!
Do we create as many instances in real life?
Which approch would be better?
Don't we have a static constructor that would do the same as an "instance" constructor does?
Yes, there are static and instance constructors but there are significant differences in the two. From parameters allowed, to timing of triggering, etc. Here is a good document that describes the differences: help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abenconstructor.htm#:~:text=of%20Classes%20%E2%86%92-,Constructors%20of%20Classes,VALUE%20of%20the%20statement%20DATA.
Please make some videos on sap Idocs