Utilities

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…

Generalize the call to conversion exit functions

Well, everybody will be aware of the conversion exit functions available in SAP. The SAP provided conversion exit functions must be called individually in the programs to convert the field value internally and externally. Now, why can’t we do this dynamically by avoiding individual calls to the functions? Background Yes, it can be done ….

List the environment variables used in a program

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…

Copying/Renaming a file in Application Server

A number of times we want to copy or rename files in Application Server as per our requirements. However making changes to files in application server is not as easy as on Presentation Server. I recently came across one such scenario while finding the answer saw a number of solutions. Some were to create a…