on 12-04-2007 7:14 AM
How to display a information message like "Your record is SAVED"..
Whn i was saving from the screen i want to display this message
Hi,
Check the example WDR_TEST_MSG_AREA .
1. Validate your data in seperate funtion module and update the message Id and number in internal table.
2. Use wizard to declate variable for massage area. It will create data declaration for messages of interface type IF_WD_MESSAGE_MANAGER. In this interface there is a method 'REPORT_T100_MESSAGE'. Pass your message ID and number in your internal table to this method parameter.
Reward point if useful.
Regards,
karthick S
Regards,
karthick S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
In the action handler method of the save , do the following coding.
In Place of sy-msgid , sy-msgno etc. write you 'message id' , 'message no' etc.
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( ).
CALL METHOD lr_current_controller->GET_MESSAGE_MANAGER
RECEIVING
MESSAGE_MANAGER = lr_message_manager.
call method lr_message_manager->report_t100_message
exporting
msgid = sy-msgid
msgno = sy-msgno
msgty = sy-msgty
p1 = sy-msgv1
p2 = sy-msgv2
p3 = sy-msgv3
p4 = sy-msgv4
Regard's
Amol Deshmukh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use the message manager to display messages.....
like this
data: l_current_controller type ref to if_wd_controller,
l_message_manager type ref to if_wd_message_manager.
l_current_controller ?= wd_This->Wd_Get_Api( ).
CALL METHOD l_current_controller->GET_MESSAGE_MANAGER
RECEIVING
MESSAGE_MANAGER = l_message_manager.
calls the method REPORT_SUCCESS for ur case...
you can find many methods to display messages in this interface...
Regards
Yash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/d8/2a934259a5cb6ae10000000a155106/frameset.htm">documentation</a>
Regards, Heidi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.