To control Web Dynpro ABAP runtime or Web Dynpro ABAP applications, you can add URL query string parameters to a request URL. To do this, you simply extend the URL in the browser:
<scheme>://<host>.<domain>.<extension>:<port>/sap/bc/webdynpro/<namespace>/<application name>?<parameter name>=<parameter value>
http://us7211.wdf.sap.corp:50021/sap/bc/webdynpro/sap/demo_table?sap-language=EN
Parameter names and parameter values are not case sensitive (exception: sap-exiturl if a server is linked that does differentiate between upper and lowercase). You can combine several parameters in one URL.
Be aware of the security issues relating to URL and application parameters. For more information, see Data Security in Web Applications.
Setting Parameters
You can set URL and application parameters in the following places:
In the Web Dynpro application (in transaction SE80 in the Web Dynpro explorer for the application on the Parameters tab page).
You can either define new parameters or select a predefined parameter and assign a value to it.
In the application configuration (Web Dynpro application CONFIGURE_APPLICATION, tab Parameter).
Globally for all applications and a specific client using Web Dynpro application WD_GLOBAL_SETTING:
Call the WD_GLOBAL_SETTING Web Dynpro ABAP application, and enter the value you want the parameter to be for all applications.
For the user and all applications (with user parameters – only possible for a few parameters).
For the current call (as a URL parameter – in this case, the parameter names are not case-sensitive).
Types of Application Parameters
Application Parameter |
URL Parameter |
Possible Values |
Description |
---|---|---|---|
WDACCESSIBILITY |
SAP-ACCESSIBILITY |
|
Activates Accessibility support. This parameter can be activated in all of the places named above. OR logic is used (the parameter can be activated in one place). This parameter is normally either defined on a user-specific basis or specified for test purposes in the URL. Name of the user parameter: ACCESSIBILITY_MODE |
WDACCESSIBILITYMODE |
SAP-ACCESSIBILITYMODE |
|
Specifies which screen reader support is used
|
WDALLOWUSERAGENTS |
|
Specifies the browsers in which Web Dynpro applications can be run.
For more information, see Changing the Default Browser Detection. |
|
WDALLOWMULTIPLEACTIONS |
WDALLOWMULTIPLEACTIONS |
|
Specifies that more than one action per roundtrip can be processed. For more information see Multiple Actions per Roundtrip in Phase Model. |
WDALLOWQUICKVIEWS |
|
Specifies whether quick views are to be available or not. The parameter cannot be forwarded as a URL parameter. Administrators can set this parameter as an application parameter in the global settings. The application can use IF_WD_APPLICATION->GET_QUICKVIEWS_ALLOWED() to import the parameter during runtime. Note
If the application is running in accessibility mode, the result is always abap_false because quick views cannot be displayed in this mode. |
|
WDALLOWVALUESUGGEST |
WDALLOWVALUESUGGEST |
|
Activates and deactivates the function for Suggested Values for Input Fields. |
WDDELTARENDERING |
SAP-WD-DELTARENDERING |
|
View-based Delta Rendering. For many applications, it has proven sensible to only send changed views to the client. However, this makes it more difficult to detect changes and to perform tests since the application must be completely tested with delta rendering active. Typically, this parameter is set in the application. However, it sometimes makes sense to set the URL parameter for test purposes. If the context changes are to be traced (in WD_TRACE_TOOL), you have to set this parameter. |
WDDISABLEDYNAMICRESOURCESDN |
|
Download options suppressed with UI element FileDownload, function AttachFileToResponse, and all active components (e.g. OfficeIntegration, GANTT). For more information, see Security Notes for Downloading Files. |
|
WDENABLEFIELDHISTORY |
|
Activates or deactivates the history of an input field, either system-wide or for individual Web Dynpro applications. For more information, see Suggested Values for Input Fields. |
|
WDENABLEXBCMLCLIENT |
|
Activates eCATT rendering for a client for an application. For general information about eCATT, see Extended Computer Aided Test Tool. For information about eCATT and Web Dynpro ABAP see eCATT and Web Dynpro ABAP. |
|
WDFAVICON |
|
Enables a favorites icon (favicon) to be displayed on the left of the URL in the address line of a browser (see figure).
The parameter can be implemented at the following levels:
The value of the parameter is the relative URL to the favicon on the server. The data type of the favicon must be .ico. Note
If no value is specified, the SAP favicon is displayed (see figure). If you do not want to display a favicon at all, set the parameter about: blank. |
|
WDHELPCENTERDISPLAY |
|
Display mode for the Help Center for Web Dynpro ABAP applications. See also Utilizing the Help Center for Applications in SAP Business Suite, Making the Help Center Available for SAP Applications and Activating Help Center and Selecting Display Mode. With the standard setting the application Help Center opens in a separate browser window. If you want to display the Help Center in the side panel of the Web Dynpro application, use the value SIDE_PANEL. If the Web Dynpro window has sufficient space, the Help Center is displayed in the side panel of the application, if not, the standard setting applies. Note
In SAP NetWeaver Business Client (NWBC) the standard setting is to display the Help Center in the side panel. |
|
WDHIDEMOREFIELDHELPASDEFAULT |
|
The extended help display is deactivated by default. For selected individual fields you can reactivate the F1 help; see also Property Explanation. |
|
WDLIGHTSPEED |
SAP-WD-LIGHTSPEED |
|
The standard system has new Rendering Technology activated. The new rendering technology can be activated and deactivated for each client, in each application or in the URL. A distinction is made between the parameter being there but with an empty value (classic rendering is used), and the parameter not being there (the default value is used). |
WDPREFERREDRENDERING |
|
Define preferred HTML rendering mode.
For more information, see , and SAP Note 1753544 . Note In addition to application parameter WDPREFERREDRENDERING URL parameter sap-wd-htmlrendermode is also available. Note that this URL parameter can only be used internally at SAP.
|
|
WDREFFIELDBEHAVIOUR |
|
|
|
WDREMOTEDESKTOP |
SAP-WD-REMOTEDESKTOP |
|
Optimization for remote desktops (Windows Terminal Server). This switch deactivates the greying out of the background in popups. |
WDPROTECTEDAPPLICATION |
|
Isolates / protects the application on the client. Specifies that the application should run with the SSL (HTTPS) protocol and that no scripting between the portal and the application is allowed. Note that when you set this parameter Portal Integration can no longer function without restrictions. Portal eventing will not work anymore. Session handling is also affected (navigating away from iView or closing the browser), as is the work protection mode. Note also that UI element BIApplicationFrame does not work properly if you use this parameter. See also Web Applications Without Domain Relaxing. |
|
WDSHAREDREPOSITORY |
|
Specifies that the metadata belonging to an application is loaded into the shared memory. This can lead to memory performance problems. When using this parameter, make sure that the shared memory is large enough. |
|
WDUSESIGNEDAPPLETS |
UNSIGNED |
You use this parameter to specify whether the signed or unsigned Applet version of UI elements Gantt and Network is to be used.
|
|
SAP-WD-FLASHDEBUG |
|
This parameter is needed to debug a FlashIsland application. If the Web Dynpro application is openede with URL parameter SAP-WD-FLASHDEBUG=X, the debug file is automatically used instead of the .swf file for the FlashIsland. | |
SAP-WD-LOADONDEMAND |
|
The JavaScript sources for individual Web Dynpro ABAP UI elements are first loaded by default from the ABAP server and cached in the browser when they are needed for the first time. This saves resources because the smallest amount of JavaScript code is loaded from the browser and cached. In some cases this behavior is not wanted or necessary. If SAP-WD-LOADONDEMAND is not activated, all JavaScript sources are packed in a file and sent to the browser. The amount of JavaScript code to be cached is much greater in this case but also no longer needs to be loaded. |
|
SAP-WD-SILVERLIGHTDEBUG |
|
This parameter is needed to debug a Silverlight application. If the Web Dynpro application is openede with URL parameter SAP-WD-SILVERLIGHTDEBUG=X, the debug file is automatically used instead of the .swf file for the SilverlightIsland. | |
SAP-WD-STABLEIDS |
|
Provides stable view element adapter IDs, which are required for tools for automatic testing (e.g. Web Dynpro ABAP unit test framework, eCATT). To display the view element adapter IDs, call technical from the running application, and navigate to the View Element Adapter tab. The IDs are listed in theView Element Adapter IDs column. Name of the user parameter: WD_STABLE_ID_F_TEST The user parameter does not work in productive operation. |
|
SAP-WD-SUPPRESSCUSTOMHTML |
|
With this parameter, you control whether HTML is suppressed, which was specified with an HTMLIsland, HTMLContainer, or HTMLFragment. You can use the parameter to check whether an error due to incorrect customer-defined HTML occurs. |
Application Parameters for Web Dynpro Adaptations
An application parameter is provided in the context of the Web Dynpro ABAP configuration framework:
See also: Web Dynpro ABAP Configuration Framework
Application Parameter |
Possible Values |
Description |
---|---|---|
WDDISABLEUSERPERSONALIZATION |
|
Suppresses the implicit personalization options. More information: Personalization and Customizing |
WDENABLEUIELEMENTSHIDE |
|
Suppresses the option to hide a UI element from the context menu. Remember that if this feature is activated or deactivated, the function "Restore All Changes" is also activated or deactivated. The setting does not affect the personalization of UI element Table. |
Application Parameters for Design Settings
Application Parameter |
URL Parameter |
Possible Values |
Description |
---|---|---|---|
WDFORCEEXTERNALSTYLESHEET |
|
URL parameter WDFORCEEXTERNALSTYLESHEET has been replaced with parameter WDUSEEXTERNALSTYLESHEET. For compatibility reasons, the WDFORCEEXTERNALSTYLESHEET switch is still evaluated. The default value WDUSEEXTERNALSTYLESHEET=ON must be set. For more information, see the description of parameter WDUSEEXTERNALSTYLESHEET. |
|
WDSTYLE_LABELALIGNMENT |
WDSTYLE-LABELALIGNMENT |
|
Controlling alignment of Label s. Value USEGL means that all Labels are right-aligned, if WDUIGUIDELINE=GL20 is set. All Labels are left-aligned, if WDUIGUIDELINE=GL11 is set. LEFT means that all Labels are left-aligned. Standard value RIGHT means that all Labels are right-aligned. If Label.width is set to initial, it is displayed with 100% width. Note
You can also set the parameter to RIGHT if you are using RTL as the read direction (URL parameter sap-rtl=X). Note that this is possible with GridLayouts and MatrixLayouts, but not with FlowLayouts. Activating right-aligned Labels can make the layout worse. In this case reset the width of the Label, and make changes to the layout. |
WDSTYLE_TOOLBARDESIGN |
WDSTYLE-TOOLBARDESIGN |
|
This parameter changes the appearance of ToolBarButton, ToolBarButtonChoice, ToolBarToggleButton in a ToolBar with property ToolBar.design=standard. Value FLAT means that the specified ToolBar UI elements are displayed with no highlighting, like text in the ToolBar. Value HIGH means that the specified ToolBar UI elements are displayed exactly like normal Buttons. Note
This application parameter only has an effect if ToolBar.design=standard. How the elements are shown on the UI also depends on the selected theme. |
WDTHEMEROOT |
SAP-THEME |
|
Stylesheets for the application without portal integration. You can import user-configured stylesheets with report WD_THEMES. See also Stylesheets in Web Dynpro ABAP. |
WDUIGUIDELINE |
WDUIGUIDELINE |
|
Classic or new behavior in visualization, filtering, sorting, and selecting. Siehe auch: Default value GL20 differs widely in the UI and in the behavior of some UI elements.
|
WDUSEANIMATION |
SAP-LS-USEANIMATION |
|
If the WDLIGHTSPEED parameter is active, this parameter (active by default) renders show and hide effects, for instance, for popups. You can deactivate this parameter if required for system performance. Name of the user parameter: WDUSEANIMATION |
WDUSEEXTERNALSTYLESHEET |
|
Web Dynpro applications use style sheets transferred by a portal or NWBC (URL parameters sap-ep-themeroot, sap-cssurl), provided the version of the stylesheet is new enough. If the version is too old, a fallback mechanism is executed. This avoids unattractive rendering and JavaScript errors. However, bear in mind that any customer branding can get lost. It is also possible to transfer a stylesheet installed on the SAP system using URL parameter sap-theme. With parameter WDUSEEXTERNALSTYLESHEET you can influence how information from external stylesheets is used.
URL parameter WDFORCEEXTERNALSTYLESHEET has been replaced with this new parameter WDUSEEXTERNALSTYLESHEET. For compatibility reasons, the WDFORCEEXTERNALSTYLESHEET switch is still evaluated. The default value WDUSEEXTERNALSTYLESHEET=ON must be set. For more information, see SAP Note 1679127 . |
Application Parameters for the Side Panel
The following application parameters are available in the Page Builder and side panel framework.
Application Parameter |
Possible Values |
Description |
---|---|---|
WDSIDEPANELCONFIGURATIONID |
<configuration id> |
Configuration ID of the Web Dynpro component WDR_CHIP_PAGE of type SIDEPANEL. This configuration determines the content of the side panel. |
WDSIDEPANELOPEN |
|
Specifies whether the side panel is opened or not when the program is started. |
WDSIDEPANELRESIZABLE |
|
Specifies whether the width of the side panel can be changed by the user or not. If the width can be changed, the side panel is separated from the main application by a splitter control. |
WDSIDEPANELREMOTEPRODUCER |
|
Enables sending of tagging data from a Web Dynpro application running in the NWBC content area. |
WDSIDEPANELREMOTECONSUMER |
|
Enables receipt of tagging data in the NWBC side panel (for example, for Page Builder or FPM applications running in the side panel). |
Local Application Parameters
You can only set the following application parameters locally for individual applications, and not globally for all applications.
Application Parameter |
URL Parameter |
Possible Values |
Description |
---|---|---|---|
WDCONFIGURATIONID |
SAP-WD-CONFIGID |
<config id> |
Configuration ID of the Application Configuration. Passes the ID of the application configuration. Typically, this ID is specified either in the application (various applications are defined for the use of various application configurations) or is defined from the portal as a parameter in the iView. |
WDSUPPORTSFULLHEIGHT |
SAP-WD-SUPPORTSFULLHEIGHT |
|
Web Dynpro application developers must decide whether applications are to always take up the maximum height or not. Depending on your requirements you set this application to one of the following values:
See also SAP Note 1266588 . |
Order of Evaluation
The setting options are evaluated in the order below:
In the parameters determined by the URL
The standard parameters defined for the Web Dynpro application
A URL parameter always overrides an application parameter.
The logon language is determined or proposed from the sources listed below: These sources are evaluated in the order below whereby the first in the list is the decisive source.
sap-language URL parameter
Default language in the setting for the System Logon for the Configuration Settings
Web browser languages (Accept-Language)
Default language of ABAP system
The language from the user account is not evaluated in the ABAP system.
The language you want must have been installed in your system.