Skip to Content
0
Jul 04, 2018 at 10:33 AM

How to greyout input fields in FPM guibb?

101 Views Last edit Jul 04, 2018 at 10:35 AM 2 rev

Read table ct_field_usage assinging <lfs_field_usage> with key name = 'Name of the field'.

if sy-subrc = 0.

<lfs_field_usage>-READ_ONLY = 'X'

ev_field_usage_changed = abap_true.

endif.

I tried this code for Input custom field. Its not working..Please some one suggest me how to grey out input field..