<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I remember being stumbled across a similar
problem years ago on an old 4.6 something release. We never actually solved
it.</font>
<br><font size=2 face="sans-serif">We worked around by tagging the background
posting step as dialogue step (just that it wouldn't have a dialogue) and
using the advance with dialogue option. Actor would be the actual agent
of the previous step. </font>
<br><font size=2 face="sans-serif">This way the documents were posted with
the actual approver and we had the nice side effect that the change log
too would show the right user instead WF-Batch.</font>
<br>
<br><font size=2 face="sans-serif">kind regards,</font>
<br><font size=2 face="sans-serif">Veit </font>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">-- <br>
 &nbsp;<br>
Dipl. WiInf Veit Unger <br>
 &nbsp;<br>
Managing Consultant / IT Architect <br>
Global Business Services / CRM <br>
-------------------------------------------------------------------------------------------------------------------------------------------
<br>
IBM Deutschland <br>
Nahmitzer Damm 12 <br>
12277 Berlin <br>
Phone: +49-0170 9147650 <br>
E-Mail: veit.unger@de.ibm.com <br>
-------------------------------------------------------------------------------------------------------------------------------------------
<br>
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Erich Clementi <br>
Geschäftsführung: Martin Jetter (Vorsitzender), Christian Diedrich, Christoph
Grandpierre, Matthias Hartmann, Thomas Fell, Michael Diemer <br>
Sitz der Gesellschaft: Stuttgart / Registergericht: Amtsgericht Stuttgart,
HRB 14562 WEEE-Reg.-Nr. DE 99369940 &nbsp;<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Mike Pokraka&quot;
&lt;wug@workflowconnections.com&gt;</b> </font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">10.09.2008 20:07</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: Issue while posting the invoice
in background using the &nbsp; &nbsp; &nbsp; &nbsp; WF-BATCHuser</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi Margaret,<br>
<br>
When you say:<br>
&quot;I might be way off base but I seem to recall that immediate processing
of<br>
the next step might cary over the prior user's id.&quot;<br>
you are only slightly off target.<br>
<br>
Scroll all the way to the right of the log and you'll see a column 'User<br>
Context'. This is new as of 620 or thereabouts and will show you the<br>
userid the transaction is working under.<br>
<br>
To put it simply, if the next task is dialog it will be *created* under<br>
your user (but placed in the next recipient's inbox); if it's background<br>
it will show the log as you pointed out but the context will be WF-BATCH.<br>
<br>
Cheers,<br>
Mike<br>
<br>
<br>
On Wed, September 10, 2008 4:29 pm, Schumacher, Margaret wrote:<br>
&gt; Could it be that after the Approval the next step is the background
post<br>
&gt; which you think is executed by WF-BATCh but really starts with the
User<br>
&gt; Id of the prior step? &nbsp;I have a step between the approval and
the post<br>
&gt; that verifies the approver has auth to approve since it might have
been<br>
&gt; forwarded or substituted. &nbsp;Notice that step 164 has my name on
the<br>
&gt; processing started log entry. &nbsp;I might be way off base but I
seem to<br>
&gt; recall that immediate processing of the next step might cary over
the<br>
&gt; prior user's id. &nbsp; &nbsp; Please tell me if I'm wrong just seem
to recall<br>
&gt; this might be the case.....<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Regards<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Margaret Schumacher<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ________________________________<br>
&gt;<br>
&gt; From: Ibrahim Khan [mailto:ikhansap@gmail.com]<br>
&gt; Sent: Wednesday, September 10, 2008 5:42 AM<br>
&gt; To: SAP Workflow Users' Group<br>
&gt; Subject: Re: Issue while posting the invoice in background using the<br>
&gt; WF-BATCHuser<br>
&gt;<br>
&gt;<br>
&gt; Hi Paul,<br>
&gt; &nbsp; I check the Authorization check trace in ST01, everything is
fine.<br>
&gt; Still can't figure our what could be the issue. I hope authorization<br>
&gt; should not be and issue since WF-BATCH have an SAP_ALL authorization.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Sep 10, 2008 at 2:51 PM, &lt;Paul.Bakker@osr.treasury.qld.gov.au&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ibrahim,<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Have
you tried an authorization trace (via ST01) to verify that<br>
&gt; WF-BATCH is<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;actually
posting the invoice?<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;cheers<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Paul<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;Ibrahim Khan&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;ikhansap@gmail.c<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;om&gt;<br>
&gt; To<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Sent by: &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;SAP Workflow Users'<br>
&gt; Group&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sap-wug-bounces@m &nbsp; &nbsp;
&nbsp; &nbsp; &lt;SAP-WUG@mit.edu&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;it.edu<br>
&gt; cc<br>
&gt;<br>
&gt;<br>
&gt; Subject<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;10/09/2008 04:24 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;Issue while posting the<br>
&gt; invoice in<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PM &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;background using
the<br>
&gt; WF-BATCH user<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Please respond to<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;SAP Workflow<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Users' Group&quot;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;sap-wug@mit.edu&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Hi
Friends,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
I am facing an issue while posting the invoice in background<br>
&gt; using the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WF-BATCH
user. I am using a invoice approval workflow where in<br>
&gt; when the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;approver
approvers the invoice the invoice document get posted<br>
&gt; using a<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;background
method, which uses BO FIPP and Method POST and i am<br>
&gt; returning<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;the
Message Text to my workflow container from this method. When<br>
&gt; i see the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;log
an exception is rasied from this method with an error<br>
&gt; message &quot;V004:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;You
are not authorized to change this document&quot;, but WF-BATCH is<br>
&gt; having<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SAP_ALL
and SAP_NEW authorizations. If i try to post the invoice<br>
&gt; using the<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;method
from my user id it is getting posted. What could be the<br>
&gt; issue.<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Please
advice.<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_______________________________________________<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SAP-WUG
mailing list<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SAP-WUG@mit.edu<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; ************************************************************************<br>
&gt; ************************************************************************<br>
&gt; ******<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Only
an individual or entity who is intended to be a recipient<br>
&gt; of this e-mail may access or use the information contained in this<br>
&gt; e-mail or any of its attachments. &nbsp;Opinions contained in this
e-mail or<br>
&gt; any of its attachments do not necessarily reflect the opinions of<br>
&gt; Queensland Treasury.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;The
contents of this e-mail and any attachments are confidential<br>
&gt; and may be legally privileged and the subject of copyright. &nbsp;If
you have<br>
&gt; received this e-mail in error, please notify Queensland Treasury<br>
&gt; immediately and erase all copies of the e-mail and the attachments.<br>
&gt; Queensland Treasury uses virus scanning software. &nbsp;However, it
is not<br>
&gt; liable for viruses present in this e-mail or in any attachment.<br>
&gt;<br>
&gt;<br>
&gt; ************************************************************************<br>
&gt; ************************************************************************<br>
&gt; ******<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_______________________________________________<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SAP-WUG
mailing list<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SAP-WUG@mit.edu<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt;<br>
&gt;<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>
&gt;<br>
<br>
<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>