Skip to Content
avatar image
Former Member

Passing Dynamic Parameter to URL

Hi All,

I have a Webdynpro Application, where I am calling a separate iView through a URL (Quick link to that iView) using a LinkToAction UI element.

Now, we need to pass a parameter (say Part Number) to the external iView through our webdynpro application.

The external iView when called should be filled with a value by default. This value has to be retreived on some parameter from the main application.

Can anybody suggest how to achieve this? We are presently using a common URL, so when the external window opens the iView will be blank. But now we need that when the user navigates to the external window, it should appear with the corresponding value.

How can we make the URL to pass dynamic parameters?

Any suggestions on this will be appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 16, 2011 at 01:06 PM

    Hi Becky,

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


    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:


    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:


    · 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:


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

    We did same for one of the requirement in our project let us know if you have any issues.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jeetendra,

      Thanks for your response.

      But here the scenario is, I have to pass the value to an iView (ITS application iView) from my Webdynpro application.

      I am currently using a Quick link url provided to me to call that particulay iView in an external window.

      Now my requirement is, when the external window is called from my webdynpro application, it should open with the value already entered into it.

      Also, this particular ITS iView is used in several places. But this change should reflect only in the case when it is called through this Webdynpro application.

      So following are my questions:

      1) For this, do i need to make changes in both webdynpro and the ITS iView?

      2) How can i add teh Dynamic parameter to existing URL? My url now looks like "/irj/portal/supplier/Create". can you tell me how to add the dynamic parameter to this url?