on 05-09-2008 9:55 AM
Hi,
how can I raise a message in the event-handler method on check for a specifc field out of the Select-Option.
Best regards,
Marcus
Thanks, but this I already knows.
I want to set the error message with focus on the parameter field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer to these examples
WDR_TEST_MESSAGE_AREA,WDR_MESSAGE_AREA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Create a new method and call it when you want to show the message.
METHOD message_handling .
DATA:
lr_current_controller TYPE REF TO if_wd_controller,
lr_message_manager TYPE REF TO if_wd_message_manager.
lr_current_controller ?= wd_this->wd_get_api( ).
lr_message_manager = lr_current_controller->get_message_manager( ).
lr_message_manager->report_t100_message(
msgid = iv_msgid
msgno = iv_msgno
msgty = iv_msgty
p1 = iv_p1
p2 = iv_p2
p3 = iv_p3
p4 = iv_p4 ).
ENDMETHOD.
In this method, the program show a message that is declared in a mesasge class. If you look at IF_WD_MESSAGE_MANAGER there are other methods to show a message.
And you can find more information at this blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8402. [original link is broken] [original link is broken] [original link is broken]
Regards,
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 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.