i have method which is returning error message in some cases
and i want to use the text that i getting from the exception object
but to use the FM 'POPUP_DISPLAY_MESSAGE' i need to use a message class etc
i just want to reuse the messge that i getting from the catch
how can i do that ?
and i use the following code to do so
CATCH cx_l_model INTO lx_dup_node. lv_dup_msg = lx_dup_node->get_text( ). CALL FUNCTION 'POPUP_DISPLAY_MESSAGE' EXPORTING titel = 'Warning' msgid = 'MC_DT' msgty = 'W' msgno = 006 msgv1 = lv_dup_msg.