cancel
Showing results for 
Search instead for 
Did you mean: 

How to set default values for a user in sap fiori launchpad designer?

ahsanmirza
Explorer

Hello,

I want to set default values for the users for an SAP UI5 app and I want to do this in the FIORI launchpad designer where we provide parameters in the target mapping section. I want to give a fixed value (say 1000 for cost center). How can I achieve that?

I know that a user can set default values by going to settings > user defaults in the FIORI launchpad but I want to set the default values in the launchpad configuration so that all users who use the app would get the same default value.

Abdul_Waheed
Contributor
0 Kudos

Why do you want to set the value in launchpad designer instead of UI5 app?

ahsanmirza
Explorer
0 Kudos

To save time and work, I want to set up default values for all users in one go. All users using the UI5 app need the same default value.

Accepted Solutions (0)

Answers (2)

Answers (2)

gregorw
Active Contributor

When you check which OData Service is called when the User saves his personalization you will see it's:

/sap/opu/odata/UI2/INTEROP/PersContainers(id='sap.ushell.UserDefaultParameter',category='P')?$format=json&$expand=PersContainerItems.

So I would investigate where this informaiton is stored and if there is any API that you can use to pre-populate for the users.

saurabh_vakil
Active Contributor
0 Kudos

If you want to restrict access to only a single cost center (for example, 1000) for all users, why can't you provide relevant authorizations in the backend system so that the app shows data only pertaining to cost center 1000?

ahsanmirza
Explorer
0 Kudos

I just want to pre-populate default values for all users. For example when a user logs in to the launchpad for the first time, he should able able to see cost center (for example, 1000).