Skip to Content
avatar image
Former Member

Workflow process

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 14, 2009 at 08:30 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2009 at 08:38 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 08:35 AM

    As Smit suggested you can also use SAP_WAPI_START_WORKFLOW function module to trigger the SAP Workflow.

    Thanks

    Arghadip

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2009 at 08:59 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Saumya Govil

      Hi Soumya,

      Yeah thanks for the help, I have made it as answered. I'm new to workflow so that I need a lot of help from this forum.

      Regards

      G.s.naidu