cancel
Showing results for 
Search instead for 
Did you mean: 

How to Pass Parameter Values to URL Iview.

former_member185879
Active Contributor
0 Kudos

Hi All,

I have an URL iview, which has four parameters like name, age, sex and city. Now i need to pass the values at runtime from webdynpro java application.

how to do the same?

Thanks in advance

Regards

SM Nizamudeen

Accepted Solutions (1)

Accepted Solutions (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi

Check this: [Sending URL Parameters to Applications|http://help.sap.com/saphelp_nw70/helpdata/en/44/be65751c743959e10000000a1553f6/content.htm]

BR, Siarhei

former_member185879
Active Contributor
0 Kudos

HI All,

Thanks for your responses.

I have passed the URL with the parameters and it was working fine.

I have executed some RFC and got the list in the webdynpro view. there i have a button to navigate from Webdynpro to JSP using suspend and resume plugs in Webdynpro java.

It was navigated and got a URL with sap-wd-resumeurl, sap-wd-cltwndid, sap-wd-appwndid and sap-wd-resume parameters.

I have written a code by extracting sap-wd-resumeurl and redirected to the same page. It was navigating back to webdynpro view in portal but my screen was empty without any data.

my question is :

1. what is the use of sap-wd-cltwndid, sap-wd-appwndid and sap-wd-resume?

2. While navigating back to webdynpro view in portal the screen should not be empty.

3. How the exact link should be to go back to webdynpro view with data

Thanks in Advance.

Regards

SM Nizamudeen.

former_member185879
Active Contributor
0 Kudos

Hi All,

I have a webdynpro page with a button. Once the button is clicked i will form a URL to navigate to JSP page. And by passing that URL as a parameter to suspend plug i am navigating to that page.

This is working fine and i dont have any issues with it.

My question is:

Before navigating to JSP is it possible to get the generated URL (with sap-wd-resumeurl) in webdynpro side?

Regards

SM Nizamudeen

Edited by: Nizamudeen SM on Oct 12, 2009 7:45 AM

chander_kararia4
Contributor
0 Kudos

Hi Nizam,

Can you post your action method where you are generating the URL. Thanks.

Best Regards

Chander Kararia

former_member185879
Active Contributor
0 Kudos

Hi Kararia,

Actually from my view method i am calling the method in Component Controller. There i am forming an URL with some parameters (Ex: https://abcd.jsp?name=nizam) and pass the same as a string to Suspend Plug and fire the same.

Once it is fired that is once it is navigated to JSP page i will get an URL like https://abcd.jsp?name=nizam&sap-wd-resumeurl=XXXX.

my requirement is to catch this URL (https://abcd.jsp?name=nizam&sap-wd-resumeurl=XXXX.) before navigating to JSP.

is it possible?

Regards

SM Nizamudeen

Answers (3)

Answers (3)

former_member185879
Active Contributor
0 Kudos

Through EP forced URL Concept and by forming an URL before executing we can do the same.

Regards

SM Nizamudeen

Former Member
0 Kudos

Hi,

Can you please post the sample code to get the URL ?

Thanks,

Vinit

former_member185086
Active Contributor
0 Kudos

Hi

Plz have a look for the same discussion .

[url iview|/thread/325482 [original link is broken];

Best Regards

Satish Kumar

chander_kararia4
Contributor
0 Kudos

Hi,

You may create a Abstract Portal Component. There get the parameter and their corresponding values. Generate the URI and do the form submit method.

Hope that what you wanna do. Thanks.

Best Regards

Chander Kararia