Skip to Content

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

DROP_DOWN_BY_KEY bind action dynamically

Hello,

I have a need to create a parameter in action. Later on I need to create a DROP_DOWN_BY_KEY element and bind the action to this element.

Currently I have action without any parameters except WDEVENT. If I define a new parameter how would I bind it during run time?

Dynamic binding without parameters:

drop_down_bk = cl_wd_dropdown_by_key=>new_dropdown_by_key( bind_selected_key = 'REPOSITORY.GENERAL_OPERATORS' on_select = 'FROM_STOCK_OPERATOR' ).

If FROM_STOCK_OPERATOR has an importing parameter of type CL_WD_UIELEMENT_CONTAINER how do I pass it?

Thank you.

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