cancel
Showing results for 
Search instead for 
Did you mean: 

customizing Personas default URL

Former Member
0 Kudos

Hi,

Is it possible to alter default personas url, so that it is generated every time for specific transaction and flavor?

Should I give these parameters in webgui configration, and how?

Because we use complicated mapping of flavors for users and when the screen needs to be refreshed, it thorws you back on the default sen flavor, but we would like that URL generates dynamically along with user's made path.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Diana,

You have multiple options to assign flavors to users. I have a listed a few here:

1. Assign flavors and set them as default using the transactions /PERSONAS/FLAVORS and /PERSONAS/USERS.

2. Assign flavors and set them as default based on PFCG roles using the transaction /PERSONAS/ROLES.

3. For more complex rules for flavor assignment, the BADI /PERSONAS/INIT_ROLE_ASSIGNMENT can be implemented. This has been documented in the following KB article - https://wiki.scn.sap.com/wiki/display/Img/Manipulation+of+flavor-role-assignments+using+BAdIs

4. You can use the SAP GUI for HTML URL parameter ~transaction and SAP Screen Personas URL parameter sap-personas-flavor to go to a specific transaction and flavor. The URL with these parameters can be fetched by using the 'deep link' button (chain link icon) in the flavor bar for a specific flavor. For more information on SAP Screen Personas URL parameters, please refer to the following KB article - https://wiki.scn.sap.com/wiki/display/Img/URL+Parameters+available+in+SAP+Screen+Personas+3.0

Best regards

Kranthi

Former Member
0 Kudos

Thnaks Kranthi,

butI think you you didn't quite understand what I am looking for.

I want to know is it possible to make personas URL dynamic?

Now link, no matter , in what transaction or flavor I am is

http://server:port/sap/bc/personas?sap-client=100&sap-language=EN&sap-sec_session_created=X

but I want it to change dynamically as I go from tcode to tcode from flavor to flavor.

Thanks, Diana

0 Kudos

Hi Diana,

The URL of SAP Screen Personas does not change when a user navigates from one transaction to another or from one flavor to another. When the browser's 'reload' button is pressed, the session is refreshed and any unsaved data will be lost. So, I don't understand why you would want your users to use the reload button to go back to a transaction they were on.

If you just want the users to go to a specific transaction and flavor when the reload button is pressed, you can use the deep link URL that I mentioned in my previous response. The URL looks similar to this:

https://<host>:<port>/sap/bc/personas?sap-client=100&~transaction=SU01&sap-personas-flavor=005056AB61161ED691F417E065351421

When the user reloads this link, it will take the user to the transaction SU01 and the flavor from the URL.

Best regards

Kranthi

SAP Screen Personas Team

0 Kudos

Kranthi or who else could assist:

what if you would like to use this dynamic url across clients, and the client number (depicted above as 100), changes from dev to production, please?

Is there a placeholder for the client number as well as there is for <host> and <port>?

Thanks,

Gabriela

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

There is no placeholder for the client... those placeholders in the URL provided by Kranthi have to be replaced with the actual server and port number.

Similarly, the URL must be built with the correct client number.