on 11-06-2014 8:13 AM
Hi Friends,
I have a scenario in which through configuration I have added a input field and now I need to make the input field as READONLY pls help me out to for the solution.
Thanks & Regards,
Vinodkumar.
Hi Vinod,
CT_FIELD_USAGE parameters has all the attributes required for controlling the field properties like required, enabled, , read only. Implementing the following piece of code in GET_DATA method, we can make a input field read only,
LOOP AT CT_FIELD_USAGE INTO F_USAGE WHERE name = ' FIELD_NAME'.
f_usage-read_only = 'X'.
MODIFY CT_FIELD_USAGE FROM F_USAGE TRANSPORTING FIXED_VALUES_CHANGED
ENDLOOP.
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.