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

Function Module to Execute the task backgroundly

HI gurus

I need to execute the workitem programatically which is possible in the SAP_WAPI_SET_WORKITEM_STATUS but I need the wiresult as 001 or 002 or 003 because this workitem task as decision task. So how I have to handle either through any FM or any coding. Please let me know the FM or codes.

Thanks,

Velu...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 26, 2009 at 09:16 AM

    I think you should use SAP_WAPI_DECISION_COMPLETE Function module

    WI_RESULT field stores the unique value for each decision option.

    Thanks

    Arghadip

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2009 at 12:47 PM

    SAP_WAPI_DECISION_COMPLETE with suitable decision keys.

    Hope this helps.

    Harsh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 26, 2009 at 12:44 PM

    BY passing either 0001(A) 0002(R) 0003( Review C) as decsion key to the FM SAP_WAPI_DECISION_COMPLETE will solve the issue

    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.