Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restricting user to input manual data rather choosing from dropdown list

Former Member
0 Kudos
280

Dear Experts:

I'm using ALV control in a Z-program for updating some process information. Here in this control i want to make an input only possible from drop down list, other than the data from drop down list, user will not be able to modify it. It will be a great help for me if i get the guideline of how to perform the same.

Regards,

Kingshuk.

4 REPLIES 4

Former Member
0 Kudos
99

Hi

I'm not sure ALV grid supports dropdown list, anyway you can active the event for F4 in order to manage an your own search help and decide which data cam be selected.

Max

huseyindereli
Active Contributor
0 Kudos
99

Hi ,

Take a look at BCALV_EDIT_06 report. It has the functionality that you like to use. Use the sample code.

Regards.

0 Kudos
99

Hi:

Many thanks for the suggestion. I can make the input field non editable, but it also restrict the user to choose the value from drop down list. I want the user only can choose input value from drop down list, not any manual key in data in that column. Hope my requirement is clear now.

Regards,

Kingshuk

0 Kudos
99

Hi Kingshuk,

At that example user can only select two values , KG or G . You can manipulate the values as you like and you don't need to disable input the field. User can select any of restricted values by using clicking arrow icon or by typing any of restricted values. There is not any other option.

Regards.

Hüseyin