Skip to Content
0
Former Member
Feb 17, 2014 at 06:47 PM

Mandatory field check for each sub-view

78 Views

Hi,

I have one main view and different sub-views which are embedded into the main view. The mandatory fields will be checked within WdDoBeforeAction of each sub-view with CL_WD_DYNAMIC_TOOL=>C_MANDATORY_ATTR_ON_VIEW. The Problem is that the user Need not to naviagte through each view so I can not be sure that each view is checked against it mandatory fields before the user presses the save button. So if the user presses the save button I must check all views and display the Errors. It would be nice if I can use the existing method. So is there an Option to instantiate alls sub-views if not already done and check the fields? Or is there a common way to handle this case?