cancel
Showing results for 
Search instead for 
Did you mean: 

Check mandatory fields of different components

Former Member
0 Kudos

I want to check all the required fields on a view, which includes views of different components. I know that I can use the check_mandatory_attr_on_view method of class cl_wd_dynamic_tool. But how could I check all mandatory fields of all involved components?

No ideas?

Edited by: Nenad Belosevic on Jul 13, 2009 8:32 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Place the mandatory check code in standard method WDDOBEFOREACTION, so before any action is triggered the mandatory fields will be checked. Try this.

Regards,

Radhika.

Former Member
0 Kudos

Hi,

I think you have embed views of different components into View containers in your current view.Still you can use check_mandatory_attr_on_view it will work.But you have to select property state of ui elements to Required, otherwise it will not work.