on 09-17-2013 7:16 PM
Hi Experts,
My req is regarding FPM. Actually in my view, I have some buttons like SUBMIT CHECK EDIT etc.
What I want is with some condition I have to hide SUBMIT button from the view when populating the view.
I wrote the below code in the WDINIT of the view, but it is giving an error, that is attached below.
Thanks,
Anoop S
Hi,
My issue is solved...
Check the below thread...
http://scn.sap.com/thread/3424362
Thanks Praveen and all...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anoop,
Coding which you have done it seems wrong. Because first of all view toolbar element you can not access by calling define_button method. Only global toolbar element you can change via this method.
If this button belongs to your webdynpro component view toolbar.
Then the button property(Enable,Visibility) you can bind with the node attribute in the component controller.
On some condition of your fpm application capture the event and process_event_before_output and try to set the attribute of the component controller.
Through the internal mappling of the context data button property will be set and button will be disabled.
Thanks & Regards
Praveen Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.