on 08-03-2009 11:19 AM
Hello,
We are currently upgrading our 4.6C ERP to ECC 6.0. I am in charge of upgrading some ITS applications.
Some of those are setup to use a Service user to logon, and display a custom logon screen when they start. The users have to enter their User alias and their password in this first screen.
The underlying ABAP program then do a delayed logon with function SUSR_INTERNET_USERSWITCH. This works fine in our 4.6C system, but I cannot get it to work in the new system.
A "Raise Exception" dump is generated when the function is called, because the "INTERNAL_ERROR" exception was raised. Here is the ABAP code extract from the dump :
276 if not HTTPconnect is initial.
277 CALL FUNCTION 'HTTP_CONFIRM_USERSWITCH'
278 EXPORTING
279 SSO2 = TICKET "empty tickets are handled
280 EXCEPTIONS
281 NO_HTTP_SESSION = 1
282 OTHERS = 2.
283
284 if sy-subrc = 1.
--> RAISE INTERNAL_ERROR.
286 endif.
I have searched on SAP portal and on SDN without much success.
Would someone have an idea of what could be wrong ?
Thank you.
Thomas
Edited by: Thomas Debouverie on Aug 3, 2009 12:19 PM
its complaining of no HTTP session.
may be sso2 is not configured.
to check that run the following BSP application.
http://<server>.<domain>.com:<port>/sap/bc/bsp/sap/system/sso2test.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rainer,
The function SUSR_INTERNET_USERSWITCH does not recognize the integrated ITS properly and works only for the standalone ITS. As you may know, the Standalone ITS is not supported for Release 700 (see SAP note 709038).
Unfortunately there is no solution available yet.
Best regards,
Cristiano
Hello Cristino,
thanks for the info.
I opened a message at Service SAP Marketplace and will post the result (if any) here.
I handle this internal error at the moment with a work-around:
lv_user_before = sy-uname.
CALL FUNCTION 'SUSR_INTERNET_USERSWITCH'
EXPORTING
alias = lv_alias
password = lv_password
* IMPORTING
* BNAME_AFTER_SWITCH =
* PWDSTATE =
* PWD_CHANGE_SSO =
TABLES
return = lt_return
EXCEPTIONS
current_user_not_servicetyp = 3
more_than_one_mode = 2
internal_error = 1
OTHERS = 4
.
IF sy-subrc > 1
OR ( sy-subrc = 1 AND sy-uname = lv_user_before ).
* Error during User Switch
*
ELSE.
* everything OK
ENDIF.
Rainer
Hello Cristiano,
Did SAP eventually solve this problem?
I look foward to your reply.
Thanks
François
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.