exception in class and passing of parameters
Robert van den Berg
wug at bergtop-ict.nl
Thu May 20 04:51:31 EDT 2010
Many thanx fot the quick respons. I was searching for it on SDN and
doc's but again, this group was faster!
Another argument why this group should remain ;-)
Regards,
Robert
On May 20, 2010 10:30 "Dart, Jocelyn" <jocelyn.dart at sap.com>wrote:
> Hi Robert,
>
> If you raise an exception, the exporting parameters are NOT returned
> to the calling application (not just workflow – all calling
> applications) – exact same behaviour as function modules. The test
> tool “cheats” a little.
>
> So for a synchronous task either use an additional exporting parameter
> to indicate success/failure or use an exception class to update the
> workflow log with your returned value.
> Or raise an event (with or without parameters) – and make your task
> asynchronous.
>
> Regards,
> Jocelyn
>
> From:sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On
> Behalf OfRobert van den Berg
> Sent: Thursday, 20 May 2010 6:17 PM
> To: SAP Workflow Users' Group
> Subject: exception in class and passing of parameters
>
> Hi Group,
>
> I have a task which uses a method of a class. This method has export
> parameters and exceptions.
> Before the exception is raised, the export parameter is set.
>
> The problem is that, when the exception is raised, the export
> parameter is empty. When I test the method from the class builder, the
> export parameter contains a value but when I test the workflow, the
> workflow container is empty.
>
> Does anyone have an idea?
>
> Regards,
> Robert
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20100520/8ec1e37c/attachment.htm
More information about the SAP-WUG
mailing list