Skip to Content
0
Former Member
Sep 21, 2007 at 01:46 PM

Workflow 'SWE_EVENT_CREATE' problem

294 Views

In Workflow driver program, when calling function module 'SWE_EVENT_CREATE' it is returning EVENT ID always "00000000000000000001" (always same).

CALL FUNCTION 'SWE_EVENT_CREATE'

EXPORTING

objtype = obj_type "bussiness object

objkey = obj_key "key fields in business object

event = evt "event in business object

IMPORTING

event_id = evt_id "event id

EXCEPTIONS

objtype_not_found = 1

OTHERS = 2.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF

From SO01 SAP Inbox there is nomail,

think Workflow is not triggering properly.

Any ideas, suggestions will be appriciated <REMOVED BY MODERATOR>.

Message was edited by:

Alvaro Tejada Galindo