<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY><!-- Converted from text/plain format -->
<P><FONT size=2>Yes, I see the User Context and the "Processing Started" log 
entry&nbsp;has my name&nbsp;and&nbsp;the entry is tRFC ... only the "Processing 
Complete" and "Result Processing" show WF-BATCH.&nbsp; I can'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 "Post parked doc" 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><BR>Margaret Schumacher<BR><BR><BR>-----Original 
Message-----<BR>From: Mike Pokraka [<A 
href="mailto:wug@workflowconnections.com">mailto:wug@workflowconnections.com</A>]<BR>Sent: 
Wednesday, September 10, 2008 2:08 PM<BR>To: SAP Workflow Users' 
Group<BR>Subject: RE: Issue while posting the invoice in background using the 
WF-BATCHuser<BR><BR>Hi Margaret,<BR><BR>When you say:<BR>"I might be way off 
base but I seem to recall that immediate processing of the next step might cary 
over the prior user's id."<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 Context'. 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's inbox); if it'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's 
id.&nbsp;&nbsp;&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 [<A 
href="mailto:ikhansap@gmail.com">mailto:ikhansap@gmail.com</A>]<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;&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; 
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;&nb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&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; "V004:<BR>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You are not authorized to change this document", 
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; SAP-WUG@mit.edu<BR>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">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; SAP-WUG@mit.edu<BR>&gt; 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">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; SAP-WUG@mit.edu<BR>&gt; <A 
href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A><BR>&gt;<BR><BR><BR><BR></P></FONT></BODY></HTML>