cancel
Showing results for 
Search instead for 
Did you mean: 

Enable input field in Web Dynpro ABAP

Former Member
0 Kudos

Hi All,

In an custom application, 6 input fields are there. Among those fields I have a issue in enabling an input field. Based on the older discussions I checked for cardinality. It is 1..1 only for that context.

Kindly help me to make this input field enabled. Please find the attachments.

Fig 1 depicting the preview of the layout where input field appears to be enabled and Fig 2  depicts input field disabled in the application.

Kindly help me to enable this input field.

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Raghavendra,

Check if readOnly property of input field "Functional Area" is bound to any attribute. If so find out the logic where the value is getting set.

When does fig1 and fig2 scenarios happening? i.e. is it on any action?

Regards,

Rama

Answers (1)

Answers (1)

eozkan
Explorer
0 Kudos

You can change the attributes of screen elements in WDDOMODIFYVIEW

lv_ok cl_fitv_wd_util=>ui_set_read_only( io_view = view iv_id = 'SCREEN_ELEMENT_ID' iv_enabled = abap_true ).

or

lv_ok cl_fitv_wd_util=>ui_set_enabled( io_view = view iv_id = 'SCREEN_ELEMENT_ID' iv_enabled = abap_true ).