Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3458

Finish sesion sap gui html portal sap when change TAB

$
0
0

Hi

 

I have changed the following message "Logged Off Sucessfully" using the following code for Return previous page when the end-user on click in the button "Finish" of the application .

 

T.Code SICF:

 

Name Service and in the TAB Error Page :

 

 

<html><head><script type=""text/javascript"" src=""/sap/public/icmandir/its/lsgui/js/its_domain.js""></script>

<script defer type=""text/javascript"">

(function f()

{

            try

            {

                        its_setdomain();                              

                        var lastNavTarget = top.EPCM.getSAPTop().gHistoryFrameworkObj.TrackingEntryBack();

                        if(lastNavTarget != null && lastNavTarget != """")                        {

                                    lastNavTarget.navigate();

                        }

            }

            catch(e)

            {}

}

)()

</script>

</head><body>.</body></html>

 

This is the version 742 Kernel patch

Image.jpg

 

 

However  when the end-user  On Click in other TAB ie. Manager Self-Service, Content Administration , the system  is returning  to the service ITS showing the same screen and not allow change to the TAB.

 

Image.jpg

 

I need that  the line code in the script " lastNavTarget.navigate();" is not execute when I change of TAB  only when I finish the application using the button enclosed in the box red of the image previous.

 

 

Regards


Viewing all articles
Browse latest Browse all 3458

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>