RAISE_EXCEPTION

medium

Unhandled Exception Raised by ABAP Program

Module: ABAP

What this means

RAISE_EXCEPTION is the dump that occurs when an ABAP program raises an exception (via RAISE or RAISE EXCEPTION) that is not caught by the caller. In classic ABAP, if a function module raises a declared exception and the caller does not handle it in the EXCEPTIONS clause, the runtime terminates with this dump. In ABAP OO, if a class-based exception is thrown and no TRY/CATCH block intercepts it, the same dump fires. This is a design issue — either the caller must handle all exceptions the called code can raise, or the exception handling hierarchy must be complete.

Recommended Fix

Check ST22 for the exception class or exception name and trace the call stack to identify the uncaught RAISE or RAISE EXCEPTION statement. In function module callers, add all exceptions to the EXCEPTIONS clause and check SY-SUBRC after the call. In OO code, wrap calls in TRY/CATCH/ENDTRY and handle or re-raise appropriately. Use SE37 to review the function module interface for all declared exceptions.

Quick Info

ModuleABAP
Severitymedium
Diagnose in
ST22SE24SE37