Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to make a dynamic "RAISE EXCEPTION TYPE (lv_classname)" ???

Former Member
0 Kudos

Hi at all,

iam trying to make a dynamic RAISE EXCEPTION TYPE (lv_classname).

Is this possible and when how can i solve it?
Thanks in forward.

Regards
ETN

1 ACCEPTED SOLUTION

horst_keller
Product and Topic Expert
Product and Topic Expert

Does the documentation say so? No, not directly.

What you can do.

DATA oref TYPE REF TO cx_root.

CREATE OBJECT oref TYPE (lv_classname).

RAISE EXCEPTION oref.

2 REPLIES 2

horst_keller
Product and Topic Expert
Product and Topic Expert

Does the documentation say so? No, not directly.

What you can do.

DATA oref TYPE REF TO cx_root.

CREATE OBJECT oref TYPE (lv_classname).

RAISE EXCEPTION oref.

Former Member
0 Kudos

Perfect 🙂