cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro for ABAP not closing browser window after click Exit

Former Member
0 Kudos

Hi Experts,

We come across a minor problem when executing a Webdynpro for ABAP on our Production Portal.

We have a "Exit" button which suppose to close the browser window with the webdynpro codes called but it failed to do so.

The execution steps of the Webdynpro app:

     Click  "Exit"

     Click  "No"

     Results message in the browser:

The code we use to exit and close the Web Dynpro application

* Code to close the application when the WebDynpro is executed

* as an independent application

* Also requires an Outbound Plug (GO_EXIT) in the main Window

  data : lr_ref      type ref to ig_main_window.

  lr_ref = wd_this->get_main_window_ctr( ).

  lr_ref->fire_go_exit_plg( close_window = abap_true ).

What would be the issue causing this, the Webdynpro codes or Portal config?

Our systems are SAP NW 7.31 with:

  • ECC6 (Basis 731 SP10)
  • Portal (Basis 1000.7.31.7.0.20130227234100)

Thank you for your help & advise.

Derek Phung

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193460
Contributor
0 Kudos


There are some restrictions to use close_window feature of exit plug. Please have a code to check whether its supported or not.

IF_WD_APPLICATION=>GET_IS_CLOSE_WINDOW_SUPPORTED( )

more info:

Restrictions in CLOSE WINDOW Functions - Web Dynpro for ABAP - SAP Library

Regards,

Tashi

Former Member
0 Kudos

Hi Tashi,

Thank you for your quick response & help.

According to your more info link, the check will return ABAP_TRUE as the webdynpro app is ran on Portal.

Sorry i should have mention that I got it working on our Dev & Test portal but now forgotten how i have done it, we now need it config for our production portal. I have vague memory collection that i config it somewhere on the portal, maybe one of the Application Modules in NWA?

Any advise, help, hints would be very much appreciated.

Thank You & regards,

Derek