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

Calling workflow tasks in program

Hi,

I want to know how to call a workflow task in a ABAP program. This task is linked to a customised method.

Thanks

Ananth

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2004 at 08:56 AM

    Hi Ananth

    You have two options to trigger a workflow task

    1> Attach a Business object and a particualr event in the

    triggering event of your task.

    Then in your ABAP pgm use FM SWE_EVENT_CREATE to raise

    the event for the Business object and the event which

    you attach in the task as trigerring event

    2> Else , you can make use of SWW_WI_START function module and pass pass parameter ( it will be the name of your workflow task , The workitem Type , creator etc .)

    Thanks

    Shovit

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2005 at 01:16 PM

    Try using SAP_WAPI_START_WORKFLOW function module

    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.