on 04-04-2015 4:38 AM
Hi All,
Can you please let me know how to create toggle button dynamically in webdynpro ABAP.
How to assign Binding Path to the field properties dynamically during creation
Thanks in Advance.
Regards,
Lakshmi.
Hi Lakshmi,
While creating toggle button dynamically, you can use the parameter BIND_CHECKED to bind it to the context attribute.
Here, you need to created an attribute CHECKED of type WDY_BOOLEAN in context node ( EX: node name "BUTTON" ).
CL_WD_TOGGLE_BUTTON=>NEW_TOGGLE_BUTTON(
exporting
BIND_CHECKED = 'BUTTON.CHECKED'
......
To know more about dynamic layout creation, please search SCN and I hope that you would get lot of threads.
Hope this helps you.
Regards,
Rama
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 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.