Hi Shelwin,
You cannot use the standard MESSAGE syntax in the webdynpro,
You can use the wizard and generate the message code
- Open the method in which you have written the MESSAGE syntax
- Click on WEBDYNPRO WIZARD button
- Open general tab
- select Generate Message radio button
- Press F4 in the field method, select 'REPORT_SUCCESS' and press OK
- Pass the required Message text that we want to show to MESSAGE_TEXT
- Now save and activate
- If you test the message will be displayed at the bottom of the screen
- If you want to display the message at a particular place then insert MESSAGE AREA screen element in the layout of the View
- Then the message will get displayed in the inserted MESSAGE AREA
- There are different types of messages in webdynpro
please have a look at the following link for detailed explanation MESSAGE GENERATION IN WEBDYNPRO ABAP
Points please if helpful
Regards
Subhash