<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:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"
 downloadurl="http://www.microsoft.com"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:Verdana;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Comic Sans MS";
        color:navy;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>All,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>In case you are interested in solution&#8230;&nbsp;
There is no elegant solution here.&nbsp; PCUI framework is somewhat inflexible and
requires variables to be built into the URL.&nbsp; We ended up creating a generic
BSP page which accepts parameters like application name, event id, object key
and whatever else you may require, build a URL within it and redirects to the
built URL.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>When you generate your task, you will put
your generic BSP there -&gt; thus you have generic task as well as long as you
defined parameters generically (be sure to check them as optional as some PCUI
screens may not need all of them).&nbsp; However, when you go to transaction SWFVISU,
be sure to select BSP Blueprint if at the end what you are calling is a PCUI
application.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Natasha<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font face=Tahoma><span
style='font-family:Tahoma'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b><span style='font-weight:bold'>On Behalf Of
</span></b>Baunach, Natasha R<br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, December 22, 2005
1:44 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Problem with webflow task
that calls PCUI application </span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:navy'>Hello all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:navy'>We are building
a custom application that utilizes PCUI framework. &nbsp;Workflow is triggered
when work order is submitted for approval. &nbsp;It is routed to manager for
approval.&nbsp; PCUI (which is essentially a BSP) application developer
provided me with the following URL for this approval page:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face="Comic Sans MS"><span
style='font-size:10.0pt;font-family:"Comic Sans MS";color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><a
href="http://fmsap701.fm.intel.com:8000/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=ZCWFAP_FI_MGR_APPRVL&amp;crm_appl_event=ZCWFE_APPROVEWO&amp;crm_appl_object_id=0000000013"
title="http://fmsap701.fm.intel.com:8000/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=ZCWFAP_FI_MGR_APPRVL&amp;crm_appl_event=ZCWFE_APPROVEWO&amp;crm_appl_object_id=0000000013">http://fmsap701.fm.intel.com:8000/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=ZCWFAP_FI_MGR_APPRVL&amp;crm_appl_event=ZCWFE_APPROVEWO&amp;crm_appl_object_id=0000000013</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>I generated a
webflow task as follows:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Host:
fmsap701.fm.intel.com<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Port: 8000<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Path: /sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?=ZCWFAP_FI_MGR_APPRVL<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Call Mode:
Dialog based Service<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>I also created
the following parameters as export: <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>crm_appl_event<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>crm_appl_object_id<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>I entered
visualization in SWFVISU as BSP Blueprint and registered task in UWL.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>When I trigger
workflow, I receive my workitem in the UWL. &nbsp;When I click on the subject
line, it opens a generic approval page &#8211; not specific for object id that
I passed. &nbsp;In the workflow logs I can see that containers are being
populated correctly. &nbsp;The application itself also has those variables
declared.&nbsp; My PCUI developer is telling me that the only way this would
work in PCUI framework is to add the event and object id into URL. &nbsp;As far
as I know, I cannot do that.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Does anyone know
how I can add dynamic parameters into the path of webflow task?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>If not, does
anyone know what needs to be done on application itself to avoid having these
parameters as part of URL?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Any light on
this would much-much appreciated.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face="Trebuchet MS"><span
style='font-size:10.0pt;font-family:"Trebuchet MS";color:blue'>Thanks,<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=2 color=blue
 face="Trebuchet MS"><span style='font-size:10.0pt;font-family:"Trebuchet MS";
 color:blue'>Natasha</span></font></st1:PersonName><font color=blue
face="Trebuchet MS"><span style='font-family:"Trebuchet MS";color:blue'><o:p></o:p></span></font></p>

<p><font size=2 color=gray face="Comic Sans MS"><span style='font-size:10.0pt;
font-family:"Comic Sans MS";color:gray'><o:p>&nbsp;</o:p></span></font></p>

<p><st1:PersonName w:st="on"><font size=2 color=gray face="Comic Sans MS"><span
 style='font-size:10.0pt;font-family:"Comic Sans MS";color:gray'>Natasha</span></font></st1:PersonName><font
size=2 color=gray face="Comic Sans MS"><span style='font-size:10.0pt;
font-family:"Comic Sans MS";color:gray'> Baunach, Sr. Application Developer <br>
Office: (971) 215-2276 <br>
Pager:&nbsp;&nbsp; (866) 272-3809 or <a
href="mailto:8662723809@archwireless.net">mailto:8662723809@archwireless.net</a></span></font><font
color=navy><span style='color:navy'> </span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Verdana><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>