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.
Hi,
check SWI1 tcode your workflow has been triggered or not. If workflow has been triggered check the workflow log.
If workflow has been suspended at mail step(Reason mail id has to be maintained) for mail step.
check your mails in SOST status of mails is available.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Rajesh,
I have checked in SWI1, but it is not showing any thing in it. Even email is unavailable in SOST.
The function module 'SAP_WAPI_CREATE_EVENT' is working fine. The procedure is followed according to Kiran Reddy Document on "How to trigger workflow from webdynpro".
Any suggestions??
Thanks,
Mohammed
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.