<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</STYLE>

<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff>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 t</FONT></SPAN><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff>he payment block is a part of this simulation step and needs to 
happen before posting so that the user can review.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff></FONT></SPAN><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff>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.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=150050021-05062007><FONT face=Arial 
color=#0000ff>Thanks for the help!!!</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma><B>From:</B> 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<BR></FONT><BR></DIV>
<DIV></DIV>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<BR><BR></BODY></HTML>

<HTML><BODY>*Please note my E-Mail Address has changed.  Please update your contact list*
<br><br>
<P><hr size=1></P>
<P><STRONG>
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.
</STRONG></P></BODY></HTML>