cancel
Showing results for 
Search instead for 
Did you mean: 

Restricted dropdown list box

Former Member
0 Kudos

Hi,

i want to have a dropdown list box linked to a table by with some restrictions like :

i don't want all by i want all data where ZTEST= "10"

How can i do this ?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You will have to create a drop-down list dynamically. If I understand your question properly then, in my opinion, your code will have to generate the HTML code for the drop-down at run-time.

I would recommend that you load the contents of the main SAP table you are working with into an internal table (or a similar work area). Do all you restricted selection during this loading loop.

Then write code which creates the drop-down list at runtime using the contents of that internal table.