cancel
Showing results for 
Search instead for 
Did you mean: 

Based on radiobutton Inputfield to be change

Kishore25sap
Explorer
0 Kudos

In the first view, creating two radio buttons u2018Plantu2019 and u2018Itemu2019.

When item radio is selected, display an input field for item number.

When plant radio is selected display only the plant input field .

How to make enable /disable options for inputfield based on radio button.

Accepted Solutions (1)

Accepted Solutions (1)

arjun_thakur
Active Contributor
0 Kudos

Create boolean attributes, bind it with enable property of input field and onaction event handler of the radio button, write code to set the value (abap_true, abap_false) to the boolean attribute.

Regards

Answers (2)

Answers (2)

former_member184578
Active Contributor
0 Kudos

Hi,

Check this wiki: [Show/Hide UI Elements Dynamically in WDA|http://wiki.sdn.sap.com/wiki/display/WDABAP/SimpleapplicationtochangepropertiesofUIElementsduringruntimeinWebDynpro+ABAP]

hope this helps u.,

Thanks & Regards,

Kiran

Former Member
0 Kudos

Hi venkat,

you can make use of visible property. based on radio option selected you can display the particular input field.

vijay