I am trying to start a single step workflow using SAP_WAPI_START_WORKFLOW. I get a return code 6, meaning User not allowed to start task. The workflow does not start.
I am able to start the same workflow using SAP_WAPI_CREATE_EVENT to trigger the event that is linked with the workflow.
I wonder if the workflow task requires any special setting to enable starting from SAP_WAPI_START_WORKFLOW.
Does anybody have any ideas/suggestions?