<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 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'>The best way that I could recommend is take a deep dive in the
following guide:<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'><a
href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45</a><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'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:black'>It is a pretty good document in describing the capabilities of the
UWL.  Chapter 8 discusses decision tasks in particular.<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> Friday, December 14, 2007 9:22 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"'>Thanks for
that. Where would I start with the 'overide for the decision task in UWL XML
configuration' </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
  18:53</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"'>&quot;SAP
    Workflow Users' Group&quot; &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"'>RE:
    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"'>John,</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>We’ve been
able to use the backend workflow for all cases but one.&nbsp; </span><br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>The one case
is when a manager is Rejecting a Business Trip.&nbsp; 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).&nbsp; These are two
separate tasks in the workflow.&nbsp; </span><br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>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.&nbsp; However, I need to skip the subsequent step that asks for
user to enter a reason for rejection.&nbsp; This is the oft-mentioned “Advance
with Dialog” issue in UWL.<br>
</span><br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>By and large,
the workflow without modification, has functioned just fine in the UWL.</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Hope this
helps…</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Bob</span> <br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>&nbsp;</span> <br>
<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<b><br>
Sent:</b> Wednesday, December 12, 2007 11:49 AM<b><br>
To:</b> SAP Workflow Users' Group<b><br>
Subject:</b> Re: UWL and USERDECSIONHANDLER</span> <br>
&nbsp; <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
Hi</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
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>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
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>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
Many Thanks</span> <br>
<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
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>
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span><o:p></o:p></p>

<table class=MsoNormalTable border=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td width="56%" valign=top style='width:56.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"'> <br>
  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>
  <p><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=1 cellpadding=0 width="100%"
   style='width:100.0%;border:outset 3.0pt'>
   <tr>
    <td width="100%" valign=top style='width:100.0%;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="43%" valign=top style='width:43.0%;padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="17%" valign=top style='width:17.0%;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 width="82%" valign=top style='width:82.0%;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><br>
  &nbsp; <o:p></o:p></p>
  <p><o:p>&nbsp;</o:p></p>
  <table class=MsoNormalTable border=0 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr>
    <td width="50%" valign=top style='width:50.0%;padding:.75pt .75pt .75pt .75pt'></td>
    <td width="49%" valign=top style='width:49.0%;padding:.75pt .75pt .75pt .75pt'></td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p style='margin-bottom:12.0pt'><br>
<br>
<br>
<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'><br>
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. <br>
</span>&nbsp;<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
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> <span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'><br>
</span>&nbsp;<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
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> <span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'><br>
</span>&nbsp;<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
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> <span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue'><br>
</span>&nbsp;<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
Thanks!</span> <span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
Bob</span> <span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
</span>&nbsp;<span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:blue'><br>
</span>&nbsp;<span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><br>
&nbsp; &nbsp; &nbsp;&lt;Actions&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Action name=&quot;1&quot;
groupAction=&quot;yes&quot; userDecision=&quot;yes&quot;
handler=&quot;UserDecisionHandler&quot;&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Descriptions default=&quot;Approve&quot;/&gt;</span>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/Action&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Action name=&quot;2&quot;
groupAction=&quot;yes&quot; userDecision=&quot;yes&quot;
handler=&quot;UserDecisionHandler&quot;&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Properties&gt;</span> <span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Property
name=&quot;UserDecisionNote&quot; value=&quot;mandatory&quot;/&gt;</span> <span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Property
name=&quot;UserDecisionTitle&quot; value=&quot;Reject Reason&quot;/&gt;</span> <span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Properties&gt;</span> <span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Descriptions
default=&quot;Reject&quot;/&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/Action&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &lt;Action name=&quot;2&quot;
userDecision=&quot;no&quot; handler=&quot;UpdatingContainerHandler&quot;&gt;</span>
<span style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;Properties&gt;</span> <span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;Property name=&quot;UWL_Executed&quot;
value=&quot;Y&quot;/&gt;</span> <span style='font-size:10.0pt;font-family:"Courier New";
color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/Properties&gt;</span> <span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/Action&gt;</span> <span style='font-size:10.0pt;
font-family:"Courier New";color:blue'><br>
&nbsp; &nbsp; &nbsp;&lt;/Actions&gt;</span><span style='font-size:10.0pt;
font-family:"Courier New"'>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<tt>_______________________________________________</tt><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>