cancel
Showing results for 
Search instead for 
Did you mean: 

LOGOFF VS SICF

Former Member
0 Kudos

Hello,

I wanted to display a popup when trying to logoff.

I did like shown in some thraed on SDN or in sap help ( i hope ).

I fired my flag without parameter and went to SICF and then Wrote my javascript.

The problem is that nothing happens.

I even tried to the 'alert' functuion in javascript just toknow if my code was called by the logging off attempt.

Does any body know why?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos
Former Member
0 Kudos

Hi

Are you sure that this plug type is exit plug ? Otherwise i do not know where it goes wrong

Former Member
0 Kudos

yes.

Former Member
0 Kudos

>

> yes.

SICF service re activated ?

Former Member
0 Kudos

yes

Former Member
0 Kudos

No.

It is not running on the portal.

I fired my plug like following:

wd_this->fire_exit_plg( ).

and then i went to scif ->my app->...->logoff and i inserted my code in javascript

and even an alert function dont work.

Former Member
0 Kudos

>

> and then i went to scif ->my app->...->logoff and i inserted my code in javascript

>

> and even an alert function dont work.

Hi,

i am not sure inserting a javascript directly would work

ACCORDING TO THIS HELP IT SHOULD BE POSSIBLE [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/6af21301a907bee10000000a42189d/frameset.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/6af21301a907bee10000000a42189d/frameset.htm]

Edited by: Baskaran Senthivel on Feb 16, 2011 2:32 PM

Former Member
0 Kudos

Hi,

Is your application running in portal ? if it is then you might consider using the portal event to logoff.

DATA lo_api_component  TYPE REF TO if_wd_component.
  DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
 
  lo_api_component = wd_comp_controller->wd_get_api( ).
  lo_portal_manager = lo_api_component->get_portal_manager( ).
 
  CALL METHOD lo_portal_manager->fire
    EXPORTING
      portal_event_namespace = 'urn:com.sapportals.portal:user'
      portal_event_name      = 'logoff'.

Otherwise, write in details what have you done to achieve the Logoff. Like BSP page with java script etc.