cancel
Showing results for 
Search instead for 
Did you mean: 

How to know if a Webdynpro applicaiton is running in UWL

Former Member
0 Kudos

Hi,

I have a web dynpro applicaiton that is runnin in UWL. Is that some way that I can know in the WD applicaiton whether this applicaiton is running in UWL. It is similar to finding if the applicaiton is running in portal.

I could not find any WD APIs.

Based on the fact that if the applicaiton is running in UWL then some decisions have to be made in my WD application.

Thanks and regards,

Harish.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

there is no WD API available for that. You have to contact the UWL colleagues - perhaps they know something about some UWL specific APIs.

Best regards

Jochen

Former Member
0 Kudos

hi Harish,

I assume, you mean you application is "launched" from UWL (and not running in UWL??)

If your application is launched from UWL, you could specify custom launch parameters. By keeping one of the launch parameters (say "launchedFromUWL=true") you could achieve what you are looking for. (Of course you have read these passed parameters from WebDynpro)

Hope this help.

Try searching for WebDynproLauncher in the help documentation. Here is how sample XML would look like

<Action name="launchWebDynPro" handler="SAPWebDynproLauncher">

<Properties>

<Property name="WebDynproApplication" value="WebDynproConsole"/>

<Property name="WebDynproDeployableObject" value="sap.com/tcwdtools"/>

<Property name="fruit" value="apple"/>

<Property name="DynamicParameter" value="launchedFromUWL=true"/>

</Properties>

</Action>

Kiran