Workflow errors not reported in SAP mail?

Soady, Phil phil.soady at sap.com
Wed Jul 16 07:15:41 EDT 2003


Why should a dialog error in a called transaction be a "workflow problem" ?
Why not consider it an "application error".
If the specific issue was Authorization. I would say you have an "authorization problem".
 
When a dialog method calls a transaction, the transaction gets control,
the transaction does its stuff, the control passes back to the point
after the call in the method. The workflow view is situation 100% ok.
If the fact that an authorization error occurred is to be considered
a workflow problem, then that fact must be captured in the workflow.
Note: Unless an error or exception is raised in the dialog method itself,
then the call to this dialog method is considered successful since
it has successfully called a transaction and gained the control again.
 
 
Why not treat it as an authorization error ?
Ie the System trace ST01 or individual check SU53
will show it as an auth error.
 
Workflow has done its job... the Security administrator is behind the
game, or the workflow builder didn't match true business requirements.
Why route the workflow to someone with no authorization ?
 
If you know what authorizations are causing troubles in a specific
situation, you could always check these directly in the method
before calling  the transaction. Or Try to check the current Sy-msgty
after the call and then throw an error (temp or application) inside the method.
 
But surely this issue is best handled elsewhere. Otherwise you might be adding
lots of code to methods.
 
My question: Why send a workitem to someone when they have no auth in the first place.
Surely this has been sent the wrong person? Then the workflow
doesn't match the business process. The workflow should have been sent some where
else.  Eg Put some form of auth check inside a custom RULE (AC 9999999) as an
addition to role resolution.
 
OR If they are the right person....
Give them the authorization.
 
 
My view anyway....
 
 
 
Phil Soady
Senior Consultant
Business Technologies
SAP Australia
* : 0412 213 079
* : phil.soady at sap.com
 
 
 
 
 
-----Original Message-----
From: Michael Pokraka [mailto:workflow at quirky.me.uk]
Sent: Monday, July 14, 2003 8:12 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Workflow errors not reported in SAP mail?
 
 
Hi,
I've noticed thia in a 4.6c system, found and applied some notes to that effect, but still many errors are not mailed. As I usually work with SWI2_DIAG/ADM1, thia hasn't been a priority so I didn't really get too deeply into the cause. Cheers Mike
 
 
On Mon, Jul 14, 2003 at 11:28:04AM +0200, Kouw, FA - SPLTX wrote:
> Hello,
>
> I have a situation in which there are a few workflows in error
> (authorization problem so the user can't execute a synchroneous
> method) that are NOT reported via SAP mail in the SAP Business
> Workflow inbox. The errors are (of course) visible when using 'SWI1 -
> Selection report for workitems'.
>
> Can someone tell me if this is what the system is supposed to do?
>
> Regards,
>
> Fred
>
>
> **********************************************************************
> This e-mail and any attachment may contain confidential and privileged
> material intended for the addressee only. If you are not the
> addressee, you are notified that no part of the e-mail or any
> attachment may be disclosed, copied or distributed, and that any other
> action related to this e-mail or attachment is strictly prohibited,
> and may be unlawful. If you have received this e-mail by error, please
> notify the sender immediately by return e-mail, and delete this
> message. Koninklijke Luchtvaart Maatschappij NV (KLM), its
> subsidiaries and/or its employees shall not be liable for the
> incorrect or incomplete transmission of this e-mail or any
> attachments, nor responsible for any delay in receipt.
> **********************************************************************
>
> ______________________________________________________________________
> _______________________
> This outbound message from KPN has been checked for all known viruses by KPN IV-Scan, powered by MessageLabs.
> For further information visit: http://www.veiliginternet.nl
> _____________________________________________________________________________________________
 


More information about the SAP-WUG mailing list