Skip to Content
0
Feb 13, 2009 at 11:08 AM

Trigger onAction method dynamically

323 Views

Hello WD Experts,

I have one button (BUTTON_SEARCH) implemented in the view.

The button is link to the onAction Event "SEARCH_BP_DATA"

The onAction Method calls "ONACTIONSEARCH_BP_DATA"

The method selects Business Partner details. The method is triggered by pressing the button. This works fine.

Now i like, depending on the checks, to trigger the onAction method dynamically in the INIT method WDDOINIT.

Has anybody an idea how to call the onAction method in coding and not from the button action?

Thank you very much in advance.

regards,

Axel