Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Raise statement in Class method


In my function module ztest I create the instance of the class and execute a public method of the class. Upon encountering a certain condition in the class method I want the program flow to stop and return back to the function module.

I try to raise an exception in the class method using .


But it gives a dump. How do I propagate control back to the function module from the class method when an if condition is met.


Former Member
Not what you were looking for? View more on this topic or Ask a question