cancel
Showing results for 
Search instead for 
Did you mean: 

Close PopUp (BSP_WD_CMPWB)

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

I did create a new component which I display as a popup.

Now I would like to close this popup according to this guideline Issue in pop up close, CL_BSP_WD_WINDOW | ABAP, SAP, be...

I did create an outboundplug called "RETURN". But on calling  me->fire_outbound_plug( IV_OUTBOUND_PLUG   = 'RETURN' ) I get the error, that the method does not exist or is private/protected.

What is my error?

Kind regards

Accepted Solutions (1)

Accepted Solutions (1)

dharmakasi
Active Contributor
0 Kudos


Hi Christian,

Try calling the return outbound from the window instance. Did you create the outbound plug in window of your popup component?

Example

lr_window  ?= me->view_manager->get_window_controller( ).

lr_window
->call_outbound_plug( 'return' ).

Best Regards,

Dharmakasi.

Private_Member_19084
Active Contributor
0 Kudos

Hi Dharmakasi,

yearh this was the problem.

I called it in the view.

Now it works, thank you.

kind regards

Answers (0)