Hi Experts,
I am making read only for a field based on condition in get_data method of class CL_EHHSS_INC_BINFA_UI_FRM.
But it is not working. Pls find the code for the same.
LOOP AT CT_FIELD_USAGE INTO lw_field WHERE NAME = 'OC_INC_TYPE'.
lw_field-read_only = ABAP_TRUE.
MODIFY ct_field_usage FROM lw_field TRANSPORTING read_only.
ev_field_usage_changed = 'X'.
ENDLOOP.
Pls help me what is wrong in this coding.
Regards,
Reny Richard