on 05-21-2014 12:46 PM
What is exception handling and Error handiling?
What is the difference between them?
Which purpose these use?
Exception handling :
These are mainly used in Classes and Methods execution in applications.
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.
Read more at
https://help.sap.com/saphelp_nw04s/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm
SAP Library - ABAP Programming (BC-ABA)
http://help.sap.com/saphelp_470/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm
Exception Handling (SAP Library - Components of SAP Communication Technology)
Error Handling:
These are normal errors which we will handle based on sy-subrc when FM executes in our reports and any application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.