The first part of the long URL consists of the short URL as described in section Short Form of URL , plus the following elements:
.../~canvas/<canvas type>/<client_type>/<canvas relevant sequence>/[?parameter sequence][sap parameters]
Element |
Optional |
URL |
Description |
---|---|---|---|
Content area (canvas) delimiter and options |
/~canvas[;window=main|app|embedded][;decoration=no_branding] |
If this is a URL that loads a specific content area (canvas), this ~canvas sequence must be available. The window and decoration qualifiers are optional.
Example: http://<server>.<domain>.<ext>:<port>/sap/nwbc/~canvas;window=app/wda/myApplication/ |
|
Target-specific description |
/transaction/<transaction_code> [;client_type=auto|sapgui|webgui] /wda/[<namespace>/]<name> [;client_type=auto|html] /url/<segment>/... /roleEntry/<role_name>:<id> /sitemap /obn/<object>.<method> /applicationAlias/<alias> |
Segment that describes the type of the content area (canvas) being loaded. These strings describe the different content area types that can be used.
|
|
Trailing slash / |
/ |
The extra slash / is needed to lock the previous segment and to 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 should not contain any NWBC-relevant parameters or options. Note
If a transaction is to be started, the startup parameters must still be specified as normal URL parameters (in the format &name=value). At runtime, the parameters are correctly transformed into the format required by SAP GUI for HTML. |
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. |
Examples
To start transaction Create Purchase Order ( ME21) directly in NWBC, use the following sequence:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/transaction/ME21/
To force-start the same transaction in SAP GUI while using NWBC for HTML, add the client_type qualifier:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/transaction;client_type=sapgui/ME21/
To start the Web Dynpro ABAP application IT00, shipped by SAP in the default namespace, use the following sequence:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/wda/IT00/
However, if the Web Dynpro ABAP application was developed in a specific namespace, it must also be specified. For example, to start /SRM/Inbox, use the following sequence:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/wda/SRM/Inbox/
The start URL of a Web Dynpro ABAP application with certain parameters specific to Web Dynpro ABAP can look as follows:
https://uxai5q35.wdf.sap.corp:44321/sap/bc/nwbc/~canvas;window=app/wda/hress_a_persinfo/?WDCONFIGURATIONID=HRESS_AC_PERSINFO&sap-client=004&sap-language=EN
If specifying a BSP application myApp that needs to be started, use the url sequence and specify the complete URL to start:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/url/sap/bc/bsp/sap/myApp/default.htm
To start a specific entry in a role without knowing what the entry is, use the roleEntry sequence. For example, given the role PROCESS_MONITOR, start entry 27 with the following sequence:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/roleEntry/PROCESS_MONITOR:27/
To embed all roles in an external portal, you can use an NWBC for HTML link that shows a service map for all roles:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas;window=embedded/sitemap/
To embed one complete role in an external portal, you can use an NWBC for HTML link that selects a complete role and shows a service map for the role:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/SAP_ESS/~canvas;window=embedded/sitemap/
To use a symbolic call, consider using an OBN call that is resolvedonly at runtime using the specific assigned roles. For example, to start a process monitor application, map the OBN sequence process.Monitor in the assigned role and use the following startup URL:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/obn/process.Monitor/
To start an overview application, assuming the application alias OVERVIEW_APP has been defined for a specific entry within the user-assigned roles, use the following:
https://ldcibqi.wdf.sap.corp:44376/sap/bc/nwbc/~canvas/applicationAlias/OVERVIEW_APP/