Hello experts,
I am trying to trigger class based workflow from webdynpro. FM used is SAP_WAPI_CREATE_EVENT. Created the event SUBMIT in the class ZMM_MATUPD and activated the linkage in SWETYPV.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
OBJECT_TYPE = 'ZMM_MATUPD' "lv_objecttype
OBJECT_KEY = '0000000011' "lv_objectkey
EVENT = 'SUBMIT' "lv_event
IMPORTING
RETURN_CODE = lv_return
TABLES
INPUT_CONTAINER = lt_container
The return code lv_return value is 1.
Are there any steps that I am missing from workflow or class or webdynpro due to which the workflow is not triggering ?