on 10-25-2012 6:33 AM
Dear Experts,
Can anyone me know how to disable the button after single click in webdynpro?
Katrice
Hi Katrice,
Please do the following:
1. Create an attribute say 'ENABLE_BUTTON' of type Boolean in your context.
2. Bind this to the property 'Enabled' of the button.
3. Initially you need to pass value ABAP_TRUE to this attribute. You can do it in WDDOINIT method.
4. In the action handler method of this button, set the value of this attribute to ABAP_FALSE.
This way when the app opens, the button will be enabled. But once the user clicks on the button, the button will get disabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
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.