cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass and fetch multiple parameter in the URL of the Web Dynpro

p330068
Active Contributor
0 Kudos
595

Please help me to fetch parameter in runtime from the URL in web dynpro allication. Like

MyApplication?SAPtestId=Arun?SAPtestId=Kumar?Test2=Jaiswal;

I want to fetch the value of the SAPtestId, Test1 and Test2 in the web Dynpro Application.

Please help me on this asap. thanks

View Entire Topic
Former Member
0 Kudos

Hi Arun,

You can use the following code to get parameters from an URL

IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();

IWDRequest request = protocolAdapter.getRequestObject();

String paramValue1 = request.getParameter("SAPtestId");

String paramValue2 = request.getParameter("Test1");

String paramValue3 = request.getParameter("Test2");

And refer to the following link for more information.

http://help.sap.com/saphelp_nw2004s/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm

Thanks n Regards,

Jhansi Miryala