Combining the power of both design patterns: Singleton and Factory Method. Background Few days back, I read the post on SDN – Factory Design Pattern. The post reminded me that I use the similar infrastructure for object creation. I would not prefer to name as the Factory as Factory is strictly to generate the new [...]
Prototype design pattern allows the flexibility to create itself – cloning. Lets check out, how to achieve this in ABAP objects. What is Prototype You have instantiated an object, called some operations. Your object is now in a state from which you wish to copy itself. In other words, you want to clone the object. [...]
We all know that WITH HEADER LINE is obsolete in ABAP Objects. But it you can still use it in procedural programming. I am sure, after reading this you would agree not to use it.
Proxy acts on behalf of some other objects. Lets checkout Proxy design pattern implementation in ABAP. What is a Proxy? Sometimes, you need to delay the instantiation of the object may be because its too costly to instantiate or it is not needed till certain point of time. You want to instantiate the object only [...]
Lets checkout how to apply different styles for cell, yes cell not the entire column.