cancel
Showing results for 
Search instead for 
Did you mean: 

Launch specific treatment (FM, class method) after exit Portal session of a user

Former Member
0 Kudos

Hi all,  

i would know if it's possible to launch some treatment when the user connected leave his Portal session ?  

Thanks a lot for your help.  

Regards

Accepted Solutions (1)

Accepted Solutions (1)

amy_king
Active Contributor
0 Kudos

Hi Eric,

It is possible to configure the portal to automatically navigate the user to a specific "exit page" when the user logs out. Instead of a static page, you could launch a standalone web dynpro application (or anything with a URL). Touch base with your portal administrator if this sounds like it would meet your needs.

What is it you would like to do when the user logs out?

Cheers,

Amy

Former Member
0 Kudos

Amy got the point too

Here solution is very interesting in case of generic purpose on every deconnection.

And she points out the same issue : is this really what you want or is it linked to a specific application that have (or not) been opened before exiting?

Former Member
0 Kudos

Hi Amy, thanks a lot for this solution, now i have to discuss with my Administrator Portal.

Well, when the user logs out i need to refresh some specifics tables, it's just temporary table, but need to clean it when logs out.

Regards

Answers (1)

Answers (1)

Former Member
0 Kudos

Salut!

Donc le plus simple c'est d'implémenter un traitement sur la méthode wddoexit de ton composant web-dynpro.

Normalement, lorsque tu quitte la session portail il est sensé passer par par cette méthode. Tu peux alors lancer ton traitement de fin à partir de là.

Il est possible dans certains cas que cela ne marche pas mais tu peux tenter comme ça déjà!

Former Member
0 Kudos

For english speaking people :

Hi!

The simplest way is to implement the method wddoinit of your web-dynpro component.

It should be called when you leave the portal session.

There are some known issues regarding this solution but it worth have a try.

Former Member
0 Kudos

Je me rend compte que j'ai pris cela dans un context web-dynpro : on parle ici d'un traitement suite à l'utilisation d'une application web dynpro abap via un portail c'est bien ça?

Former Member
0 Kudos

Non en fait c'est plus global, je souhaite vraiment intervenir à la déconnexion de la session Portail du user. Car le problème d'utiliser la méthode wddoexit du composant WebDynpro c'est lorsque l'on navigue entre les composants, on passe justement dans cette méthode wddoexit (de chaque WebDynpro d'ailleurs)  et ça n'est pas le bon moment.

Former Member
0 Kudos

Alors tu es mal... parce que ce que tu veux c'est capter l'événement déconnexion du portail donc d'un environnement Java pas ECC ABAP.

C'est complètement autre chose mais ça doit ce faire aussi.

Il faut te poser les bonnes questions : déjà est-ce que tu veux le faire à chaque fois qu'il se déconnecte même s'il n'a rien fait? Si c'est quand même lié à une application Web dynpro qu'il a (ou non) ouverte avant?

En fonction de ces réponses tu peux envisager la méthode à appliquer.