Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reading the url of a generated WD application

Hi all,

I want to read the url of the generated webdynpro application using a button on the same application. is there anyway to do it?

Regards,

Jayant.

replied

Try following code in the Action handler..

String url = WDURLGenerator.getAbsoluteWebResourceURL(wdThis.wdGetAPI().getComponent().getApplication().getDeployableObjectPart())

or shorter:

WDURLGenerator.getAbsoluteWebResourceURL(wdComponentAPI.getApplication().getDeployableObjectPart())

Message was edited by: Armin Reichert

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question