<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: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="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<!--[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;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        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-reply;
        font-family:"Times New Roman";
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@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=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>Hi Nat,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>I am not sure in what context your users
are executing these tasks, but we have some workflows that update invoice
information in the background using BAPI_INCOMINGINVOICE_CHANGE.&nbsp; When an
invoice created in the prior FY is changed by this background task, the BAPI
returns a new invoice number and new fiscal year.&nbsp; The &#8216;old&#8217;
invoice is deleted.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>We deal with this feature by checking the
results of the BAPI; if it does return the new invoice and FY, then we do the
following:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>&nbsp; CONCATENATE new_invoice new_year
INTO new_key.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>&nbsp; swc_free_object self.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>&nbsp; swc_set_objectkey new_key.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>* new object reference<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>&nbsp; swc_create_object self 'BUS2081'
new_key.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>&nbsp; swc_refresh_object self.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>This binds the new invoice document number
back into the workflow and it proceed to deliver dialog tasks to the end-user
with the new document number.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>Not sure if this is helpful in your
scenario or not.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:11.0pt;color:black'>Cheers,<br>
Sue<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>----</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>Susan R. Keohan</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>SAP Workflow Specialist</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:City w:st="on"><st1:place w:st="on"><font size=2
  color=black face="Times New Roman"><span style='font-size:10.0pt;color:black'>Enterprise</span></font></st1:place></st1:City><font
size=2 color=black><span style='font-size:10.0pt;color:black'> Applications</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>Information Services Department</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>MIT <st1:City w:st="on"><st1:place w:st="on">Lincoln</st1:place></st1:City>
Laboratory</span></font><font color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=2
  color=black face="Times New Roman"><span style='font-size:10.0pt;color:black'>244
  Wood Street</span></font></st1:address></st1:Street><font size=2 color=black><span
style='font-size:10.0pt;color:black'>, LI-200</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:place w:st="on"><st1:City w:st="on"><font size=2
  color=black face="Times New Roman"><span style='font-size:10.0pt;color:black'>Lexington</span></font></st1:City><font
 size=2 color=black><span style='font-size:10.0pt;color:black'>, <st1:State
 w:st="on">MA</st1:State></span></font></st1:place><font size=2 color=black><span
style='font-size:10.0pt;color:black'>. 02420</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>781-981-3561</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face="Times New Roman"><span
style='font-size:10.0pt;color:black'>keohan@LL.MIT.EDU</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face="Times New Roman"><span
style='font-size:12.0pt;color:black'>&nbsp;</span></font><o:p></o:p></p>

</div>

<div>

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

<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 size=2
face=Tahoma><span style='font-size:10.0pt;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>Nat 4 Govender<br>
<b><span style='font-weight:bold'>Sent:</span></b> Sunday, November 02, 2008
11:55 PM<br>
<b><span style='font-weight:bold'>To:</span></b> SAP Workflow Users' Group<br>
<b><span style='font-weight:bold'>Cc:</span></b> SAP Workflow Users' Group;
sap-wug-bounces@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> Changes To Park Document</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi All,<br>
<br>
<br>
We have small issue with the changes to parked document.<br>
<br>
When a user changes the parked document and saves it first before doing a
document check and document complete the old workflow is deleted and a new one
starts however when the user changes a parked document and just performs a
document check and document complete this does not happen.<br>
<br>
Has any had this experience.<br>
<br>
Please advise.<br>
<br>
<br>
</span></font><b><font size=4 color=darkslateblue><span style='font-size:13.5pt;
color:darkslateblue;font-weight:bold'><br>
Regards</span></font></b><font size=4><span style='font-size:13.5pt'><br>
<br>
Nat Govender<br>
E-mail : </span></font><a href="mailto:ngovender4@toyota.co.za"><font size=4><span
style='font-size:13.5pt'>ngovender4@toyota.co.za</span></font></a><font size=4><span
style='font-size:13.5pt'><br>
<font color=fuchsia><span style='color:fuchsia'><br>
If you tell the truth, you don't have to remember anything. </span></font></span></font><o:p></o:p></p>

</div>

</body>

</html>