cancel
Showing results for 
Search instead for 
Did you mean: 

sap-wd-resumeurl in Webdynpro JAVA

Former Member
0 Kudos

Hello,

Is there a way to read the value of sap-wd-resumeURL value prior to we suspend the application using resume and suspend plug.

I did try getReguestParameter("sap-wd-resumeurl"), but it dint work. Please advise.

Thanks,

Vinit Pugaliya

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member192152
Active Participant
0 Kudos

Page 20 - 3.4 Suspend and Resume Plug (http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9214b1e5-0601-0010-fdb0-ec32d43b06e0)

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a08c287b-96a5-2a10-a691-b8b8bc40ea43

/people/sasivarnan.sundarakandasamy/blog/2008/12/29/http-post-in-web-dynpro-suspend-plug

regards,

Angelo

Former Member
0 Kudos

Thanks Angelo, I have seen these earlier, however I need to know on how to read the value of resumeUrl before calling the jsp page.

Please advise.

Vinit

former_member192152
Active Participant
0 Kudos

Vinit,

try this:


IWDApplicationInfo application = wdComponentAPI.getApplication().getApplicationInfo();
String config = application.findInApplicationProperties("sap-wd-resumeurl").getValue();

regards,

Angelo

Edited by: Angelo Antonello Borges on Jun 9, 2010 10:36 AM

Former Member
0 Kudos

Hi Angelo,

I receive null pointer exception when I use that code.

Thanks,

Vinit

former_member192152
Active Participant
0 Kudos

Are you set this parameter (sap-wd-resumeurl) on the properties of your webdynpro application?

Former Member
0 Kudos

No This is the parameter which the JSP application read when the WebDynpro Application is suspended.

former_member192152
Active Participant
0 Kudos

No, you're making a mess! This parameter is set in WebDynpro application and provides information for the application itself on which url should point to suspend the plug.

And the code (I sent you) that you are getting NullPointer can only be performed within your application WebDynpro.

I believe that the various links to pdf that I send are not well have understood!

regards,

Angelo

p.s.:

in time: if you want your JSP application to know which url return information ... you must pass the url of the application webdynpro through a parameter for the JSP.

Edited by: Angelo Antonello Borges on Jun 9, 2010 6:30 PM

Former Member
0 Kudos

Hi Angelo,

If I pass the application parameter, when the JSP get redirected, It will refresh the page.

I need to be able to call this jsp page from portal, so suspend and resume plug can not be use anyways.

Please advise.

Thanks,

vinit