cancel
Showing results for 
Search instead for 
Did you mean: 

Screen Personas 3.0 - Authority question

Former Member
0 Kudos

Hi,

i have copied the standard screen personas authority role /PERSONAS/CONSUMER_ROLE to a new Z_PERSONAS_CONSUMER role, and i have

deleted from this new authority role the runtime activities "Select_Flavor" and "Manage_Flavor".Therefore, the role has only the activity "Use_Flavor".

The new role is assigned to the user Consumer1. In transaction /PERSONAS/ADMIN the flavors F1 and F2 (both are flavors for transaction SMEN) are assigned to user Consumer1. Flavor F1 ist the default flavor.

In flavor F1 there is a script button, which calls the flavor F2 with script "session.utils.changeFlavor". But this script does not work in this case, the flavor can't be called. If i add in the authority role the runtime activitiy "Select_Flavor", the script works fine.


Therefore my question, if there are more flavors for a transaction, and the authority role is minimized to activity "Use_Flavor", the script "session.utils.changeFlavor" does not work any more?



Thanks,

Andreas

Accepted Solutions (0)

Answers (1)

Answers (1)

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Selecting the flavor using the flavor bar or a scripting method are the same thing, so yes, this won't work.

I see a use case however when someone wouldn't want to permit selecting a flavor manually by the user but the same should be allowed via a script... so it is debatable whether this SHOULD be possible

Former Member
0 Kudos

Exactly this scenario is true for my application - in my application i have a flavor with all input fields which are relevant for transaction PA30 and a button which calls a PA30 flavor by script.

After filling all fields and clicking the button, the PA30 transaction is executed automatically.

But the user should not be permitted to call the PA30 flavor manually.