cancel
Showing results for 
Search instead for 
Did you mean: 

Logoff is not working when more than one Browser are open - WebDynPro ABAP

Former Member
0 Kudos

Hi All,

Logoff is working when only one browser and one tab(our application).When click Logoff button closes tab and complete Browser.

Accessing WebDynPro application again system asking User credentials with System Logon.

Code written in Window Outbound Exit Plug is

  DATA lo_z_qm_notif_create TYPE REF TO ig_z_qm_notif_create .
  lo_z_qm_notif_create =   wd_this->get_z_qm_notif_create_ctr( ).

  lo_z_qm_notif_create->fire_o_main_exit_plg(
    close_window = abap_true   ).

The following scenario is Logoff is not working.

More than one browser is open or One browser with more than one tab.

When you click on Logoff button will close the tab alone and not one or all browsers.

How do delete cookies in WebDynPro ABAP?

I gone through following links.

http://scn.sap.com/thread/1514143

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm

Please suggest suitable solution which applicable to WebdynPro ABAP.

Thanks,

Somi

Accepted Solutions (0)

Answers (1)

Answers (1)

Dhivya
Active Participant
0 Kudos

Hi Somi,

  For deleting Cookies, you have to use JavaScript in Service. But i think in your scenario there is no need to delete cookies. You have to make changes in service of the webdynpro.

Pls follow the steps:

  1. Goto Service Tcode : SICF .
  2. Make changes in your webdynpro service.  The Path of the service is /default_host/sap/bc/webdynpro/sap/ <webdynpro_appl_nam>.
  3. Select Logon Data Tab.
  4. Choose Alternative Logon Procedure in Procedure selection box.
  5. If you select Alternative Logon Procedure, the Logon Procedure List Table control will display in bottom. In that maintain Logon Through HTTP Fields only.
  6. Check Use All Logon Procedure checkbox.

Now your scenario will be achieved successfully.

Thanks,

Dhivya.