on 05-06-2013 5:19 PM
My client is running ECC 6.0 with basis 7.31 patch 5(SAPKB73105).
I have created a z service to run my custom ITS transactions.
In the service I have selected Altertnate Logon Prodedure and have removed all the procedures except Logon Through HTTP Fields. There is no option for Fields Authentication, as all the help that I read indicates that should be the option.
When I run my service and then select F8 Logoff, I am able to logout. But I would like to be redireted to the logon screen. So, I have created an Explicit Reponse Body page under the Error Pages->Logoff Page. That code reads:
I run the service, I am prompted to logon (as should be), then I F8 Logoff and the popup for Yes/No displays. I select Yes and I see the Disconnecting then I am returned to the Menu and not to the Logon Screen as should be.
What am I missing? I have read all the OSS notes and help, but none has been relevant to my issue.
Thanks!
Hi Donna,
I think, you have error in JS home() function.
You write:
function home() {
var url = 'http://' + window.location.host + '/sap/bc/gui/sap/its/zlm_its?command=logoff?';window.location.replace(url);
}
Should be like this:
function home() {
var url = 'http://' + window.location.host + '/sap/bc/gui/sap/its/zlm_its?~command=logoff?';window.location.replace(url);
}
Sometimes ITS wants to exit URL in path:
function home() {
var url = 'http://' + window.location.host + '/sap/bc/gui/sap/its/zlm_its?~command=logoff&exiturl=http://<host>/path_to_logon_page';
}
BTW: Why you decided to use old ITS? I think the better (and more flexible) way is to use WebDynpro for ABAP to achieve this.
Regards,
Marcin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Marcin, Thank you for responding. I have made the changes that you suggested. My logoff page now reads:
<html><head><title>
Logoff Page
</title><script>
function home() { var url = 'http://' + window.location.host + '/sap/bc/gui/sap/its/zlm_its?~command=logoff&exiturl=http://hostname.com:8000/sap/bc/gui/sap/its/zlm_its';
window.location.replace(url); }
</script> </head> <body onload="home();">
...Disconnecting...
</body></html>
(Note that I have removed the actual clients hostname and replaced with hostname for privacy here).
However, it is still, after pressing F8 Logoff and selecting Yes button, returning me to the menu instead of the logon screen. Suggestions?
Hi Donna,
As of release 7.31 the http security management is active per default.
See note 1322944 for additional information.
FYI This also means you should harmonize the security timeout with
the timeout settings mentioned in note 705013.
For proper logoff please adapt your service as explained in note
1777513. To be re-routed to the logon screen you should add this
string to the field "Redirect to URL"
/sap/public/bc/icf/logoff?redirecturl=/zlm_its
###### Note's - SDN logon required #######
1322944 ABAP: HTTP security session management
1777513 WebGUI logoff does not work
705013 Timeout for ICF services based on ITS
Regards,
Oisín
Hi Donna,
Thanks for your reply
I did this change before posting this question here. weirdly this was not working on my desktop browser IE and was working fine(logging out & then logged in) without any problem in the Scan gun's browser.
I was reading few threads to understand this, it looks like it differs from browser to browser.
Thanks & Regards,
Avinash
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.