Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reset selected value in DropDown

Hi,

In my WD I have only one view consisting of a dropdown list and a button. When the view is displayed for the first time there is no value visible in the DropDown which is fine. After selecting some value from the dropdown and pressing the button an action is performed. When is action is ready I return to this view. However, the selected value from the DropDown is still the same. I would like to have the initial value again.

How can this be accomplished?

Kind regards,

John.

replied

John,

just invalidate the node and attribute associated with the element.

data node_name type ref to if_wd_context_node

if node_name is bound.

node_name->invalidate().

endif.

Thanks

Bala Duvvuri

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question