cancel
Showing results for 
Search instead for 
Did you mean: 

Close a Window popUp after Action

Former Member
0 Kudos

Hi people.
I never thought that this would be not easy.

Im trying to close a Window popup (it´s a kind of login from legacy system to access data)

I tried the solution from this link. but it cause NULL. ()


PD: THE POPUP WINDOW is named 'LEGACY' .

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I solved myself

In the event WDDOAFTERACTION from THE WINDOW named 'LEGACY i made the validation.

Works perfectly.

Answers (1)

Answers (1)

former_member198833
Active Participant
0 Kudos

Hi Ivan,

Have you tried this on the OK button method?


  DATA popup_window     TYPE REF TO if_wd_window.

  popup_window = wd_this->wd_get_api( )->get_embedding_window( ).

  popup_window->close( ).

Regards,

Felipe