Exception Handling
As you will know, it is always possible that errors may occur in a program. Some errors are so severe that it is no longer possible or useful to continue the normal program flow. However, you can write your program in such a way that it reacts to such situations appropriately. In modern programming languages, there is a concept that deals with these situations, namely exception handling.
ABAP features a class-based exception concept. It is similar to the corresponding concept in Java, but offers the user more flexibility in a number of aspects. When you write new code, you should only use the new class-based exceptions for error handling.
Detailed
information is available under
Exception
Handling.