ABAP 15 M Error Message

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

method m_error_message . * get message manager data lo_api_controller type ref to if_wd_controller. data lo_message_manager type ref to if_wd_message_manager.

data ld_message_id type string. data ld_msg type string. clear ld_msg. ld_msg = im_message. lo_api_controller ?= wd_this->wd_get_api( ). call method lo_api_controller->get_message_manager receiving message_manager = lo_message_manager. * report message call method lo_message_manager->report_error_message exporting message_text = ld_msg * PARAMS = * MSG_USER_DATA = * IS_PERMANENT = ABAP_FALSE * SCOPE_PERMANENT_MSG = CO_MSG_SCOPE_CONTROLLER * VIEW = * SHOW_AS_POPUP = * CONTROLLER_PERMANENT_MSG = * MSG_INDEX = * CANCEL_NAVIGATION = * ENABLE_MESSAGE_NAVIGATION = * COMPONENT = receiving message_id = ld_message_id. endmethod.

You might also like