cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

using the SYSTEM application for logon

lajitha_menon
Contributor
0 Likes
735

Hi there,

Sorry I am new to BSP, and I am trying to use the system application to create a login page for my custom application. In the SAP help at help.sap.com, they have said that you need to give the url /sap/public/bsp/sap/system/login.htm?sap-url=<%=PATHTRANS%> in the error handling section for your bsp appln in transaction SICF.

I tried it, but it brings up a dialog for username and password. I enter my SAP user name and password and it brings up a bsp error page saying

BSP exception: Implementation of page login.htm changed during runtime.

If I press cancel and dont enter my sap user name and password, it takes me to a page, which says the text Enter User name and Password, but there are no fields to enter in the screen. The screen is just blank.

Can anybody help please.

Many Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

rainer_liebisch
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

for using the system BSP application please read the note 517860 (there is a document attached which describes everything in detail) and make sure that you have applied note 779502 to your system. It is important that you fulfill the Prerequisites given in the first note.

If you are on 620 you can use it for your applications, but if you are on 640 or above, I recommend to use the ICFX login instead. The deatils are described in the online documentation:

http://help.sap.com/saphelp_nw04/helpdata/en/ff/c7de3fc6c6ec06e10000000a1550b0/frameset.htm

Regards,

Rainer

lajitha_menon
Contributor
0 Likes

Thanks for the replies. I am in 6.2, not 6.4 so cannot use the features there.

Also I have not configured webAS as specified in the configuration checklist for SSO2 and SSL. Guess that is why it was not working. Have to retry after that.

thanks

lajitha_menon
Contributor
0 Likes

Hi,

In continuation to my earlier post, I have now configured the system for SSO2. I have installed the Cryptographic Library but cannot spend money to get the certificate from a trusted CA. So the step in the pre-requisite document asking for sending the certificate to a Certification Authority(CA) cannot be done. Also, in the help, it has been mentioned that WebAS configuration for using SSL is optional only.Hence I expect it to work despite this.

As of now when I call my Z application with redirect URL set in SICF, it is showing the login page successfully now instead of the popup, but the credentials I enter in the page are not getting validated, so it is showing me the same login page with fields blanked when I click on 'Login'!!!It is not passing my credentials to my Z BSP application. What could be the possible reason for this?

Also SSO2 cookie does not seem to work in the sso2test.htm on the system application as it is showing me the popup. I cannot figure out why though, because I have set the profile parameters as per the documents. I have also configured for https and I can see the service https listening on port 1443 in SMICM under services. The http and https services are active.

Can anybody pleeeeaaaaase help.

Thanks a million

athavanraja
Active Contributor
0 Likes

you dont need HTTPS you only need SSO2 to work correctly for your case.

are you using Fully qualified domain name?

Regards

Raja

lajitha_menon
Contributor
0 Likes

Hi Raja,

Thanks for the reply. Yes I am using a fully qualified domain name.

lm

athavanraja
Active Contributor
0 Likes

The Internet browser must accept cookies. You can set this in Internet

Explorer 6 by selecting the 'Tools' > 'Internet options...' >

'Privacy' menu option.

also the following profile parameters need to be set

login/accept_sso2_ticket = 1

login/create_sso2_ticket = 2

icm/host name full = host.domain.com

Regards

Raja

lajitha_menon
Contributor
0 Likes

Hi Raja,

Are you sure login/create_sso2_ticket should be set to 2?? Because it is mentioned in help as 1, not 2.

Other settings mentioned in your message are done as specified.

lm

athavanraja
Active Contributor
0 Likes

it can be 2 or 1. but as per note no. 817529 SAP recommends 2.

documentation of login/create_sso2_ticket in transaction RZ11

login/create_sso2_ticket = 1 : SSO ticket incl.certificate

login/create_sso2_ticket = 2 : SSO ticket without certificate

you can decide which one suits your case.

Regards

Raja

lajitha_menon
Contributor
0 Likes

Thanks for the note number, It was helpful, but still I am unable to resolve the issue. I notice that when it shows the login page in my custom bsp, it validates the user name and password if it is given incorrectly. So if I give the wrong password it immediately gives the message of incorrect password. But If I give the correct credentials, it goes to SAP and brings me the same login page again with blanked fields. I am planning to debug this process to find out why it is not passing the credentials to my application. Anyway, sso2test.htm is also not working, so it must be something to do with the cookies. Not able to figure out what, though.

Thanks for your help,

Cheers,

LM

Former Member
0 Likes

Hi,

If you are using logon ticket method of implementing SSO, logon ticket is stored as a non-persistent cookie in the browser with the name MYSAPSSO2. It is deleted when the user logs off or closes the browser.

Check out whether MYSAPSSO2 Cookie is generated or not while you login into the BSP applicaion.

Regards,

Ravikiran.C

Former Member
0 Likes

I configured SSO2 on our server following steps mentioned above. Now, the popup requesting username and password does not pop up. But I have another problem. I am not able to enter Service Users here. It is accepting only Dialog Users. Can you please help me out, as I thought service users were for using WAS based applications.

Thank you.

Answers (2)

Answers (2)

former_member191062
Active Contributor
0 Likes

Hello,

also make sure that you have enabled all services as described in OSS note: #517484.

Regards,

Dezso

eddy_declercq
Active Contributor
0 Likes

Hi,

Are you already working wit WebAS 6.4? If so, have a loak at

/people/sergio.ferrari2/blog/2007/04/06/bsphowto--customizing-the-design-of-system-logon-page-in-netweaver-04

Check also note 517860 and http://help.sap.com/saphelp_nw04/helpdata/en/1d/13c73cee4fb55be10000000a114084/frameset.htm

Eddy