Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.