You can always use IS BOUND to check if the Variable is instantiated or not. But, if you want to check if any variable is referring to a class or in other words, variable is declared with TYPE REF TO, you use this technique leveraging .
Exception class can be defined using to use static Text as well as the messages from the Message repository maintained using transaction SE91. In this article, lets see how to use the message from Message repository T100.
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.
Code Modularization is important aspect of the coding. ABAP allows us to modular the code using Subroutines, FMs, Methods, Macros, Includes, etc.