Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 1726

Dynamically making read only for a field in get_data(CL_EHHSS_INC_BINFA_UI_FRM)

$
0
0

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


Viewing all articles
Browse latest Browse all 1726

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>