cancel
Showing results for 
Search instead for 
Did you mean: 

Check whether the message area are having message or not in webdynpro

former_member184958
Active Participant
0 Kudos

Hi All,

I am creating one registration form in that i have three mandatory field suppose user didn't give any output it will throw the error correctly but my question is can we read the error message which is display by message area i.e

i want to check the message area is initial or not initial.

Thank You.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184958
Active Participant
0 Kudos

Hi All,

     I am creating one registration form in that i have three mandatory field suppose user didn't give any output it will throw the error correctly for that i gave on enter action and button action in that button i call every on enter action here my doubt is how can i read the message area user interface element text in run time based on that i have to do some actions.

Help me.

Former Member
0 Kudos

Hi John,

You can get all messages using mo_message_manager->get_messages( ).

wd_assist->lt_message = wd_comp_controller->mo_message_manager->get_messages( ).

Cheer,

Kris.

Former Member
0 Kudos

if you are using FPM then there is option of message log display.

former_member184958
Active Participant
0 Kudos

Hi Jitendra,

   I am using normal web Dynpro. Is it possible to read message area ui element text during run time i.e Which message currently displayed by Message area based on that i want to do some action. Help me.

Thank You.

Former Member
0 Kudos

Hi Jhon,

can you explan what action you want to perform on basis of message read from message area.