Lets checkout the ABAP object oriented approach for reports when you want to get data from different data sources – Database and/or Archive .
Recently, we have seen how we can achieve OO Design Pattern Decorator in ABAP using the inheritance tree. Achieving decorator seems to be little bit complex, but it gets easier as we get used with it. Problem As you can notice, in this example that we had to use the helper variable LO_PRE to retain…
Decorator pattern gives us flexibility to extend the behavior of certain objects at runtime.