cancel
Showing results for 
Search instead for 
Did you mean: 

dynamically change values of dropdown column of webdynpro ALV

Former Member
0 Kudos

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?

Thanks,

Anuj Tanwar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.

thanks!

Jason PV