Hi,
Regards, Heidi
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
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
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
Add a comment