Show TOC

Application Parameters and URL ParametersLocate this document in the navigation structure

Use

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>
         
Example

http://us7211.wdf.sap.corp:50021/sap/bc/webdynpro/sap/demo_table?sap-language=EN

The parameter names are case sensitive, as are the parameter values (exception: sap-exiturl, if they link to a case-sensitive server). You can combine several parameters in one URL.

Caution

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).

In WD_GLOBAL_SETTING application parameters are sorted in groups that are thematically connected.

Types of Application Parameters

Application Parameter

URL Parameter

Possible Values

Description

WDACCESSIBILITY

SAP-ACCESSIBILITY

  • X

  • No value specified

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

WDALLOWMULTIPLEACTIONS

WDALLOWMULTIPLEACTIONS

  • X (standard value)

  • No value specified

Specifies that more than one action per roundtrip can be processed. For more information see Multiple Actions per Roundtrip in Phase Model.

WDALLOWVALUESUGGEST

WDALLOWVALUESUGGEST

  • ON (standard value)

  • OFF

  • No value specified

Activates and deactivates the function for Suggested Values for Input Fields.

WDDELTARENDERING

SAP-WD-DELTARENDERING

  • ON (standard value)

  • OFF

  • No value specified

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.

WDHELPCENTERDISPLAY

  • NEW_WINDOW (standard value)

  • SIDE_PANEL

Display mode for the Help Center for Web Dynpro ABAP applications.

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.

WDENABLEXBCMLCLIENT

  • X

  • No specification (default value)

Activates eCATT rendering for a client for an application. For more information, see eCATT and Web Dynpro ABAP.

WDHIDEMOREFIELDHELPASDEFAULT

  • X

  • No value specified

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

  • X (standard value)

  • No value specified

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).

WDPROTECTEDAPPLICATION

  • X

  • No value specified

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

  • X

  • No value specified

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.

SAP-WD-FLASHDEBUG
  • X (standard value)

  • No value specified

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
  • X (standard value)

  • No value specified

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
  • X

  • No value specified

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.

Application Parameters for Modifications

Application parameters are also available for the various types of Modifications.

Application Parameter

URL Parameter

Possible Values

Description

WDDISABLEUSERPERSONALIZATION

  • X

  • No value specified

Suppresses the personalization options for the end user. More information: Personalization and Customizing.

This parameter can be used to prevent users from making changes to the UI. The parameter is usually set in the application, in the application configuration, or globally. It is not intended to be used as a URL parameter.

Application Parameters for Design Decisions

Application Parameter

URL Parameter

Possible Values

Description

WDFORCEEXTERNALSTYLESHEET

  • X

  • No value specified

The Web Dynpro framework automatically compares the versions of the stylesheets in the portal and in Web Dynpro for ABAP. If Web Dynpro for ABAP has a newer version, the WDA style sheet is used. This avoids unattractive rendering and JavaScript errors. Bear in mind that any customer branding can get lost. You can deactivate this behavior again using this application parameter. More information: SAP notes 1033496 Information published on SAP site and 1073498 Information published on SAP site.

WDSTYLE_LABELALIGNMENT

WDSTYLE-LABELALIGNMENT

  • USEGL (standard value)

  • LEFT

  • RIGHT

  • No value specified

Controlling alignment of Label s.

The standard 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. 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.

WDTHEMEROOT

SAP-THEME

  • sap_chrome

  • sap_hcb

  • sap_highcont

  • sap_standard

  • sap_tradeshow

  • sap_tradeshow_plus

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

  • GL11 (standard value)

  • GL20

Classic or new behavior in visualization, filtering, sorting, and selecting. For more information, see:

.

The standard value GL11 specifies the classic Web Dynpro ABAP behavior. As part of this each ToolBar with design=standard becomes a "standard" ToolBar, which means the ToolBarButtons look like the standard Buttons in Web Dynpro.

Value GL20 differs widely in the UI and in the behavior of some UI elements.

  • Each ToolBar with design=standard becomes a "flat" ToolBar.

    ToolBars with other values for their design property (that is, emphasized and transparent) remain rendered.

    Note

    In all SAP themes except for SAP_Standard the emphasized and standardToolBar look the same. In principle, they can look different in a customer theme because in theory different CSS classes can be defined for emphasized and standard.

  • The red star for visualizing the state property with value required is always rendered on the left side of the Label. See also Truncating Contents in the FormLayout.

  • With drag & drop in MatrixLayout and GridLayout visualization has been changed slightly: The insert selection is now a dashed line specifying the insert position and no longer a box with the dimensions of the dragged object.

WDUSEANIMATION

SAP-LS-USEANIMATION

  • X (standard value)

  • No value specified

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

Application Parameters for the Side Panel

The following application parameters are available in the Page Builder and side panel framework.

Application Parameter

URL 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

  • X

  • No value specified

Specifies whether the side panel is opened or not when the program is started.

WDSIDEPANELRESIZABLE

  • X (standard value)

  • No value specified

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.

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

  • 0

  • 1

  • 2

  • 3

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:

  • 0 (standard value)

    If this parameter has value 0, the framework sets the value to 1 in a portal environment, and to 2 in a stand-alone environment. This is the correct value for the majority of applications. This ensures that the automatic height adjustment of the iView is supported in the Portal, and in the stand-alone case the application takes on the full height of the browser window.

  • 1

    If this parameter is set to 1, the application does not extend to the full height of the browser. This is the correct setting if applications are running in an iView with automatic height adjustment. If not, UI elements with 100% height are not necessarily displayed in their full size. Some UI elements (for example, InteractiveForm) may not be displayed correctly in Firefox.

  • 2

    If this parameter is set to 2, the application can use the full 100% height of the browser. This will avoid any problems with Firefox. It is best though not to use any such applications in iViews with automatic height adjustment, since these can appear overstretched in the Enterprise Portal. To set an application to 100% height, you have to observe the following rules when setting application parameter WDSUPPORTSFULLHEIGHT:

    • The height of container-type UI elements (for example, TransparentContainer, Group, Tray, etc.) must be set to 100%. This applies particularly to ROOTUIELEMENTCONTAINER.

    • Only layouts of type MatrixLayout and GridLayout are allowed to be used. Toggle the stretchedVertically flag to true.

    • Property vAlign for all instances of GridData and Matrix(Head)Data must be set to top.

  • 3

    If this parameter is set to 3, the framework uses the full height, without a scrollbar. With a value of 3 this parameter behaves as with 2, but with no scrollbar. Content that is too long is cut off. Use the parameter with value 3 if you create a page that uses 100% of the width and height, and has its own containers with scrollbars. This means that the application itself takes care of the scrolling behavior.

See also SAP Note 1266588 Information published on SAP site.

Order of Evaluation

The setting options are evaluated in the order below:

  1. In the parameters determined by the URL

  2. 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.

  1. sap-language URL parameter

  2. Default language in the setting for the system logon for configuration settings

  3. Web browser languages (Accept-Language)

  4. Default language of ABAP system

Note

The language from the user account is not evaluated in the ABAP system.

The language you want must have been installed in your system.