Skip to Content
author's profile photo Former Member
Former Member

Create a dynamic list box

Hi Experts,

Please, Iu2019ve to create a dynamic list box in the product search tool at the webclient (component PRD01QR).

I need to get a value chose in another list box on the same screen and to create a list box to the field.

Anyone know how can I do it?

Thanks in advance

Edited by: Orival_Jr on Jun 28, 2010 10:50 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Jun 28, 2010 at 11:05 PM

    Hi Orival,

    This has already been discussed. Please refer to the below link.

    CRM 7.0 WebUI: Second field searchhelp based on first field value

    I hope this helps you. Please let me know if you need more help.

    Thanks

    Vishal

    Edited by: Vishal Kesar on Jun 29, 2010 1:05 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2010 at 02:52 PM

    Hi Vishal,

    thanks a lot, I'm trying to follow this steps,

    sorry, I wasn't able to "create an event when I select a drop down value for the field". Could you help me at this point?

    thanks in advance

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello,

      Create an event using the following code in your first field's get_p method.

      CASE iv_property.

      WHEN if_bsp_wd_model_setter_getter=>FP_SERVER_EVENT.

      rv_value = 'XYZ'.

      ENDCASE.

      Now create an event handler, EH_ONXYZ. When you select any value for the first attribute from its drop down list, this event handler will get triggered. Populate the global dropdown table here depending upon current value in the first attribute here.

      Call this global dropdown table in the get_v method of your 2nd attribute and populate its drop down values now.

      I hope this helps you now.

      Thanks

      Vishal

      Edited by: Vishal Kesar on Jun 29, 2010 8:35 PM

  • author's profile photo Former Member
    Former Member
    Posted on Jul 05, 2010 at 06:38 PM

    Hi,

    thanks a lot for your help.

    Sorry ask more one time, I enhanced the get_p method to try to create an event but this method isnu2019t called, Iu2019m debugging the get_p method called of standards fields to try to find why this happen. If you know please could you tell me?

    Thanks again.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2010 at 02:04 PM

    Ok,

    The method was setted as public, thanks.

    But I think that I didnu2019t explain correctly, Iu2019m sorry. The get_p method is not called, even though it is a public method. Do you know how I can solve it?

    Thanks in advance

    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.