BO Method Exceptions: No message for Temporary Error Type

Roehlen, Peter PRoehlen at powercor.com.au
Fri Apr 6 03:41:36 EDT 2001


Thanks Winfried, you've managed to give me a good picture about this area.
 
Kind regards
 
Peter.
 
-----Original Message-----
From: Winfried Winterstein [mailto:winfried_winterstein at yahoo.com]
Sent: Friday, 6 April 2001 17:31
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: BO Method Exceptions: No message for Temporary Error Type
 
 
Hello Peter,
 
I think it is ok to raise a message in the object
method. The only issue is, that message might be
overwritten until the control is given back to the
user. It happend to me in steps when a document was
created in a method and the success message of the
transaction with the document was not displayed.
 
Therefore -i f the first approach does not work - you
could e.g. send a popup window with the message
(function modules do exist like
...popup...to...confirm) to the user and afterwards
cancel the work item (EXIT_CANCELLED).
 
Regards,
Winfried Winterstein (CSC PLOENZKE)
--- "Roehlen, Peter" <PRoehlen at powercor.com.au> wrote:
> Thanks Winfried for your reply,
>
> What's the best way to let my user's know why the
> work item won't execute?
> Do I generate and error message in the BO method?
> If so, does this conflict
> with the raising of the exception?
>
> Thanks
>
> Peter.
>
> -----Original Message-----
>> From: Winfried Winterstein
> [mailto:winfried_winterstein at yahoo.com]
> Sent: Thursday, 5 April 2001 21:18
> To: SAP-WUG at MITVMA.MIT.EDU
> Subject: Re: BO Method Exceptions: No message for
> Temporary Error Type
>
>
> Hi,
>
> the exception is mainly for the workflow engine so
> that system can react on temporary, application and
> system errors. In your case it should be a temporary
> error, so that the work item stays in the inbox.
> The error message can be retrieved via work item
> analysis (directly via business workplace or
> standard
> wf analysis tools).
>
> Regards,
> Winfried Winterstein (CSC PLOENZKE)
> --- "Roehlen, Peter" <PRoehlen at powercor.com.au>
> wrote:
> > Fellow workflowers,
> >
> > I may have misunderstood the documentation, but I
> > have an exception on a
> > Edit method in a business object type that is
> > classified as a temporary
> > error.  It is raised when the object is locked.
> It
> > all works correctly
> > however when the user tries to execute the
> workitem,
> > nothing is displayed.
> > Ie no message is issued, they are merely left in
> the
> > workplace inbox.
> >
> > Do I have to generated my own message using an
> ABAP
> > message statement so
> > that they get some feedback that the object is
> > locked?
> >
> > Thanks in advance for any advice.
> >
> > Cheers
> >
> > Peter Roehlen
> > Team Lead - SAP Technical & Development
> > Powercor Australia Ltd
> > (03) 5430 4704 / 0409 950 263
> >
> >
> >
>
**********************************************************************
> > Powercor Australia Ltd. This email and any file
> > attachments are
> > confidential and intended solely for the use of
> the
> > individual or
> > entity to whom they are addressed. If you have
> > received this email in
> > error please tell us immediately by return email
> and
> > delete the
> > document.
> >
>
**********************************************************************
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
**********************************************************************
> Powercor Australia Ltd. This email and any file
> attachments are
> confidential and intended solely for the use of the
> individual or
> entity to whom they are addressed. If you have
> received this email in
> error please tell us immediately by return email and
> delete the
> document.
>
**********************************************************************
 
 
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
**********************************************************************
Powercor Australia Ltd. This email and any file attachments are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email in
error please tell us immediately by return email and delete the
document.
**********************************************************************
 


More information about the SAP-WUG mailing list