Recently, at one of my client’s place, I have to design a screen with lot of ALVs. When I started designing, I didn’t pay much of the attention to the fact that there could be a dependency between main ALVs and other sub-ALVs. Later in the design phase, I understood that this is a great…
The intent behind the Observer Design Pattern is to define a dependecy between objects so that when main object changes its state, all the dependent objects are notified. Its upto the dependent objects to update themselves or ignore the notification. Design time consideration In the main object, AKA Subject, create a Event. Also add create…
Factory Method design pattern could be most used design pattern in the modern world application. Factory method design pattern hides all the complexity of the instantiating an object from the consumer.
Decorator pattern gives us flexibility to extend the behavior of certain objects at runtime.
In this post, we will see how we can implement the Views which will access the Controller and model which is encapsulated in the controller. This post is in continuation of previous post: First Demo Application – ALV For our first Application view will be ALV output. To get the data for the ALV into…
In this post, we will see how we can implement the MVC (Model-View-Controller) design pattern in ABAP using the Objects. If you have not read the previous discussion about MVC: , than I strongly recommond to read that before moving forward. Demo Application To implement the MVC, we will create two applications – One will…