cancel
Showing results for 
Search instead for 
Did you mean: 

how to Adds an action to the popup screen buttons

Former Member
0 Kudos

Hi All

Can any please let me know the steps for to Adds an action to the popup screen buttons .

and where we need to add this bit of code .

* Adds an action to the popup screen buttons

lr_view_controller = wd_this->wd_get_api( ).

lr_popup->subscribe_to_button_event(

button = if_wd_window=>co_button_Close

button_text = 'CLOSE'

action_name = 'EXIT'

action_view = lr_view_controller ).

How can we make custom action to trigger instead standard action .

Regards

Deepika

Accepted Solutions (0)

Answers (2)

Answers (2)

m_aravindan
Active Participant
0 Kudos

Hi deepika,

               Check this below link , hope it helps you out.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f4114d-00a3-2e10-58ae-ea699d11c...

Regards

Arvnd

Former Member
0 Kudos

Hi Deepika,

Create an action in the 'Actions' tab in your view. Once u do that an action handler will be automatically created.

In the action name of the subscribe_to_button_event pass your custom action name.

Now this custom action handler will be called