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 NWBC 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 NWBC, 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 NWBC-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. |
http(s)://<server>.<domain>.<ext>[:<port>]/nwbc/~roletest/SAP_BC_BASIS_ADMIN
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:
http(s)://<server>.<domain>.<ext>[:<port>]/nwbc/~roletest/%2FROLEPREFIX%2FSAP_BC_BASIS_ADMIN