<div dir="ltr">Hi Friends,<br>&nbsp; Thanks for all your replies. The issue was with a custom Enhancement which I was not aware of . But since the error was with<br>authorization i thought its due to WF-BATCH, but the error message was thrown from that enhancment.<br>
<br>Regards,<br>Ibrahim Khan<br><br><div class="gmail_quote">2008/9/11 Schumacher, Margaret <span dir="ltr">&lt;<a href="mailto:mschumacher@teleflexmedical.com">mschumacher@teleflexmedical.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<p><font size="2">Yes, I see the User Context and the &quot;Processing Started&quot; log 
entry&nbsp;has my name&nbsp;and&nbsp;the entry is tRFC ... only the &quot;Processing 
Complete&quot; and &quot;Result Processing&quot; show WF-BATCH.&nbsp; I can&#39;t see the trfc 
because it says it already processed but would it have processed as me or 
WF-BATCH?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Do you think if I remove the Check 
Approver step and had it go directly to the &quot;Post parked doc&quot; it would also have 
the tRFC object?&nbsp; <br><img src="cid:805015920@10092008-2292"><br><br>No 
time to test it today.&nbsp;&nbsp; Thanks for the feedback.</font></p>
<p><font size="2"><br>Regards<br><font color="#888888"><br>Margaret Schumacher</font><div class="Ih2E3d"><br><br><br>-----Original 
Message-----<br>From: Mike Pokraka [<a href="mailto:wug@workflowconnections.com" target="_blank">mailto:wug@workflowconnections.com</a>]<br>Sent: 
Wednesday, September 10, 2008 2:08 PM<br>To: SAP Workflow Users&#39; 
Group<br></div><div><div></div><div class="Wj3C7c">Subject: RE: Issue while posting the invoice in background using the 
WF-BATCHuser<br><br>Hi Margaret,<br><br>When you say:<br>&quot;I might be way off 
base but I seem to recall that immediate processing of the next step might cary 
over the prior user&#39;s id.&quot;<br>you are only slightly off target.<br><br>Scroll 
all the way to the right of the log and you&#39;ll see a column &#39;User Context&#39;. This 
is new as of 620 or thereabouts and will show you the userid the transaction is 
working under.<br><br>To put it simply, if the next task is dialog it will be 
*created* under your user (but placed in the next recipient&#39;s inbox); if it&#39;s 
background 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<br>&gt; post which you think is executed by WF-BATCh but 
really starts with<br>&gt; the User Id of the prior step?&nbsp; I have a step 
between the approval and<br>&gt; the post that verifies the approver has auth to 
approve since it might<br>&gt; have been forwarded or substituted.&nbsp; Notice 
that step 164 has my name<br>&gt; on the processing started log entry.&nbsp; I 
might be way off base but I<br>&gt; seem to recall that immediate processing of 
the next step might cary over the<br>&gt; prior user&#39;s 
id.&nbsp;&nbsp;&nbsp;&nbsp; Please tell me if I&#39;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 [<a href="mailto:ikhansap@gmail.com" target="_blank">mailto:ikhansap@gmail.com</a>]<br>&gt; Sent: 
Wednesday, September 10, 2008 5:42 AM<br>&gt; To: SAP Workflow Users&#39; 
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;&nbsp; I 
check the Authorization check trace in ST01, everything is fine.<br>&gt; Still 
can&#39;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;<a href="mailto:Paul.Bakker@osr.treasury.qld.gov.au" target="_blank">Paul.Bakker@osr.treasury.qld.gov.au</a>&gt;<br>&gt; 
wrote:<br>&gt;<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Ibrahim,<br>&gt;<br>&gt; &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; actually posting the invoice?<br>&gt;<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cheers<br>&gt; &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;&nbsp; &quot;Ibrahim 
Khan&quot;<br>&gt; &nbsp;&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;&nbsp; 
om&gt;<br>&gt; To<br>&gt; &nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&quot;SAP Workflow Users&#39;<br>&gt; Group&quot;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sap-wug-bounces@m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;<a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a href="http://it.edu" target="_blank">it.edu</a><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;&nbsp; 10/09/2008 
04:24&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp; 
PM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp; Please 
respond to<br>&gt; &nbsp;&nbsp;&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;&nbsp;&nbsp; 
Users&#39; Group&quot;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
&lt;<a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hi Friends,<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I am facing an issue while posting the 
invoice in background using<br>&gt; the<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
WF-BATCH user. I am using a invoice approval workflow where in when<br>&gt; 
the<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; approver approvers the invoice the 
invoice document get posted using<br>&gt; a<br>&gt; 
&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; the 
Message Text to my workflow container from this method. When i<br>&gt; see 
the<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log an exception is rasied from this 
method with an error message<br>&gt; &quot;V004:<br>&gt; 
&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; SAP_ALL 
and SAP_NEW authorizations. If i try to post the invoice<br>&gt; using 
the<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; method from my user id it is getting 
posted. What could be the issue.<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Please 
advice.<br>&gt;<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
_______________________________________________<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAP-WUG mailing list<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; 
**********************************************************************<br>&gt; 
**<br>&gt; 
**********************************************************************<br>&gt; 
**<br>&gt; ******<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Only an 
individual or entity who is intended to be a recipient of<br>&gt; this e-mail 
may access or use the information contained in this e-mail<br>&gt; or any of its 
attachments.&nbsp; Opinions contained in this e-mail or any<br>&gt; of its 
attachments do not necessarily reflect the opinions of<br>&gt; Queensland 
Treasury.<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The contents of this 
e-mail and any attachments are confidential and<br>&gt; 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; ******<br>&gt;<br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
_______________________________________________<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAP-WUG mailing list<br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt;<br>&gt;<br>&gt;<br>&gt; 
_______________________________________________<br>&gt; SAP-WUG mailing 
list<br>&gt; <a href="mailto:SAP-WUG@mit.edu" target="_blank">SAP-WUG@mit.edu</a><br>&gt; <a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>&gt;<br>
<br><br><br></div></div></font></p></div>
<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div>