ABAP Objects doesn’t support Multiple Inheritance – Inheriting from more than one Super class, but similar functionality can be achieved using the interfaces.
Combining the power of both design patterns: Singleton and Factory Method. Singleton produces the same object again where as Factory instantiates new object every time asked. Lets see how they both come together.. Background Few days back, I read the post on SDN – Factory Design Pattern. The post reminded me that I use the…
Lets check out one of the simple and most used Design Patterns in Object oriented programming – Facade or Façade (Pronounce as /fəˈsɑːd/) in ABAP.
In SAP ABAP, we can create Local Class as well as Global Classes in class builder. We can create them in the class builder as well. Lets see when it is OK to use Local Class and when we should refrain using it. What is Local Class Local classes are defined within an ABAP program….
Abstract Class and Interface – both has there own usages. Lets explore when to use which in ABAP while developing an application in SAP.
Abstract Pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes. Inherited subclasses of the abstract super class would know which of the objects are required. Concept Before jumping into the demo, lets see the concept. This will help us to better understand how Abstract Factory can be…