on 06-23-2011 3:39 PM
Hi,
Could you please let me know, how can I do the required fields check in FPM?
I can do this requirement in a simple webdynpro application as below:
lo_view_controller = wd_this->wd_get_api( ).
cl_wd_dynamic_tool=>check_mandatory_attr_on_view(
EXPORTING view_controller = lo_view_controller
IMPORTING messages = lt_messages ).
CHECK lt_messages[] IS INITIAL.
Please let me know how can I do the same in FPM?
Thanks,
Vijay.
i have not seen any helper class which does this in FPM. You may have to rely on your own logic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is really no guideline about that. You have decided to go for Dynamic UI elements and you have to find a way to validate them that is the price you would pay for doing things in Dynamic programming. You might have to rely on the looping of your UI elements and see if it is state is mandatory and go for validation in a dynamic way. Requires lots of programming and understanding of UI hierarchy.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.