SAPWebDynproLauncher
Use
You can use SAPWebDynproLauncher to launch an WebDynpro for Java applications.
Provider specific Information
SAPWebDynproLauncher is provider agnostic. Items may belong to any connector.
Supported Actions
Action name can be anything.
Properties
SAPWebDynproLaucher expects the following properties:
-
WebDynproApplication (mandatory)
Application name of the Web Dynpro to be launched.
-
WebDynproDeployableObject (mandatory)
Namespace of the Web Dynpro to be launched
-
System (optional)
A system alias of the system in the portal system landscape, where to launch the Web Dynpro. Default is the system where the work item originated.
-
DynamicParameter (optional)
Dynamic parameters (name/value pairs, separated by & ) to be passed the Web Dynpro application.
-
DebugMode (optional)
The values are true and false .
All other properties will be passed as name=URL encoded value to the WebDynpro application.
Example
Following is the definition of an action that launches a Web Dynpro application WebDynproConsole with the dynamic parameters fruit=apple&vegetable=potato :
<Action name="launchWebDynPro" handler="WebDynproLauncher">
<Properties>
<Property name="WebDynproApplication" value="WebDynproConsole"/>
<Property name="WebDynproDeployableObject" value="sap.com/tc~wd~tools"/>
<Property name="fruit" value="apple"/>
<Property name="DynamicParameter" value="vegetable=potato"/>
</Properties>
</Action>
<Action name="launchWebDynPro" handler="SAPWebDynproLauncher">
<Properties>
<Property name="WebDynproApplication" value="WebDynproConsole"/>
<Property name="WebDynproDeployableObject" value="sap.com/tc~wd~tools"/>
<Property name="fruit" value="apple"/>
<Property name="DynamicParameter" value="vegetable=potato"/>
<Property name="System" value="MY_SAP_R3_WD"/>
</Properties>
</Action>
To launch the Web Dynpro application on the portal use SAP_LocalSystem :
Action name="launchWebDynPro" handler="SAPWebDynproLauncher">
<Properties>
<Property name="WebDynproApplication" value="WebDynproConsole"/>
<Property name="WebDynproDeployableObject" value="sap.com/tc~wd~tools"/>
<Property name="fruit" value="apple"/>
<Property name="DynamicParameter" value="vegetable=potato"/>
<Property name="System" value="SAP_LocalSystem"/>
</Properties>
</Action>
The item types for launching the Web Dynpro applications can be configured in two ways.
-
Via Configuration XML
ItemTypes> <ItemType name="uwl.task.webflow.TS91100019" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro"> <ItemTypeCriteria connector="WebFlowConnector" externalType="TS91100019"/> <Actions> <Action name="launchWebDynPro" handler="SAPWebDynproLauncher"> <Properties> <Property name="WebDynproApplication" value="MyApplication"/> <Property name="WebDynproDeployableObject" value="sap.com/tc~wd~tools"/> <Property name="DynamicParameter" value="wi_id=${item.externalId}"/> </Properties> </Action> </Actions> </ItemType> </ItemTypes> -
Via backend visualization transaction SWFVISU for visualization type Java WebDynpro . The table below summarizes the mapping between the launcher parameters and the visualization parameters.
Launcher Parameter
Visualization Parameter
WebDynproApplication
APPLICATION
WebDynproDeployableObject
PACKAGE
DynamicParameter
DYNPARAM
System
SYSTEM_ALIAS
The default action will be set to launchWebDynpro .