on 06-20-2016 12:42 PM
Hi,
As per my requirement i want to make 5 fields to be grayed i.e in display mode.In that i write code in feeder class but in that 5 fields four are of Input fields
and one is text view.The field which is of type text view is working fine but The input field type i can't make grayed?
How to make them grayed. What i need to do make a field of type "Input Field" in display mode(Grayed)????
Hi Srikanth,
Have you tried making the Input Fields disabled? This should make them as display mode.
Regards,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have write the code like above to grey the field in get data method.
FIELD-SYMBOLS: <fs_field_usage> like LINE OF ct_field_usage.
READ TABLE ct_field_usage ASSIGNING <fs_field_usage> WITH KEY name = 'IDENTIFICATIONTYPE'.
if sy-subrc EQ 0.
<fs_field_usage>-READ_ONLY = abap_true.
ev_field_usage_changed = abap_true.
endif.
Note : If my field is text view the above code is working it is grayed but if the field is "INPUT TYPE" it is not allowing to gray the field.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.