cancel
Showing results for 
Search instead for 
Did you mean: 

Session should logoff on click of save button in webgui window

former_member199125
Active Contributor
0 Kudos

Hi Evryone,

I am directly changing section 80 details using WEBGUI ervices( PA30 tcode with infotype 585 in change mode) WITH BELOW URL

'http://XXXXXXXXXXXXXXX/sap/bc/gui/sap/its/webgui?~transaction=*pa30%20RP50G-PERNR=' lv_aempid

';RP50G-choic=0006;RP50G-SUBTY=4;RP50G-begda=01.01.1800;RP50G-endda=31.12.9999;DYNP_OKCODE=CHG'

So user able to change their details using above URL, but when user clicks on save button, it is showing PA30 main screen..I want o know how to avoid this screen...

My requirement is when user clicks on Save button, it should save and logoff from session.*

Regards

Srinivas

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member199125
Active Contributor
0 Kudos

any ideas guys

former_member194364
Active Contributor
0 Kudos

Hi Srinivas

Try creating a separate service to call transaction pa30

http://XXXXXXXXXXXXXXX/sap/bc/gui/sap/its/<MY_CUSTOM_SERVICE>?RP50G-PERNR=' lv_aempid

';RP50G-choic=0006;RP50G-SUBTY=4;RP50G-begda=01.01.1800;RP50G-endda=31.12.9999;DYNP_OKCODE=CHG'

MY_CUSTOM_SERVICE should have the GUI Configuration parameters in SICF

~webgui 1

~singletransaction 1

~transaction pa30

See the WIKI:

[How to terminate a user session with integrated ITS when the transaction ends? |http://wiki.sdn.sap.com/wiki/x/U2M ]

and

[Article - Employ SAP GUI for HTML instead of an Internet service|http://wiki.sdn.sap.com/wiki/x/i50 ]

By using above method, use the power of the WEBGUI service but also allows one to use the parameter ~singletransaction and ~webgui_simple_toolbar

It may not be exactly what you want - but will limit the user to just calling transaction pa30

Regards,

Oisin

former_member199125
Active Contributor
0 Kudos

Thanks for reply.

I have already implemented single transaction parameter in webgui service...

whenever employee open webpage he will get pa30 with info type 585 in change mode...once he clicks on save he will get pa30 main screen...

i want to avoid pa30 when user clicks on save button.

regards

`srinivas

former_member194364
Active Contributor
0 Kudos

Hi Srinivas,

Other than changing the ABAP code of the transaction PA30 I cannot see how this can be done., but perhaps others have created a different solution to overcome this?

Regards,

Oisin

former_member199125
Active Contributor
0 Kudos

Any ideas guys?

Regards

Srinivas