cancel
Showing results for 
Search instead for 
Did you mean: 

exception and error handling?

Former Member
0 Kudos

What is exception handling and Error handiling?

What is the difference between them?

Which purpose these use?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182426
Active Contributor
0 Kudos

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.

Error Handling (SAP Library - Web Services)

Forward Error Handling - Creating and Configuring Service Providers and Service Consumers - SAP Libr...

Former Member
0 Kudos

These are helpfull to me.

Thank You .

former_member182426
Active Contributor
0 Kudos

you can close the thread...

Former Member
0 Kudos

Yes

Former Member
0 Kudos

For closing mark it as answered