<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 >1 dynamic parameters?</div><div><br></div><div>do I seperate them by a comma?</div><div>For instance: 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"><jocelyn.dart@sap.com></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 " <<wug@bergtop-ict.nl>><br>wrote:<br><br><br><br>> Jocelyn, all,<br>> <br>> <br>> <br>> I have a container element with the correct webdynpro application<br>> (and/or URL).<br>> <br>> I also have a containerelement with a parameter for the caseID for<br>> which the task is concerned.<br>> <br>> <br>> <br>> So I want to call the WebDynproLaucher with the correct application<br>> and also pass the parameter so the data from the backend can be<br>> retrieved within the WebDynpro application.<br>> <br>> <br>> <br>> I thought maybe it is possible to change the UWL XML so the value for<br>> the WebDynproLaucher is a variable?<br>> <br>> <br>> <br>> For example (with CONTAINER_ELEMENT_URL and caseID):<br>> <br>> <br>> <br>> <ItemType name="uwl.task.webflow.TS99900078"<br>> connector="WebFlowConnector"<br>> <br>> defaultView="DefaultView" defaultAction="launchWebDynPro"<br>> <br>> executionMode="default"><br>> <br>> <ItemTypeCriteria externalType="TS99900078"<br>> connector="WebFlowConnector"/><br>> <br>> <Actions><br>> <br>> <Action name="launchWebDynPro" handler="SAPWebDynproLauncher"><br>> <br>> <Properties><br>> <br>> <Property name="WebDynproApplication"<br>> value="${item.CONTAINER_ELEMENT_URL}"/><br>> <br>> <Property name="WebDynproDeployableObject"<br>> value="<a href="http://sap.com/tc~wd~tools">http://sap.com/tc~wd~tools</a>"/><br>> <br>> <Property name="System" value="SAP_LocalSystem"/><br>> <br>> <Property name="caseID" value="${item.caseID}" /><br>> <br>> </Properties><br>> <br>> </Action><br>> <br>> </Actions><br>> <br>> </ItemType><br>> <br>> <br>> <br>> <br>> <br>> Other possibilities:<br>> <br>> - call the WebDynpro from the method in de task. So then the XML in<br>> the UWL must be a tasklauncher in the back-end. But how can I call a<br>> WebDynpro from ABAP (with a parameter)?<br>> <br>> - or call the iView URL direct from the backend. So then the task in<br>> the UWL must be a tasklauncher in the back-end. But how can I call a<br>> URL from the UWL via a workflow task/method?<br>> <br>> <br>> <br>> Regards,<br>> <br>> Robert<br>> <br>> On Jul 3, 2013 09:21 "Dart, Jocelyn" <a href="mailto:jocelyn.dart@sap.com"><jocelyn.dart@sap.com></a> wrote:<br>> <br>> > <br>> > Hi Robert,<br>> > <br>> > You can pass whatever parameters you need to DYNPARAM but that’s<br>> > usually<br>> > for the parameters passed to the application itself.<br>> > <br>> > The difficulty might be in getting the UWL to launch the correct<br>> > application, but its theoretically possible. An alternative is to<br>> > pass<br>> > it as a container element of the task.<br>> > <br>> > Remember SWFVISU is only used to generate the UWL XML file entry –<br>> > you<br>> > can always override it in your custom UWL XML file.<br>> > <br>> > <br>> > <br>> > Give it a go but I don’t promise anything.<br>> > <br>> > <br>> > <br>> > Just thinking an alternative may to be to use a Task Expression to<br>> > solve<br>> > the problem – i.e. have a task for each application but use the Task<br>> > Expression field on the workflow step to default in the correct task<br>> > for<br>> > the correct application using a workflow container element. Then<br>> > your<br>> > SWFVISU would still have 7 different tasks, but your workflow would<br>> > only<br>> > have one task at design time.<br>> > <br>> > Just a thought… as that’s how I would approach it personally… i.e.<br>> > work<br>> > with the existing functionality rather than counter to it.<br>> > <br>> > Up to you though…..<br>> > <br>> > Regards,<br>> > <br>> > Jocelyn<br>> > <br>> > <br>> > <br>> > From:sap-<wug-bounces@mit.edu> [mailto:sap-wug-bounces@mit.edu<br>> > <sap-wug-bounces@mit.edu>] On Behalf<br>> > OfRobert van den Berg<br>> > Sent: Tuesday, 2 July 2013 5:07 PM<br>> > To: SAP Workflow Users' Group<br>> > Subject: SWFVISU WebDynpro - application as paramater<br>> > <br>> > <br>> > <br>> > All,<br>> > <br>> > <br>> > <br>> > We have an application where we have 1 workflow task in de UWL which<br>> > we<br>> > want to be used for 7 WebDynpro applications. In the workflow, I can<br>> > determine the correct webdynpro application.<br>> > <br>> > <br>> > <br>> > Is it possible to pass the application as a paramater? So the<br>> > setting<br>> > "APPLICATION" inSWFVISU with the type WebDynpro ABAP?<br>> > <br>> > <br>> > <br>> > Or should I use an iView and let the method call the URL? And if<br>> > that is<br>> > the solution: how can I pass a parameter to the iView? Using<br>> > DYNPARAM?<br>> > <br>> > <br>> > <br>> > Kind regards,<br>> > <br>> > Robert<br><br>> _______________________________________________<br>> SAP-WUG mailing list<br>> <a href="mailto:SAP-WUG@mit.edu"><SAP-WUG@mit.edu></a><br>> <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>> </blockquote></div></body></html>