on 01-11-2010 5:50 PM
Hi again guys.
Do you know whether it is possible to launch an error message from WDAFTERACTION method instead of WDBEFOREACTION one? Thank you.
hi ,
ur WDDOAFTERACTION is ur method for non action specific operations before navigation and yes , u cn raise error messages in this method by using code wizard ( control + f7) , and use report_error_message
* get message manager
DATA: l_current_controller TYPE REF TO if_wd_controller,
l_message_manager TYPE REF TO if_wd_message_manager.
* Get the controller ref.
l_current_controller ?= wd_this->wd_get_api( ).
* Get the message manager ref.
CALL METHOD l_current_controller->get_message_manager
RECEIVING
message_manager = l_message_manager.
* raise error message
CALL METHOD l_message_manager->report_error_message(
EXPORTING
message_text = i_msg ).
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
WDDOAFTERACTION
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Technically it is possible to display error messages in WDDOAFTERACTION instead of WDDOBEFOREACTION.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.