Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 19, 2017 at 05:56 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 18, 2017 at 12:21 PM

    Perfect :)

    Add comment
    10|10000 characters needed characters exceeded