Since ABAP release 7.0, you can create ABAP Unit Test Global Class. Lets see what to do and what not to when using the ABAP Unit Global Test Class.
In the series of ABAP Unit, lets check out the Test Fixture methods.
Lets check few basics of Test Driven Development as well as for ABAP Unit.
ABAP Unit is an embedded framework to develop using the Test Driven Development approach. ABAP unit lets you test the code at unit level, independent of the entire solution.
Singleton Design Pattern is most heavily used in OO based developments. Lets see an usage of Singleton Design pattern.
Builder is another Design Patterns in Object Oriented, to hide complex object building from the client. Lets check out it design and its implemented in OO ABAP.
In this post, I would show you a more flexible design using ABAP Objects. This design is to decouple logic, criteria, data display as much as possible.
Many times, I see incorrect usage of ABAP Objects in custom development. In this two post blog series, I would show few incorrect designs and finally would show OO approach.
We all debate over when to use Static methods or Instance methods. Most of the times we go for simplest approach, but that may not be the correct one. Lets try to explore and see what should be possibly the best approach when deciding Static or Instance.
Few days back, I came across this challenging question on SCN about Inheritance within ABAP Objects specifically to the Protected Section.
How object oriented designs was beneficial to me as well as my clients while enhancing development created in Object Oriented ABAP.
In regards to the previous post , one of readers Dirk Wittenberg pointed to me completely different view. You can follow @zevolving and @naimeshpatel if you are not yet following. I thought of collecting the reply from the readers and started this Poll. Vote Cast your vote for this new Poll. Every vote counts ……
Text Pools are great for creating language independent program. But, it create a very peculiar problem when used in ABAP objects
Introducing a small utility class to build HTML code within ABAP. This utility wraps the logic for build HTML Tags and string manipulation within itself for simple client access. Motivation Recently, I needed to generate an email notification using HTML. The email notification would contain the data in Table format. I don’t like to concatenate…
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…
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….
Proxy acts on behalf of some other objects. When working with Proxies, as name suggest, you work with another object rather than actual object. 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…
In the previous post, you have seen how to implement Iterator design Pattern. It also raised the question about the usefulness in ABAP as in ABAP, you have Internal Tables. The ITAB can handle all type of collection of objects easily. So, lets try to go away from ITAB usage for this post to see…
Recently I have discovered very interesting feature in Java. Below I will try to compare this with what ABAP can do about it. Quick jump in Overriding a method in ABAP and Java is simple. In the former we use REDEFINITION keyword in a subclass, in the latter we rewrite method with the same signature…