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

Ibrahim Khan ikhansap at gmail.com
Wed Sep 10 17:56:45 EDT 2008


Hi Friends,
  Thanks for all your replies. The issue was with a custom Enhancement which
I was not aware of . But since the error was with
authorization i thought its due to WF-BATCH, but the error message was
thrown from that enhancment.

Regards,
Ibrahim Khan

2008/9/11 Schumacher, Margaret <mschumacher at teleflexmedical.com>

>  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<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 <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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080911/02bbcd80/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 68655 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20080911/02bbcd80/attachment.jpg


More information about the SAP-WUG mailing list