on 11-26-2013 3:55 AM
Hello Gurus,
My requirement is to hide a checkbox based on a condition in web ui. I know how to do this using configuration but i want to hide the checkbox based on a condition which i can check only thru code. Please help me how to achieve this. Are there any built in functions to hide a field in web ui?
Thanks
Lakshman
Hello All,
Thanks for you replies. My issue is resolved. Here below is how i have done it.
I need to hide the checkbox if it is not checked when i open a transaction which is already saved. For the new transaction creation, i need to hide.
I have removed the label of the checkbox and put a condition in GET_P to check if the value is X for the checkbox. If the value is not X, it am changing the field type. And to display the label when i need to display the checkbox, i created a dummy attribute to show the label.
THanks
Lakshman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshman,
In addition to do_config_determination method you can hide/ display fields dynamically in .htm page of views check doc for this http://scn.sap.com/docs/DOC-29342
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.