Exception Handling

Griffiths, Mark mark.griffiths at sap.com
Tue Dec 23 05:34:48 EST 2003


You also need to remember to create the exception by pressing the 'Exceptions' button whilst you have your method selected - set up the exception number, type, and what message and number it should be linked to.
 
If you are doing this sort of BOR coding then try also reading the help files where there are examples or if this is not enough then try to get on a BIT610 / BC610 workflow programming course.
 
Regards,
 
Mark
 
SAP UK
 
-----Original Message-----
From: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU] On Behalf Of Kouw, FA - SPLXE
Sent: 23 December 2003 10:29
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Exception Handling
 
 
Hi Peggy,
 
If I'm correct then the exceptions defined in your method should be displayed on tab page 'Outcomes' for the
step in your workflow. Additionally you have to raise the actual exception(s) in your method using the following
code:
 
   * EXIT_RETURN <exception> <additional parameters>
 
Regards,
 
Fred Kouw
 
Peggy Stammler wrote:
 
> How can I raise an exception (error) in the Workflow?
>
> I have a function module with exception 1 - ITEM NOT FOUND and 2 - ITEM
> ERRONEOUS and 3 - OTHERS. This fm I call in my object type method. Here I
> added these exceptions as well. Then I call this method in my task. Here I
> see no possibility to define/link/.. these exceptions.
>
> Can anybody help?
>
> Thanks
> Peggy
>
> _________________________________________________________________________________________
> This inbound 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
> _____________________________________________________________________________________________
 
 
**********************************************************************
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