on 05-06-2009 1:38 PM
Hi Experts,
I am displaying an error message when clicking on it ,It displays an long text.
Now the question is Can i display some dynamic values in long text
example
Hi todays is &
Thanks
Hi,
Can i display some dynamic values in long text
Yes, you can do that. For that create a message class in se91. Enter all the messages in that message class. Now in your code, simply call the massage manager and pass the required parameters.
In msgid pass the name of message class
in msgno pass the no. of the message you want to display
in msgty pass the type of message to be displayed i.e E or W or I etc.
I hope it helps.
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try report_t100_message of the message manager using the code wizard.
P1,P2, P3, P4 can be used as &.
* get message manager
DATA lo_api_controller TYPE REF TO if_wd_controller.
DATA lo_message_manager TYPE REF TO if_wd_message_manager.
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_t100_message
EXPORTING
msgid =
msgno =
msgty =
* p1 =
* p2 =
* p3 =
* p4 =
* msg_user_data =
* view =
* show_as_popup =
* is_permanent =
* scope_permanent_msg =
* controller_permanent_msg =
* msg_index =
* cancel_navigation =
.
Edited by: Radhika Vadher on May 6, 2009 6:12 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.