cancel
Showing results for 
Search instead for 
Did you mean: 

Display User Name instead of User ID in SAP Fiori LaunchpadHi

former_member214868
Participant
0 Kudos

Hi,

We are using the Standard Fiori Leave Request and Travel Applications with some customizations to suit our requirements with UI Add-on SP 10.

In the Fiori Launch pad, by default it showing the user id of the logged in user.

 

we need to show the user name (First Name/Last Name) instead of the user id and let us know if there is any configurations available for this.

Thanks,

Urmi

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

That name is loaded from sap/bc/ui2/start_up

in sap.ui.unified.Shell

oActionsUserButton = new sap.ui.unified.ShellHeadUserItem({

                    id: "actionsBtn",

                    username: sap.ushell.Container.getUser().getFullName(),

in sap.ushell.User

        this.getFullName = function () {

            return oData.fullName;

        };

so by creating enhancement for handler of start_up  SICF service you can manipulate fullName part of response

Answers (0)