on ā2014 Sep 12 10:06 AM
Hello Experts,
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,
Mohammed.
Request clarification before answering.
Have you checked in SWEL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Commit work is already inside the function module, do i need to explicitly do it?? Check the function module.
Calling Function Module to Trigger Business Object Event
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING OBJECT_TYPE = OBJECT_TYPE " ZBUS593
OBJECT_KEY = OBJECT_KEY
EVENT = EVENT " FIRE
COMMIT_WORK = 'X'
EVENT_LANGUAGE = SY-LANGU
LANGUAGE = SY-LANGU
USER = SY-UNAME
TABLES
INPUT_CONTAINER = lt_cont. " Business Object Container
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.