Skip to Content
author's profile photo Former Member
Former Member

Triggering workflow using user-exits

Hi all,

can anyone tel me how a workflow can be triggered using user-exits??

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 09, 2008 at 08:02 AM

    Call function module SAP_WAPI_CREATE_EVENT (with COMMIT_WORK = space) to create an event, and use the event to start your workflow (triggering event). Alternatively, you can start the workflow directly using the corresponding SAP_WAPI function module for that purpose. My recommendation is that you normally don't start workflows directly as it is a less flexible solution (or you have to build that flexibility yourself instead of using what you get for free with triggering events).

    However, why are you asking this question? I started wondering after seeing you ask an almost identical question in [another thread|Triggering Workflow Using BADI; here.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 09, 2008 at 07:34 AM

    Hi Karunanidhi,

    If you know the user exit and want to trigger from tat, you need to use FM SWE_CREATE_EVENT or SAP_WAPI_CREATE_EVENT.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.