<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Robert,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Separate with ampersand - & or &amp;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also the attributes usually match to custom attributes of the item so they would be ${item.ZSFNUMMER} for example<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Jocelyn
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu]
<b>On Behalf Of </b>Robert van den Berg <br>
<b>Sent:</b> Wednesday, 10 July 2013 5:30 PM<br>
<b>To:</b> SAP Workflow Users' Group; SAP Workflow Users' Group<br>
<b>Cc:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> Re: UWL SWFVISU WebDynpro - application as paramater<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Jocelyn, (and others)<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">how can I pass >1 dynamic parameters?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">do I seperate them by a comma?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">For instance: ZSFNUMMER=${ZSFNUMMER}, URL=${URL}, APP=${APPLICATIE}<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Or is this not possible?<o:p></o:p></span></p>
<p><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">On Jul 4, 2013 11:08 "Dart, Jocelyn"
<a href="mailto:jocelyn.dart@sap.com"><jocelyn.dart@sap.com></a> wrote:<o:p></o:p></span></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif""><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 " <<<a href="mailto:wug@bergtop-ict.nl">wug@bergtop-ict.nl</a>>><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-<<a href="mailto:wug-bounces@mit.edu">wug-bounces@mit.edu</a>> [<a href="mailto:sap-wug-bounces@mit.edu%0b%3e%20%3e%20%3csap-wug-bounces@mit.edu%3e">mailto:sap-wug-bounces@mit.edu<br>
> > <sap-wug-bounces@mit.edu></a>] 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>
> <o:p></o:p></span></p>
</blockquote>
</div>
</div>
</body>
</html>