on 04-28-2015 12:34 PM
Hey guys,
i think i have explored the whole internet in the meanwhile . I have created different Webdynpros which include mandatory and non mandatory fields.
First i tried to check these fields in the component itself in the wddobeforeaction method. That was not a big deal. After that I transfered the check in the controller so that it is executed when I klick the save button in my floorplan.
Now i have searched for a solution to check all webdynpro components included in the floorplan by the floorplan itself and not longer by the components.
The problem is that only the process event method of the visible uibb is executed. I want the floorplan to check WD Component 1 (Tab 1) and WD Component 2 (Tab 2). The result should be that if I fill in the mandatory fields of Component 1 and dont fill the fields of Component 2 and press 'Save' after the floorplan should raise the error messages for the non filled fields of Component 2.
I have found the solution in the App Controller so I have created a new Webdynpro with the 'IF_FPM_APP_CONTOLLER' interface implemented. Furthermore I have implemented the 'IF_FPM_OIF_CONF_EXIT' interface here to override the process_event method. Is this the right way? How can I get to the view controller of every WD Comp in the AppCC to check the mandatory fields?
Thank you very much
Greetings Tim
Dear Tim,
I think it's not possible because EACH component has different interface, So if you want to check that thing used the both component in One component and then Check the field validation.
I am not sure about my answer, but you can try it.
Thanks
Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tim,
to add the "mandatory errors" you can use the method OVERRIDE_EVENT_OIF.
I had very similar problems with my WebDynpro FPM applications. If you manage to find a solution to collect all error messages it's just the beginning. There might be messages in the message area that are on a UIBB that is not visible. And the expected behaviour by the user would be that you click on the message and the corresponding UIBB is automatically displayed (keyword "message navigation").
All in all the FPM framework is little helpful in this scenario and I had some very frustrating moments 😉
Regards,
Karsten
Does no one have an idea?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.