on 07-15-2015 8:16 PM
Hello Experts,
Based on some conditions we want to open the fields for user input or greyed out on the grid of FORMULA ITEMS tab of RECIPE transaction, pl. let us know how we can achieve this editable/ReadOnly requiremenet programitically based on a constion
Thank you
Hi,
readOnly property of that corresponding UI element will help you.Create an attribute of type WDY_BOOLEAN and bind it to the readOnly property of that UI element.
Now based on condition just set the attribute value as abap_true / abap_false.
abap_true : For making that UI element readonly.
abap_false : For making that UI element input enable.
Hope this helps you to resolve your issue.Feel free to get back with your queries.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Create a attribute with the type WDY_BOOLEAN and bind it with the required field's read only property Based upon you condition if you wants the enable the field pass abap_false to the attribute , to disable the field pass abap_true to the attribute.
- Gowtham
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 |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.