Triggering workflow from webdynpro application
I got a requirement to trigger workflow from pop-up window in webdynpro application. Iam using 'SAP_WAPI_CREATE_EVENT' function module to trigger workflow, after triggering workflow am showing success message.
Here the message is displayed but the workflow is not showing in SBWP i.e. am not getting any mail in the inbox. During debugging it is showing correct EVENT and BUSINESS OBJECT.
Any ideas what went wrong or i missed something??
Thanks & Regards,
try this below parameters are passed or not
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
object_type = 'BUS2105'
object_key = lv_objkey
event = 'CREATED'
commit_work = 'X'
event_language = sy-langu
language = sy-langu
user = sy-uname.