cancel
Showing results for 
Search instead for 
Did you mean: 

Getting URL to web dynpro application.

Former Member
0 Kudos

Hi All.

I would like to create a link in my application to another application (running on the same server), without hard coding the url address.

I've tried using WDURLGenerator, but no success.

Any idea??

Thanks, Nachshon.

Accepted Solutions (0)

Answers (2)

Answers (2)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hallo Nachshon,

look at my tutorial on Web Dynpro inter-application navigation under https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/f3b0ad90-0201...

Look at the document under <i>Further Informat</i>ion which deals with the corresponding Portal navigation scenario.

Regards, Bertram

sid-desh
Advisor
Advisor
0 Kudos

Hi Nachshon,

Suppose you have built a webdynpro project named WD_DEMO and the application name DemoApp then to get the URL using the WDURLGenerator class use the following code.

String strURL = WDURLGenerator.getApplicationURL("local/WD_DEMO", "DemoAPP");

I also used this method in one of my Webdynpro Application. It worked for me. Hope this works for you too.

Regards

Sidharth Deshpande

Former Member
0 Kudos

Hi Sidharth

Thanks for the help, it works very well.

Nachshon