Skip to Content
0
Former Member
Aug 19, 2007 at 03:36 AM

Unable to trigger event

31 Views

Hi,

I have followed the steps for creating a BOR in SWO1, creating the workflow template in SWDD and linking the event and workflow in SWETYPV.

I have tested it manually in SWUE and SWEL shows that the event is triggered. However, when I try to trigger it in from a report, I am unable to do so. My codes are:

<i> DATA: l_objkey TYPE sweinstcou-objkey.

l_objkey = '100019000011942007'.

CALL FUNCTION 'SWE_EVENT_CREATE'

EXPORTING

objtype = 'ZFIPP'

objkey = l_objkey

event = 'CREATED'

  • CREATOR = ' '

  • TAKE_WORKITEM_REQUESTER = ' '

  • START_WITH_DELAY = ' '

  • START_RECFB_SYNCHRON = ' '

  • NO_COMMIT_FOR_QUEUE = ' '

  • DEBUG_FLAG = ' '

  • NO_LOGGING = ' '

  • IDENT =

  • IMPORTING

  • EVENT_ID =

  • TABLES

  • EVENT_CONTAINER =

  • EXCEPTIONS

  • OBJTYPE_NOT_FOUND = 1

  • OTHERS = 2

.</i>

Did I miss anything? I have another question. Is there a difference between using receiver function SWW_WI_CREATE_VIA_EVENT and SWW_WI_CREATE_VIA_EVENT_IBF?