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