Web Dynpro Messages
Web Dynpro Messages
1.c)
2.c) Provide an assistance class name starts with Z and double click on it
Step 3 : Double click on main view to create context attribute and to design layout
3.a)
3.b)
3.c)
Go to Layout tab
Using code wizard (Ctrl + F7), Select radio button Generate Message and choose a method REPORT_ERROR_MESSAGE from the F4 help and press Enter
When user does not enter input value, Using instance object wd_assist, assign the error message text to variable msg and call the method 'report_message_error', Otherwise assign success message text to variable msg and call the method 'report_success'.
Activate the whole web dynpro component. Step 5 : Create web dynpro application, enter description and save it