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

SAP_WAPI_START_WORKFLOW doesn't start workflow...

Hello,

I am calling SAP_WAPI_START_WORKFLOW from Java Web Dynpro. I get Return code 4, and the workflow doesn't get triggered.

i just realized that I didn't assign any explicit possible agents to the workflow. Can anybody let me know how to assign possible agents to the workflow.

I tried going to the "basic data" and assigned using "user" option. Still the workflow won't start...

Thanks

Srinivas

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Feb 11, 2010 at 05:31 AM
    I get Return code 4, and the workflow doesn't get triggered.

    Did you try to check like making the workflow templates agent assugnment as general task.. and make usre that you have the right authorizations to start the workflow. Because the SAP_WAPI_START_WORKFLOW validate the user has authorizations to start workflow or not..

    For agent assignment follow the below steps...

    1. Execute PFTC. Select task type as workflow template.. Mention the workflow ID...and open in Display mode.

    2. ON menu click Addtional assignment ---> Agent Assignment -


    > maintain ---> select GENERAL task... and save refresh the organizational environment.. from SWUS or SWUD or SBWP txn's.....

    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.