<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" 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"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR><!--[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]-->
<STYLE>@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; mso-style-priority: 99
}
SPAN.EmailStyle19 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
..MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
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 vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2>My solution probably won't work in your situation.&nbsp; By 
the time the workflow gets to this point the document should be correct and 
ready to post (background step).&nbsp; A simulation runs, then the post 
happens.&nbsp; If the simulation returns any other errors (besides a duplicate 
warning) we will use advance with dialog and tell the user why the invoice isn't 
ready to post.&nbsp; If the duplicate message is the ONLY error, I will use a 
background step to set the payment block then try posting the 
invoice.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN><SPAN class=191074812-07062007><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2>In this scenario we will still be setting the payment block 
correctly and will only lose advance with dialog in the unusual case in which 
the background step fails to add the block or the invoice fails posting due to 
some error that was not found during simulation.&nbsp; In this case the workitem 
will be back in the approver's inbox the next time they 
refresh.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2>Hope this helps.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=191074812-07062007><FONT face=Arial 
color=#0000ff size=2>Seth</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
</B>Sriharsha_Medisetty<BR><B>Sent:</B> Tuesday, June 05, 2007 11:00 
PM<BR><B>To:</B> SAP Workflow Users' Group<BR><B>Subject:</B> RE: Payment Block 
On Vendor Invoice<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Hi 
Seth,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I 
am also developing workflow for same scenario. Once user approves the invoice 
workflow has to clear the blocking indicator, Even I am using call 
transaction(FB02) for the same. If there is any error occurs in process just I 
am capturing errors and sending mail to workflow initiator with error details. 
<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I 
am not clear with synchronous and asynchronous updating. After seeing your 
message I am very keen know what procedure you are following. It would be 
grateful if give me information in detail.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Regards,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Sri 
harsha.M<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<DIV>
<DIV 
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal><B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
</B>Stevens, Seth<BR><B>Sent:</B> Tuesday, June 05, 2007 10:17 PM<BR><B>To:</B> 
SAP Workflow Users' Group<BR><B>Subject:</B> RE: Payment Block On Vendor 
Invoice<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p>&nbsp;</o:p></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Thanks 
for the responses.&nbsp; To answer your question Mike, there is document 
simulation that runs to check the invoice before posting.&nbsp; If there are any 
errors we do not attempt to post the invoice and use advance with dialog to 
immediately display the errors to the user.&nbsp; Setting the payment block is a 
part of this simulation step and needs to happen before posting so that the user 
can review.</SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">We have 
developed a work around that we think will be acceptable.&nbsp; It will break 
advance with dialog for a very small percentage of work items but we somehow got 
the users to agree.</SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Thanks 
for the help!!!</SPAN><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
<HR align=center width="100%" SIZE=2>
</SPAN></DIV>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of 
</B>Edward Diehl<BR><B>Sent:</B> Tuesday, June 05, 2007 12:12 PM<BR><B>To:</B> 
SAP Workflow Users' Group<BR><B>Subject:</B> RE: Payment Block On Vendor 
Invoice<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">You could perhaps 
use a Secondary Method type AFTER, but I'm not sure that is executed by 
WF-BATCH.&nbsp; You might check that out.<BR><BR><BR>&gt; Date: Tue, 5 Jun 2007 
17:44:33 +0100<BR>&gt; Subject: Re: Payment Block On Vendor Invoice<BR>&gt; 
From: asap@workflowconnections.com<BR>&gt; To: sap-wug@mit.edu<BR>&gt; <BR>&gt; 
Hi Seth,<BR>&gt; <BR>&gt; Let me get this right: is the posting also done in 
dialog? So if they have<BR>&gt; auth to post then why not give auth to change? 
Or else could you not do a<BR>&gt; background step after all the advance with 
dialog stuff?<BR>&gt; <BR>&gt; Otherwise fire an event and do a background 
update asynchronously in a<BR>&gt; separate task.<BR>&gt; <BR>&gt; 
Cheers,<BR>&gt; Mike<BR>&gt; <BR>&gt; On Tue, June 5, 2007 4:32 pm, Stevens, 
Seth wrote:<BR>&gt; &gt; All,<BR>&gt; &gt;<BR>&gt; &gt; Does anyone have any 
suggestions for the below scenario? We have a<BR>&gt; &gt; workflow used for 
approving and posting FI vendor invoices. Before the<BR>&gt; &gt; workflow posts 
the document we need to, possibly, set a payment block on<BR>&gt; &gt; the 
invoice based on some business rules.<BR>&gt; &gt;<BR>&gt; &gt; We have written 
a call transaction to set the block; however, in most<BR>&gt; &gt; cases the 
user does not have edit access so the call transaction won't<BR>&gt; &gt; work 
if running under the user's ID. We cannot set this as a background<BR>&gt; &gt; 
task because there is a requirement to have advance with dialog. I<BR>&gt; &gt; 
cannot find a function module to accomplish this and obviously didn't<BR>&gt; 
&gt; want to do a direct table update.<BR>&gt; &gt;<BR>&gt; &gt; Any help or 
ideas would be greatly appreciated!<BR>&gt; &gt;<BR>&gt; &gt; Thanks,<BR>&gt; 
&gt; Seth<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt;<BR>&gt; &gt; 
-----------------------------------------<BR>&gt; &gt; *Please note my E-Mail 
Address has changed. Please update your<BR>&gt; &gt; contact list*<BR>&gt; 
&gt;<BR>&gt; &gt; Anadarko Confidentiality Notice:<BR>&gt; &gt; This electronic 
transmission and any attached documents or other<BR>&gt; &gt; writings are 
intended only for the person or entity to which it is<BR>&gt; &gt; addressed and 
may contain information that is privileged,<BR>&gt; &gt; confidential or 
otherwise protected from disclosure. If you have<BR>&gt; &gt; received this 
communication in error, please immediately notify<BR>&gt; &gt; sender by return 
e-mail and destroy the communication. Any<BR>&gt; &gt; disclosure, copying, 
distribution or the taking of any action<BR>&gt; &gt; concerning the contents of 
this communication or any attachments by<BR>&gt; &gt; anyone other than the 
named recipient is strictly<BR>&gt; &gt; 
prohibited._______________________________________________<BR>&gt; &gt; SAP-WUG 
mailing list<BR>&gt; &gt; SAP-WUG@mit.edu<BR>&gt; &gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<BR>&gt; &gt;<BR>&gt; <BR>&gt; 
<BR>&gt; -- <BR>&gt; Mike Pokraka<BR>&gt; Senior Consultant<BR>&gt; Workflow 
Connections<BR>&gt; Mobile: +44(0)7786 910855<BR>&gt; <BR>&gt; 
_______________________________________________<BR>&gt; SAP-WUG mailing 
list<BR>&gt; SAP-WUG@mit.edu<BR>&gt; 
http://mailman.mit.edu/mailman/listinfo/sap-wug<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">*Please note my 
E-Mail Address has changed. Please update your contact list* 
<o:p></o:p></SPAN></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
<HR align=center width="100%" SIZE=1>
</SPAN></DIV>
<P><STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Anadarko 
Confidentiality Notice: This electronic transmission and any attached documents 
or other writings are intended only for the person or entity to which it is 
addressed and may contain information that is privileged, confidential or 
otherwise protected from disclosure. If you have received this communication in 
error, please immediately notify sender by return e-mail and destroy the 
communication. Any disclosure, copying, distribution or the taking of any action 
concerning the contents of this communication or any attachments by anyone other 
than the named recipient is strictly prohibited. </SPAN></STRONG><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><o:p></o:p></SPAN></P></DIV>
<P></P>
<P>DISCLAIMER:<BR>This email (including any attachments) is intended for the 
sole use of the intended recipient/s and may contain material that is 
CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others 
or copying or distribution or forwarding of any or all of the contents in this 
message is STRICTLY PROHIBITED. If you are not the intended recipient, please 
contact the sender by email and delete all copies; your cooperation in this 
regard is appreciated.. </P></BODY></HTML>