Issue while posting the invoice in background using the WF-BATCHuser

Schumacher, Margaret mschumacher at teleflexmedical.com
Thu Sep 11 08:33:23 EDT 2008


Thanks for the explanation that helps to understand the log entries
better.  

Regards
 
Margaret Schumacher


-----Original Message-----
From: Mike Pokraka [mailto:wug at workflowconnections.com] 
Sent: Thursday, September 11, 2008 3:26 AM
To: SAP Workflow Users' Group
Subject: RE: Issue while posting the invoice in background using the
WF-BATCHuser

Hi Margaret,

Yes, you assume correctly. The tRFC is the technical process by which
the context switch is accomplished. Your userid creates the workitem (a
side effect of advance with dialog) and then initiates a tRFC to start a
new logon session for user WF-BATCH, which then executes the workitem.

In other words a tRFC will always appear where the processing switches
from dialog to background. If you skip the Check Approver step then the
next background step will show a tRFC.

Cheers,
Mike


On Wed, September 10, 2008 10:13 pm, Schumacher, Margaret wrote:
> Yes, I see the User Context and the "Processing Started" log entry has

> my name and the entry is tRFC ... only the "Processing Complete" and 
> "Result Processing" show WF-BATCH.  I can't see the trfc because it 
> says it already processed but would it have processed as me or
WF-BATCH?
> 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?
>
>
> No time to test it today.   Thanks for the feedback.
>
>
> Regards
>
> Margaret Schumacher
>
>
> -----Original Message-----
> From: Mike Pokraka [mailto:wug at workflowconnections.com]
> Sent: Wednesday, September 10, 2008 2:08 PM
> To: SAP Workflow Users' Group
> Subject: RE: Issue while posting the invoice in background using the 
> WF-BATCHuser
>
> Hi Margaret,
>
> When you say:
> "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."
> you are only slightly off target.
>
> 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.
>
> 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.
>
> Cheers,
> Mike
>
>
> On Wed, September 10, 2008 4:29 pm, Schumacher, Margaret wrote:
>> Could it be that after the Approval the next step is the background 
>> post which you think is executed by WF-BATCh but really starts with 
>> the User Id of the prior step?  I have a step between the approval 
>> and the post that verifies the approver has auth to approve since it 
>> might have been forwarded or substituted.  Notice that step 164 has 
>> my name on the processing started log entry.  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.     Please tell me if I'm wrong just seem to recall
>> this might be the case.....
>>
>>
>>
>>
>> Regards
>>
>>
>>
>> Margaret Schumacher
>>
>>
>>
>>
>> ________________________________
>>
>> From: Ibrahim Khan [mailto:ikhansap at gmail.com]
>> Sent: Wednesday, September 10, 2008 5:42 AM
>> To: SAP Workflow Users' Group
>> Subject: Re: Issue while posting the invoice in background using the 
>> WF-BATCHuser
>>
>>
>> Hi Paul,
>>   I check the Authorization check trace in ST01, everything is fine.
>> Still can't figure our what could be the issue. I hope authorization 
>> should not be and issue since WF-BATCH have an SAP_ALL authorization.
>>
>>
>> On Wed, Sep 10, 2008 at 2:51 PM, 
>> <Paul.Bakker at osr.treasury.qld.gov.au>
>> wrote:
>>
>>
>>       Ibrahim,
>>
>>       Have you tried an authorization trace (via ST01) to verify that

>> WF-BATCH is
>>       actually posting the invoice?
>>
>>       cheers
>>       Paul
>>
>>
>>
>>
>>                   "Ibrahim Khan"
>>                   <ikhansap at gmail.c
>>                   om>
>> To
>>                   Sent by:                  "SAP Workflow Users'
>> Group"
>>                   sap-wug-bounces at m         <SAP-WUG at mit.edu>
>>                   it.edu
>> cc
>>
>>
>> Subject
>>                   10/09/2008 04:24          Issue while posting the
>> invoice in
>>                   PM                        background using the
>> WF-BATCH user
>>
>>
>>                   Please respond to
>>                     "SAP Workflow
>>                     Users' Group"
>>                   <sap-wug at mit.edu>
>>
>>
>>
>>
>>
>>
>>
>>       Hi Friends,
>>        I am facing an issue while posting the invoice in background
> using
>> the
>>       WF-BATCH user. I am using a invoice approval workflow where in
> when
>> the
>>       approver approvers the invoice the invoice document get posted
> using
>> a
>>       background method, which uses BO FIPP and Method POST and i am 
>> returning
>>       the Message Text to my workflow container from this method. 
>> When
> i
>> see the
>>       log an exception is rasied from this method with an error
> message
>> "V004:
>>       You are not authorized to change this document", but WF-BATCH 
>> is having
>>       SAP_ALL and SAP_NEW authorizations. If i try to post the 
>> invoice using the
>>       method from my user id it is getting posted. What could be the
> issue.
>>       Please advice.
>>
>>
>>       _______________________________________________
>>       SAP-WUG mailing list
>>       SAP-WUG at mit.edu
>>       http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>>
>>
>> *********************************************************************
>> *
>> **
>> *********************************************************************
>> *
>> **
>> ******
>>
>>       Only an individual or entity who is intended to be a recipient
> of
>> this e-mail may access or use the information contained in this 
>> e-mail or any of its attachments.  Opinions contained in this e-mail 
>> or any of its attachments do not necessarily reflect the opinions of 
>> Queensland Treasury.
>>
>>       The contents of this e-mail and any attachments are 
>> confidential
> and
>> may be legally privileged and the subject of copyright.  If you have 
>> received this e-mail in error, please notify Queensland Treasury 
>> immediately and erase all copies of the e-mail and the attachments.
>> Queensland Treasury uses virus scanning software.  However, it is not

>> liable for viruses present in this e-mail or in any attachment.
>>
>>
>> *********************************************************************
>> *
>> **
>> *********************************************************************
>> *
>> **
>> ******
>>
>>       _______________________________________________
>>       SAP-WUG mailing list
>>       SAP-WUG at mit.edu
>>       http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>>
>>
>> _______________________________________________
>> SAP-WUG mailing list
>> SAP-WUG at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/sap-wug
>>
>
>
>
>
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>







More information about the SAP-WUG mailing list