Show TOC Start of Content Area

Background documentation Sending URL Parameters to Applications  Locate the document in its SAP Library structure

URL parameters can be included in a portal URL that calls a Web Dynpro page, and these parameters can be forwarded to the iViews on the page and read by the underlying Web Dynpro applications.

A Web Dynpro application can get URL parameters passed to the iView with the following code:

WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter

Page Parameters

You can send URL parameters to a Web Dynpro page in the following ways:

      Add to the URL a parameter called DynamicParameter, whose value is a set of key-value pairs to send to the page.

The following is the format for the DynamicParameter parameter:

DynamicParameter="param1=value1&param2=value2&"&

The value ("param1=value1&param2=value2&") must be URL encoded.

      Add to the URL parameters that start with sap-.

      Add parameters to the businessParameters parameter of the navigateAbsolute() or navigateRelative() method, as described in Absolute Navigation and Relative Navigation.

iView Parameters

The following are the URL parameters that get passed to each iView on the page, and then to the underlying Web Dynpro application:

·        The static parameters defined in the Application Parameters property for each iView. The property value is a set of key-value pairs in the following format:

param1=value1&param2=value2&

·        The parameters passed to the page (those defined in the DynamicParameterparameter as well as all parameters starting with sap-).

For isolated iViews in a Web Dynpro page, only the parameters specified in the Parameters to Pass from Page Request property for each iView are passed to that iView.

The property value is a list of parameter names, separated by commas, as follows:

param1,param2,param3

To specify all parameters, enter an asterisk (*).

 

End of Content Area