ABAP Unit Test Global class usage
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.
ABAP Unit Test Fixture Methods
In the series of ABAP Unit, lets check out the Test Fixture methods.
ABAP Unit Test Driven Development – Basics
Lets check few basics of Test Driven Development as well as for ABAP Unit.
ABAP Unit Test Driven Development – Basic Example
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.
ABAP Objects Design Patterns Singleton Usage
Singleton Design Pattern is most heavily used in OO based developments. Lets see an usage of Singleton Design pattern.
ABAP Objects Design Patterns – Builder
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.
ABAP Object Oriented Approach for Reports – Redesign
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.
ABAP Object Oriented Approach for Reports – Initial Design
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.
ABAP Static vs Instance method – Which to use when?
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.
ABAP Protected Section – Is it really Protected?
Few days back, I came across this challenging question on SCN about Inheritance within ABAP Objects specifically to the Protected Section.
ABAP Objects Case Study – Usage for More Design Flexibility
How object oriented designs was beneficial to me as well as my clients while enhancing development created in Object Oriented ABAP.
Poll – Are Text Symbols Private or Public in OO 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 ……
ABAP Objects – Access Text from Super Class Text Symbols
Text Pools are great for creating language independent program. But, it create a very peculiar problem when used in ABAP objects
Utility to build HTML within ABAP
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 – Achieve Multiple Inheritance using Interfaces
ABAP Objects doesn’t support Multiple Inheritance – Inheriting from more than one Super class, but similar functionality can be achieved using the interfaces.
ABAP Objects Design Patterns – Singleton Factory
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…
ABAP Objects Design Patterns – Prototype
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….
ABAP Objects Design Patterns – Proxy
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…
Iterator Design Pattern to access Linked List in ABAP Objects
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…
Become a JAVAPER – “overriding” an attribute
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…