cancel
Showing results for 
Search instead for 
Did you mean: 

Button enabling based on Access Rights/View Assigment

wwojtas
Explorer
0 Kudos
291

Hi Experts,

I've created a BO with TI view with some custom buttons and actions. I would like to enable one of the buttons for only specific part of the users.

Only solution I can think about is to create duplication of all views created without this button and assign users to separate WC, but that seems so overcomplicated for a that simple task.

Do you have any ideas how to make it easily? Maybe there is some possibility for a calculation rule on enable property where I could check some access rights?

Regards,
Waldi

Accepted Solutions (0)

Answers (1)

Answers (1)

senthilmurugan
Participant
0 Kudos

Hi Waldi,

One solution I could think of is...

1) Create UI switch and assign users

2) Add transient flag in BO

3) Set the flag to true/false based on the UISwtich (Context Library) in after loading.

https://answers.sap.com/questions/13130472/cloud-application-studio-ui-designer-script-refer.html

BR,

Senthil