IF_SWF_IFS_WORKITEM_EXIT exception

yegorm yegorma at gmail.com
Wed Jun 16 06:39:32 EDT 2010


Hello, Oleg!

I suppose you should use im_workitem_context->set_message_to_log to
add your message to workitem log.
see sample code here
http://mailman.mit.edu/pipermail/sap-wug/2004-October/014801.html

Best regards,
Egor Malov

On Tue, Jun 15, 2010 at 4:58 PM, Oleg Mayorov <oleg.mayorov at gmail.com> wrote:
> Hi, All!
>
> I'm using method   if_swf_ifs_workitem_exit~ event_raised  for
> checking workitems after execusion, if errors occurs - i'm raising my own
> message:
>
>    data: st100 type swf_t100ms.
>               message e000(zsrm_app) with text-001 into dummy.
>               move-corresponding sy to st100.
>               raise exception type cx_swf_ifs_workitem_exit_error exporting t100_msg = st100.
>
> But when i look into Workflow log,  i don't see this message, instead of
> this,  i see standard message (SWF_RUN 646 ).
> Can anybody advice me how can i see my message in Workflow log? The system
> is SAP SRM 7.0.
> Thanx!
>
> Regards,
> Mayorov Oleg.
>




More information about the SAP-WUG mailing list