cancel
Showing results for 
Search instead for 
Did you mean: 

Setting action dynamically at runtime in WebDynPro component

Former Member
0 Kudos

Hi ,

I want to dynamically trigger the action in a WDP ABAP component .The action is of type OnSelect for a dropdown box by index .

Can anybody tell me which Hook Method the action handle

can be found and what is the method to trigger it ?

Regards

Siddharth Chowdhury

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Try the following wdDoModifyView method;

IWDDropDownByIndex index=iew.getElement("ID");

IWDAction action=wdContext.wdGetAPI().getController().getAction("ActionName");

index.setOnSelect(action);

Regards, Anilkumar