cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters from webdynpro to JSP

Former Member
0 Kudos

Hi ALL,

I have a task like: I want to disaply all the fields based on given EMPID. That EMPID I have to pssing from Webdynpros. I have written JSP code by hardcoded EMPIS. Now <b>how can I pass the EMPID from webdynpro to JSP page.</b> Please give me some Idea reagrding this problem. Please do the Needful.

Thanks and Regards

Praveen.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hii i have done according to help document

and in the Init method i wrote

public void wdDoInit()

{

//@@begin wdDoInit()

wdThis.wdGetEva_test_suswinInterfaceViewController().wdFirePlugMySuspendPlug("http://90.0.4.100:8080/emp_dev/eva_quiz_user1.jsp");

//@@end

}

i am getting this below runtime exception

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Instance of interface view controller Eva_test_suswinInterfaceView does not exist.

at com.sap.tc.webdynpro.progmodel.controller.Component.getController(Component.java:374)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.getPublicInterface(DelegatingComponent.java:181)

at com.sap.evetstsus.wdp.InternalEva_test_suscompView.wdGetEva_test_suswinInterfaceViewController(InternalEva_test_suscompView.java:140)

at com.sap.evetstsus.Eva_test_suscompView.wdDoInit(Eva_test_suscompView.java:97)

at com.sap.evetstsus.wdp.InternalEva_test_suscompView.wdDoInit(InternalEva_test_suscompView.java:110)

... 35 more

Former Member
0 Kudos

Hi Vijay,

have you read the documentation I provided the link to? It doesn't matter where your JSP sits, you just a need a valid URL to call. There is another topic in the documentation:

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/43/653ecbd99147b6e10000000a11466f/frameset.htm">Using the Suspend and Resume Plugs</a>

If you fire the Suspend plug you have parameter <i>Url</i>, where you can give the URL that contains not only the URL but all necessary parameters and you can add additional parameters. And it contains the URL you need to be able to come back from your JSP to WD and to get the resume plug fired.

kind regards

Stefanie

Former Member
0 Kudos
Former Member
0 Kudos

Hello Praveen,

if you are using NW2004s, you can use the suspend and resume plugs.

You can find documentation on this topic here:

http://help.sap.com/saphelp_nw2004s/helpdata/en/68/3aee42c4257176e10000000a1550b0/frameset.htm

Regards

Stefanie

Former Member
0 Kudos

Hi Bacher,

I have read the thread on Passing parameters from webdynpro to JSP.There you have suggested on using Suspended plug.

I have gone through the link but could no solve the problem.

Where exactly do we have to save the JSP file and how to call that JSP.

Also How can we send the parameter from webDynpro to the JSP.

Can you please guide me the steps to proceed.

regards

Vijay