Show TOC

Long Form of URL for ~roletest SequenceLocate this document in the navigation structure

Use

The first part of the long URL consists of the short URL as described in section Short Form of URL, plus the following elements:

.../~roletest/<role>/[?sap parameters]

Element

Optional

URL

Description

~roletest as delimiter

 

/~roletest

Segment that informs SAP Business Client to test with a specific unassigned role

Role-specific information

 

/~roletest/<role>

Segment that specifies the name of the role that needs to be tested. This can be any role in the system (see transaction Role Maintenance ( PFCG) that is not assigned to the user.

Note

Only the navigation tree is shown in SAP Business Client, no authority objects from the role are assigned to the user.

Trailing slash /

 

/

The extra slash / is needed to lock the previous segment and allow page-relative URLs to work.

Query string

yes

?name=value&name=value&…

The query string is passed unchanged to the called application. It does not, and must not, contain any SAP Business Client-relevant parameters or options.

SAP parameter

yes

&sap-client=<nnn>

&sap-user=<user name>

&sap-language=<XX>

Note that an additional sap-client is always added to ensure an HTML URL always leads back to the correct client.

Example

For users using the UI services runtime: http(s)://<server>.<domain>.<ext>[:<port>]/ui2/nwbc/~roletest/SAP_BC_BASIS_ADMIN

For users using the SAP Business Client runtime: http(s)://<server>.<domain>.<ext>[:<port>]/nwbc/~roletest/SAP_BC_BASIS_ADMIN

Note

If the role name contains special characters ( “/”, “?”, or “=”), you have to encode the role name before adding it to the URL.

Example:

The original role name is as follows: / ROLEPREFIX/ SAP_BC_BASIS_ADMIN/

The encoded version of this role name is as follows:

%2FROLEPREFIX%2FSAP_BC_BASIS_ADMIN

The long form of the URL is as follows:

For users using the UI services runtime: http(s)://<server>.<domain>.<ext>[:<port>]/ui2/nwbc/~roletest/%2FROLEPREFIX%2FSAP_BC_BASIS_ADMIN

For users using the SAP Business Client runtime: http(s)://<server>.<domain>.<ext>[:<port>]/nwbc/~roletest/%2FROLEPREFIX%2FSAP_BC_BASIS_ADMIN