Skip to Content
avatar image
Former Member

dynamically change values of dropdown column of webdynpro ALV

Hi All,

In our webdynpro application we are using a ALV in which we need to display one column as dropdown, now values in this dropdown needs to be changed based on some other selection on the screen. I tried changing the value set of the attribute binded to this column and refreshiing the ALV after setting the value set with iwci_salv_wd_table->refresh( ) method but it doesn't work. The dropdown always shows the values which I set in the value set in wdinit method.

Please let me know how this can be acheived?


Anuj Tanwar

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 17, 2010 at 05:38 PM

    in the selections action you can overwrite the ITAB that is bind to your ALV and then bind_table( the new itab ) to the context node that is bind to your ALV.

    WDDOINIT you have an itab that I will call itab_1 and after you set up the value_set for the dropdown and the rest of the values in the itab 1 you should have a line of code like lond_context->bind_table( itab_1) right?

    so now you have other user interface that has different selections and the user have to select something and the dropdown should change....

    no behind the ACTION of the user interface you should do the same as wddoinit but now your itab_1 should have the new values that you code to be depending on the selections so now you should bind the new itab_1 to the context node, same way you did in wddoinit.


    Jason PV

    Add comment
    10|10000 characters needed characters exceeded