Issue while posting the invoice in background using the WF-BATCHuser
Veit Unger
veit.unger at de.ibm.com
Wed Sep 10 14:48:29 EDT 2008
Hi,
I remember being stumbled across a similar problem years ago on an old 4.6
something release. We never actually solved it.
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.
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.
kind regards,
Veit
--
Dipl. WiInf Veit Unger
Managing Consultant / IT Architect
Global Business Services / CRM
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland
Nahmitzer Damm 12
12277 Berlin
Phone: +49-0170 9147650
E-Mail: veit.unger at de.ibm.com
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Erich Clementi
Geschäftsführung: Martin Jetter (Vorsitzender), Christian Diedrich,
Christoph Grandpierre, Matthias Hartmann, Thomas Fell, Michael Diemer
Sitz der Gesellschaft: Stuttgart / Registergericht: Amtsgericht Stuttgart,
HRB 14562 WEEE-Reg.-Nr. DE 99369940
"Mike Pokraka" <wug at workflowconnections.com>
Sent by: sap-wug-bounces at mit.edu
10.09.2008 20:07
Please respond to
"SAP Workflow Users' Group" <sap-wug at mit.edu>
To
"SAP Workflow Users' Group" <sap-wug at mit.edu>
cc
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080910/d8ed4269/attachment.htm
More information about the SAP-WUG
mailing list