cancel
Showing results for 
Search instead for 
Did you mean: 

Call an Abap Webdynpro toolbar button

Former Member
0 Kudos

Hi

I am trying to enhance the EHP4 Performance Management Pre-defined solution for a customer.

SAP standard as configured the toolbar via:

Web Dynpro>Web Dynpro App[licat.>HAP_A_PMP_MAIN>Applic.Configurations>HAP_AC_PMP_MAIN

So I added two buttons and they are visible.

The problem is how do I then call some code when the user presses the button?

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear XY

You just need to configure the ONACTION property for that button.

This will correspond to a new method that is created o the View.

And it is inside that method that you will put your code.

There's plenty of examples with code on SDN if you search for "webdynpro onaction"

Kind Regards

/Ricardo Quintas