Skip to Content
author's profile photo Former Member
Former Member

Problem Reading DynamicParameters in Webdynpro

Hi All,

I am calling a Webdynpro application from JSP using EPCM.doNavigate


Below is the code:

EPCM.doNavigate('ROLES://portal_content/xxxx/xxxx/xxxxx?DynamicParameter=param1%3Dvalue1%26param2%3Dvalue2 , 1);

It is navigate to the Webdynpro application properly, But not able to read the parameter values. Both I am getting null.

I am reading these values using below code in Webdynpro:

String param1 = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("param1");
String param2 = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("param2");

Below is the URL...which I see in the browser.


If I navigate from other Webdynpro application using



It works fine.Below is the URL for that


Please let me know where I am doing wrong for the first one.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 15, 2007 at 06:14 AM


    Try to use DynamicParameter.

    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:


    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:


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




    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Ayyapparaj,

      Yes, I tried that but no luck.

      If you see the URL generated that is what I think the problem.


      Its taking NavigationTarget to invoke Webdynpro application, but ignoring DynamicParameter.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.