Hi FPM colleagues,
Thanks for your time in advance:).
We are using FPM to develop our application(Solution Manager) Now we get a requirement from user that they want fields mandatory property to be configurable according to their own business requirement.
The first idea coming up to us is that we create component configuration to change fields mandatory properties and apply them to FPM application configuration. And then check those fields validation by framework method:
CALL METHOD cl_wd_dynamic_tool=>check_mandatory_attr_on_view
EXPORTING
view_controller = lo_api_controller.
Since mandatory fields are configurable and may exist in several UIBBs in different main views. The check method will not work if those UIBBs are never created(e.g. user didn't click it, then the instance will not exist and check will not work)
So the question is: how can I check all mandatory fields by this framework method(since user need it to be configurable) in a FPM application even some UIBBs are not active. Or maybe I can activate all UIBBs by code? Thanks a lot for any answer regarding this requirement:):)
BR,
Steve