cancel
Showing results for 
Search instead for 
Did you mean: 

ESS query:Show 'Known As' in the welcome area of Portal Masthead, plz guide

Former Member
0 Kudos

Hello All,

In ESS -> Personal Information iView, there is a field named 'Known As'.

Need to show this field value in place of the LastName,FirstName that appears by default in the Portal Masthead iView.

Example:

Default : Welcome Ritu Hunjan

My Known As value = sdnuser.

Then the Portal Masthead should show : Welcome sdnuser.

Please guide....

Awaiting Reply.

Thanks and Warm Regards,

Ritu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ritu,

I hope you know how to access the value of this Known As variable. If you can catch that then you have to create your own copy of the mastehad par file from the com.sap.portal.navigation.masthead par.

Copy this par and rename it with your own par file name.

Import it in NWDS.

open the HeaderiView.jsp file.

Search for the following code:

<TD nowrap class="prtlHdrWelcome" ti="0" tabIndex="0" id="welcome_message"><%=GetWelcomeMsg(componentRequest, welcomeClauseStr)%></TD>

replace the <%=GetWelcomeMsg(componentRequest, welcomeClauseStr)%> part with your own Welcome message - like Hello SDNUSER as you suggested.

Export the par file and create your own masthead iView out of that.

Regards,

Shubhadip

Former Member
0 Kudos

This needs to be done by custom development using NWDI

lakshmi_narayana2
Active Participant
0 Kudos

Ritu

Following is the procedure you have to follow

1.Download the masthead.par

2.Add the new code to connect with the BAPI which retrieves "My Known as" Value and print it in the masthead JSP.

Thanks

Lakshmi