Once the exception is raised in a method, then the controller search for a suitable handler section either in the method or in the upper
Category: Uncategorized
OO Exception- CX_STATIC_CHECK Multiple Catch & Clean Up
MULTIPLE CATCH in single [TRY .. ENDTRY] block Step1. So here we have the program with two exception classes. based on some condition two
OO Exception- CX_STATIC_CHECK
Step1. Let try the concept of using local exception class which is inherited from the CX_STATIC_CHECK standard exception class.So here we have a exception class-
OO Exception Concepts
Exception:- It is a program abnormal situation or condition where the normal execution flow of the program is disturbed and the programs terminates prematurely
Exception Handling in Function Modules [with message class]
Step1. So here we have the message class with two message texts 000 and 001. Step2. FM importing parameters. Step3. FM exporting parameters. Step4.
Exception Handling in Function Module
Step1. Let’s have a FM with the below importing parameters. Step2. Export parameters. Step3. Here define the exceptions to be raised in the FM source