Article

I know it is very wide question. We all use System fields like SY-SUBRC to check last statement was successful or not, SY-DBCNT for Database access count, SY-INDEX for row, SY-TABIX for current processed row in Loops, etc. Demo code Check out this code. At first it looks ok except the Modify statement outside the…

Read more

Article

In SAP, there is a standard way to list the environment variables used in a program. It’s accessible through transaction SE38, via Menu-Utilities-Environment variables. In SAP forums, I have seen lot of questions about doing this through custom program. It’s very hard to analyze this logic through standard debugging to know what is written behind…

Read more

Article

Alternative to SAVE_LIST

on February 23, 2012

5, 3,292

Demonstrates the Alternative to FM SAVE_LIST.

Read more

Article

Encode and Decode URL in ABAP

on February 23, 2012

0, 3,134

CL_HTTP_UTILITY is an utility class which provides several functions related to URL manipulations. There are many methods available in it, the one which I would like to share here is IF_HTTP_UTILITY~ESCAPE_URL and IF_HTTP_UTILITY~UNESCAPE_URL. The method ESCAPE_URL does the URL encoding and the method UNESCAPE_URL does the URL Decoding as mentioned below:

Read more

Article

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…

Read more

Article

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….

Read more

More Post →
You seem to be new here. Subscribe to stay connected.