cancel
Showing results for 
Search instead for 
Did you mean: 

How to Fire event in Web Dynpro?

former_member182374
Active Contributor
0 Kudos

Hi All,

I'm a Web Dynpro newbie.

I have a view with a button, two input fields and a drop down.

Pushing the button populates the drop down with values according to the two input fields.

The two input fields have default values and I want to "simulate" a button pushed action (call the method) when the view initializes (on the view's "wddoinit").

how do I that? (The "OnActionBtn" needs event parameter so I can't call it)

thanks,

Omri

View Entire Topic
Former Member
0 Kudos

Hi Omri,

Make one method that includes all your coding to populate Dropdown box. Then, call this method from Wdinit method as well as OnActionBtn method.

regards,

Bhavik

former_member182374
Active Contributor
0 Kudos

Thanks, I thought that there is a way to "Fire" the OnAction but it worked too, So problem is solved.