Skip to Content
avatar image
Former Member

Restricted dropdown list box

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 05, 2004 at 09:31 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded