on 07-14-2009 9:01 AM
Hi Experts,
I have a doubt regarding workflow. I have created a template in SWDD, and I have to use the template in my report. My report is a modulepool report, in that I'll have a check box for workflow. If I check that box workflow has to trigger.
How can I do this. How to link my workflow template with report.
The second requirement is I have one more check box, If I check that box I have to send external mail to gmail or yahoo like that.
Please help me out from these two issues.
Regards
G.s.naidu
Hi,
Yes you can fulfill your two requirements through coding itself.
For first requirement,
Make any Z bore object and create any event. Use FM u2018SWE_EVENT_CREATE u2018on click on that check box which triggered the event and ur workflow will triggered based on that event.
For second requirement,
Use FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
Hope this will help you.
Smit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Great response, Thank you for the replies.
I'm closing this thread now as I got the exact solution.
Thank you
G.s.naidu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi G.s.naidu,
For your first requirement - On click of that button you can call the FM SAP_WAPI_START_WORKFLOW to trigger a workflow.
You can pass the workflow ID to it to specify the workflow to be triggered.
For your second requirement - On click of mail button you can call FM SO_NEW_DOCUMENT_SEND_API1 to send mails to external IDs.
Hope this helps!
Regards,
Saumya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Smit suggested you can also use SAP_WAPI_START_WORKFLOW function module to trigger the SAP Workflow.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.