<html><head></head><body style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;">Jocelyn, (and others)<div><br></div><div>how can I pass &gt;1 dynamic parameters?</div><div><br></div><div>do I seperate them by a comma?</div><div>For instance:&nbsp;ZSFNUMMER=${ZSFNUMMER}, URL=${URL}, APP=${APPLICATIE}</div><div><br></div><div>Or is this not possible?<br><br><p>On Jul 4, 2013 11:08 "Dart, Jocelyn" <a href="mailto:jocelyn.dart@sap.com">&lt;jocelyn.dart@sap.com&gt;</a> wrote:</p><blockquote type="cite"><br>Hi Robert<br><br>Please look again at my suggested alternative if you can't get your<br>preferred option working (but by all means try that first - it looks<br>plausible).<br><br><br><br><br>You really do *not* want to call the wda or iview in a method. We have<br>seen a number of sites try this and it leads to all sorts of unfortunate<br>side effects particularly around web browser sessions.<br><br><br>Task expressions are very easy to use and a great technique to add to<br>your collection<br><br>Rgds<br><br>Jocelyn<br>Sent from my iPhone with many apologies for the spelling, grammar and<br>any other deficiencies<br><br><br>On 04/07/2013, at 6:54 PM, "Robert van den Berg " &lt;&lt;wug@bergtop-ict.nl&gt;&gt;<br>wrote:<br><br><br><br>&gt; Jocelyn, all,<br>&gt; <br>&gt; <br>&gt; <br>&gt; I have a container element with the correct webdynpro application<br>&gt; (and/or URL).<br>&gt; <br>&gt; I also have a containerelement with a parameter for the caseID for<br>&gt; which the task is concerned.<br>&gt; <br>&gt; <br>&gt; <br>&gt; So I want to call the WebDynproLaucher with the correct application<br>&gt; and also pass the parameter so the data from the backend can be<br>&gt; retrieved within the WebDynpro application.<br>&gt; <br>&gt; <br>&gt; <br>&gt; I thought maybe it is possible to change the UWL XML so the value for<br>&gt; the WebDynproLaucher is a variable?<br>&gt; <br>&gt; <br>&gt; <br>&gt; For example (with CONTAINER_ELEMENT_URL and caseID):<br>&gt; <br>&gt; <br>&gt; <br>&gt; &lt;ItemType name="uwl.task.webflow.TS99900078"<br>&gt; connector="WebFlowConnector"<br>&gt; <br>&gt; defaultView="DefaultView" defaultAction="launchWebDynPro"<br>&gt; <br>&gt; executionMode="default"&gt;<br>&gt; <br>&gt; &lt;ItemTypeCriteria externalType="TS99900078"<br>&gt; connector="WebFlowConnector"/&gt;<br>&gt; <br>&gt; &lt;Actions&gt;<br>&gt; <br>&gt; &lt;Action name="launchWebDynPro" handler="SAPWebDynproLauncher"&gt;<br>&gt; <br>&gt; &lt;Properties&gt;<br>&gt; <br>&gt; &lt;Property name="WebDynproApplication"<br>&gt; value="${item.CONTAINER_ELEMENT_URL}"/&gt;<br>&gt; <br>&gt; &lt;Property name="WebDynproDeployableObject"<br>&gt; value="<a href="http://sap.com/tc~wd~tools">http://sap.com/tc~wd~tools</a>"/&gt;<br>&gt; <br>&gt; &lt;Property name="System" value="SAP_LocalSystem"/&gt;<br>&gt; <br>&gt; &lt;Property name="caseID" value="${item.caseID}" /&gt;<br>&gt; <br>&gt; &lt;/Properties&gt;<br>&gt; <br>&gt; &lt;/Action&gt;<br>&gt; <br>&gt; &lt;/Actions&gt;<br>&gt; <br>&gt; &lt;/ItemType&gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; <br>&gt; Other possibilities:<br>&gt; <br>&gt; - call the WebDynpro from the method in de task. So then the XML in<br>&gt; the UWL must be a tasklauncher in the back-end. But how can I call a<br>&gt; WebDynpro from ABAP (with a parameter)?<br>&gt; <br>&gt; - or call the iView URL direct from the backend. So then the task in<br>&gt; the UWL must be a tasklauncher in the back-end. But how can I call a<br>&gt; URL from the UWL via a workflow task/method?<br>&gt; <br>&gt; <br>&gt; <br>&gt; Regards,<br>&gt; <br>&gt; Robert<br>&gt;  <br>&gt; On Jul 3, 2013 09:21 "Dart, Jocelyn" <a href="mailto:jocelyn.dart@sap.com">&lt;jocelyn.dart@sap.com&gt;</a> wrote:<br>&gt; <br>&gt; &gt; <br>&gt; &gt; Hi Robert,<br>&gt; &gt; <br>&gt; &gt; You can pass whatever parameters you need to DYNPARAM but that’s<br>&gt; &gt; usually<br>&gt; &gt; for the parameters passed to the application itself.<br>&gt; &gt; <br>&gt; &gt; The difficulty might be in getting the UWL to launch the correct<br>&gt; &gt; application, but its theoretically possible. An alternative is to<br>&gt; &gt; pass<br>&gt; &gt; it as a container element of the task.<br>&gt; &gt; <br>&gt; &gt; Remember SWFVISU is only used to generate the UWL XML file entry –<br>&gt; &gt; you<br>&gt; &gt; can always override it in your custom UWL XML file.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Give it a go but I don’t promise anything.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Just thinking an alternative may to be to use a Task Expression to<br>&gt; &gt; solve<br>&gt; &gt; the problem – i.e. have a task for each application but use the Task<br>&gt; &gt; Expression field on the workflow step to default in the correct task<br>&gt; &gt; for<br>&gt; &gt; the correct application using a workflow container element. Then<br>&gt; &gt; your<br>&gt; &gt; SWFVISU would still have 7 different tasks, but your workflow would<br>&gt; &gt; only<br>&gt; &gt; have one task at design time.<br>&gt; &gt; <br>&gt; &gt; Just a thought… as that’s how I would approach it personally… i.e.<br>&gt; &gt; work<br>&gt; &gt; with the existing functionality rather than counter to it.<br>&gt; &gt; <br>&gt; &gt; Up to you though…..<br>&gt; &gt; <br>&gt; &gt; Regards,<br>&gt; &gt; <br>&gt; &gt; Jocelyn<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; From:sap-&lt;wug-bounces@mit.edu&gt; [mailto:sap-wug-bounces@mit.edu<br>&gt; &gt; &lt;sap-wug-bounces@mit.edu&gt;] On Behalf<br>&gt; &gt; OfRobert van den Berg<br>&gt; &gt; Sent: Tuesday, 2 July 2013 5:07 PM<br>&gt; &gt; To: SAP Workflow Users' Group<br>&gt; &gt; Subject: SWFVISU WebDynpro - application as paramater<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; All,<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; We have an application where we have 1 workflow task in de UWL which<br>&gt; &gt; we<br>&gt; &gt; want to be used for 7 WebDynpro applications. In the workflow, I can<br>&gt; &gt; determine the correct webdynpro application.<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Is it possible to pass the application as a paramater? So the<br>&gt; &gt; setting<br>&gt; &gt; "APPLICATION" inSWFVISU&nbsp;with the type WebDynpro ABAP?<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Or should I use an iView and let the method call the URL? And if<br>&gt; &gt; that is<br>&gt; &gt; the solution: how can I pass a parameter to the iView? Using<br>&gt; &gt; DYNPARAM?<br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; <br>&gt; &gt; Kind regards,<br>&gt; &gt; <br>&gt; &gt; Robert<br><br>&gt; _______________________________________________<br>&gt; SAP-WUG mailing list<br>&gt; <a href="mailto:SAP-WUG@mit.edu">&lt;SAP-WUG@mit.edu&gt;</a><br>&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt; </blockquote></div></body></html>