cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger action event of button or linktoAction dynamically in code

Former Member
0 Kudos

Hi Experts,

We all know that button or linktoAction controlls are always binded with an action. If it is pressed, the action will be called.

Is it possible to trigger this action dynamically in codes? Like simulating the clicking button action in code.

Thank you

Edited by: Vincent Cao on Nov 23, 2010 2:18 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

probably you could try something like this.

DATA:

lo_event type ref to cl_wd_custom_event.

CREATE OBJECT lo_event

EXPORTING

name =

  • parameters =

.

wd_this->onactionbutton_clicked(

wdevent = lo_event " ref to cl_wd_custom_event

).

Answers (0)