cancel
Showing results for 
Search instead for 
Did you mean: 

Customizing the Logon error in SAP Portal

Former Member
0 Kudos
60

Dear All,

The standard SAP error message "Password has expired" is creating havoc

in users while changing his/her password,through portal. And we like to

change/customiz it,pleas help us in this.

Regards,

Suman.

Accepted Solutions (1)

Accepted Solutions (1)

benjamin_houttuin
Active Contributor
0 Kudos

see: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm

in conjunction with the explanation of this: http://wiki.sdn.sap.com/wiki/display/EP/ModifyingtheLogon+Page

Alternative an external link with more detail step4step... but be aware that its a bit older: http://jsbi.blogspot.com/2006/09/how-to-customize-login-screen-in-sap.html

Former Member
0 Kudos

Hi,

Thanks alot, the links hwich you have provided are not giving the solution to my problem. Please suggest. I am trying to change the standard SAP defined error message.

Regards,

Suman

benjamin_houttuin
Active Contributor
0 Kudos

>

> .... the links hwich you have provided are not giving the solution to my problem....

>

Yes they do... I quote: http://jsbi.blogspot.com/2006/09/how-to-customize-login-screen-in-sap.html

Changing Text

The text seen on the logon page is not in the JSP page, but in properties files which are called by tags like the Welcome text : <%=logonLocale.get("xtit_WELCOME")%>

In order to change "Welcome" to "Welcome to MyHR" you have to :
- Unzip the file umelogonbase.jar which you can find under dist\PORTAL-INF\lib
- Find the file "logonLabels_" which contains your language;
e.g. for german logonLabels_de.properties,
for russian logonLabels_ru.properties or
for English logonLabels_en.properties

The default is in the file logonLabels.properties .

- Find the key which is used in the tag (here it is xtit_WELCOME) and change the text after the equal sign.

- Save the changed file and create a updated JAR file using a zip program. The file needs to be named umelogonbase.jar, not umelogonbase.zip or umelogonbase.jar.zip.
- Put the JAR file back to dist\PORTAL-INF\lib.

So in other words, the text that you want to change is encapsulated in the login page component. it is language dependent as mentioned above. If you follow the steps then you will solve your problem.

But if you are not familiar with changing/customizing component please leave it up to a person that is.

Cheers,

B

Former Member
0 Kudos

Hi,

I changed the message text and updated the com.sap.portal.runtime.logon.par file from System administration>Support>portal Runtime-->Administration console and uploaded the par file from there, but the logon page is giving portal runtime error,is anything else required to change,please suggest.

Regards,

Suman

benjamin_houttuin
Active Contributor
0 Kudos

Maybe this helps... again a quote from: http://jsbi.blogspot.com/2006/09/how-to-customize-login-screen-in-sap.html

3) Check, that you have the following 2 JAR files under the subfolder /lib :
1. com.sap.portal.runtime.logon_api.jar
2. umelogonbase.jar

If you don't have these file, you will see a portal exception on the Logon page and the log file will have the entry:

Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent of Portal Component my.new.logon.certlogon because: Could not find implementation class

at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.getInstanceInternal...

The files you need are located in the original PAR file. Just open it with a Unzip Program and copy the files in your project.

cheers,

B

p330068
Active Contributor
0 Kudos

Hi Suman

Please check the blog and above suggestion.

Please try to deploy PAR from NWDS and check it.

Hope it will helps

Regards

Arun Jaiswal

Answers (1)

Answers (1)

benjamin_houttuin
Active Contributor
0 Kudos

Suman please close as it is the same

Edited by: Benjamin L.F. Houttuin on Sep 30, 2010 12:29 PM