cancel
Showing results for 
Search instead for 
Did you mean: 

Read Paramter from URL into Web Dynpro

Former Member
0 Kudos

Hi,

I have an IFrame in the portal which calls the following URL.

This URL is the iView URL of a web dynpro application 'TestApp'

http://server:port/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fcom.sap.por...

where I'm passing a parameter called vCode.

I want to access values of these parameters in my WD appln. Can anybody suggest me how can I do this?

I have tried WDWebContextAdapter.getWebContextAdapter().getRequestParameter("vCode")

and

WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("vCode")

but we are getting the value for vCode as 'null' instead of '1234'.

The URL is an iView URL.

Any help will be appreciated.

Thanks,

*Pts. for helpful answers

Accepted Solutions (0)

Answers (1)

Answers (1)

chintan_virani
Active Contributor
0 Kudos

Prasanna,

As per this [link|http://help.sap.com/saphelp_nw04s/helpdata/en/44/be65751c743959e10000000a1553f6/frameset.htm] you should be able to get the desired output.

Chintan