on 02-16-2011 12:31 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> 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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.