Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How occur error messages when don't type data in required inputfield?

Hi, experts,

I create 6 inputfields in the view(main_view) in Webdynpro for java application.

I have set 5 inputfield to required state, and I can see red "*" beside left in these 5 inputfields.

My problem is:

I need occur 5 error messages in the page if I don't type data in these required inputfields when I click a button to other page.

I need use the following code in Webdynpro for abap for resoling, But I don't know how to do the same thing in Webdynpro for java.



view_controller = wd_this->m_view

display_messages = abap_true


messages = messages


How can I do it? Do you give me some hint?

Thanks a lot.

Best regards,


Former Member
Former Member replied

You may refer [this|] tutorial. All please read the [IWDMessageManager|] API.


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question