<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:D="DAV:" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" 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 12 (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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>John,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>We’ve been able to use the backend workflow for all cases but one. 
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>The one case is when a manager is Rejecting a Business Trip.  In
the backend workflow, the user clicks on the Reject button in a decision step (BO-Decision,
Method-Process) and then immediately following a window appears where they are
expected to enter the reason(BO-SOFM, Method-Compose).  These are two separate
tasks in the workflow.  <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>In the UWL, I can present the approval/rejection decision along
with the reason for rejection text box in one view by entering in the XML
configuration an override for the decision task.  However, I need to skip the subsequent
step that asks for user to enter a reason for rejection.  This is the oft-mentioned
“Advance with Dialog” issue in UWL.<br>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>By and large, the workflow without modification, has functioned
just fine in the UWL.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Hope this helps…<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>Bob<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
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>John
A Haworth<br>
<b>Sent:</b> Wednesday, December 12, 2007 11:49 AM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> Re: UWL and USERDECSIONHANDLER<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Hi</span> <br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I posted a
request earlier regarding Trip Approval. Your post has raised a couple of
questions. We also will be using Portal and SapGui as entry points.</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I am familiar
with the workflow process in the backend R3 system but not touched the Portal
side. I was assuming the workflow developed in the backend, would be the same
one used if decision were made in Portal or SAPGUI, but it sounds from your
post that there are restrictions, could you explain and point me to further
documentation of what these are and how I overcome them, before I start the
development.</span> <br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Many Thanks</span>
<br>
<br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>John<br>
<br>
CSC Computer Sciences Limited<br>
Registered Office: Royal Pavilion, Wellesley Road, Aldershot, Hampshire, GU11
1PZ, UK<br>
Registered in England No: 0963578<br>
<br>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
This is a PRIVATE message. If you are not the intended recipient, please delete
without copying and kindly advise us by e-mail of the mistake in delivery. <br>
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any
order or other contract unless pursuant to explicit written agreement or
government initiative expressly permitting the use of e-mail for such purpose.<br>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>
</span><br>
<br>
<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="40%" valign=top style='width:40.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><b><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&quot;Schmidt,
  Bob&quot; &lt;bschmidt@ugs.com&gt;</span></b><span style='font-size:7.5pt;
  font-family:"Arial","sans-serif"'> </span><br>
  <span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Sent by:
  sap-wug-bounces@mit.edu</span> <o:p></o:p></p>
  <p><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>12/12/2007
  16:03</span> <o:p></o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0>
   <tr>
    <td valign=top style='background:white;padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=center style='text-align:center'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Please respond to<br>
    &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  </td>
  <td width="59%" valign=top style='width:59.0%;padding:.75pt .75pt .75pt .75pt'>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>To</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>&lt;sap-wug@mit.edu&gt;</span>
    <o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>cc</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal align=right style='text-align:right'><span
    style='font-size:7.5pt;font-family:"Arial","sans-serif"'>Subject</span><o:p></o:p></p>
    </td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
    <p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial","sans-serif"'>UWL
    and USERDECSIONHANDLER</span><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=MsoNormal><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0>
   <tr>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
    <td valign=top style='padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>We
are rolling out Travel Management through ESS to our users on EP 7.0 and ECC
6.0. &nbsp;We’ve had our own custom workflow for approval/rejection of Travel
Management expenses which has been operational through the SAPGUI for years.
&nbsp;Because of extensive role resolution logic in the backend workflow, I’d
like to utilize the same workflow regardless of whether the decisions are
processed through the SAPGUI or the Portal. &nbsp;However, I’d have to put some
decisions in the workflow to test whether an approval was done via the UWL to
bypass tasks with SOFM-Compose method. &nbsp; It should be easy. </span><br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>For
the Approve/Reject in the UWL, the USERDECISIONHANDLER in the XML file, has
worked fine. &nbsp;Specifying the UserDecisionNote as mandatory has allowed me
to require text entry for a rejection as well. &nbsp; &nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>Now,
to the crux of the issue. &nbsp;I need to get a value back to the workflow
container to indicate that the decision task was performed in the UWL.
&nbsp;The UPDATINGCONTAINERHANDLER would seem to fit the bill nicely.
&nbsp;Yet, I can’t make the &nbsp;UPDATINGCONTAINERHANDLER work with the
USERDECISIONHANDLER. &nbsp;The XML is below. &nbsp;Is this possible?</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>Or,
should I just can it and get a custom iView created to do what I need?
&nbsp;We’ve already started to go down that path…</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>Thanks!</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>Bob</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'>&nbsp;</span>
<br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &lt;Actions&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;Action name=&quot;1&quot;
groupAction=&quot;yes&quot; userDecision=&quot;yes&quot;
handler=&quot;UserDecisionHandler&quot;&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Descriptions
default=&quot;Approve&quot;/&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;/Action&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;Action name=&quot;2&quot;
groupAction=&quot;yes&quot; userDecision=&quot;yes&quot;
handler=&quot;UserDecisionHandler&quot;&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Properties&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Property
name=&quot;UserDecisionNote&quot; value=&quot;mandatory&quot;/&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Property
name=&quot;UserDecisionTitle&quot; value=&quot;Reject Reason&quot;/&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Properties&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Descriptions
default=&quot;Reject&quot;/&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;/Action&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;Action name=&quot;2&quot;
userDecision=&quot;no&quot; handler=&quot;UpdatingContainerHandler&quot;&gt;</span>
<br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Properties&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Property
name=&quot;UWL_Executed&quot; value=&quot;Y&quot;/&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/Properties&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&lt;/Action&gt;</span> <br>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'>&nbsp;
&nbsp; &nbsp; &lt;/Actions&gt;</span><tt><span style='font-size:10.0pt'>_______________________________________________</span></tt><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<tt>SAP-WUG mailing list</tt><br>
<tt>SAP-WUG@mit.edu</tt><br>
<tt>http://mailman.mit.edu/mailman/listinfo/sap-wug</tt></span><o:p></o:p></p>

</div>

</body>

</html>