cancel
Showing results for 
Search instead for 
Did you mean: 

SAP_WAPI_START_WORKFLOW: ErrorUser has no authorization to start workflow

Former Member
0 Kudos

Hi all,

I am using SAP_WAPI_START_WORKFLOW to trigger workflow from my program.

I am getting following message line Error:User has no authorization to start workflow.

please guide how to/where to change user and also where to verify which id has rights to start workflow.

The workflow is successfully getting executed from SWDD.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

former_member650566
Active Participant
0 Kudos

Hi,

Go to the basic data of the workflow and set agent assignment as general task.

SWDD-Basic data-Goto-agent assignment for the task-attributes-set general task.

Regards

Kedar

Answers (3)

Answers (3)

Former Member
0 Kudos

The user for which the FM is not working. Login with that user and try to trigger workflow using SWUS Tcode.

The user will have authorization issue. Do a SU53 dump and send to security team for authorization.

Thanks

Arghadip

former_member185167
Active Contributor
0 Kudos

Hello,

Check in SU53 as the user with the problem to see what (if any) authorizations are missing.

Also, the workflow template does indeed have to be made General Task.

regards

Rick Bakker

Hanabi Technology

bpawanchand
Active Contributor
0 Kudos

HI,

The problem is , the user who is executing the program is not having the right authorization to start the workflow. The sap_wapi_start_workflow will check for the user SY-UNAME is having the right authorization or not .

It is not the problem with Agent assignement of the workflow tempalte. Consult the basis team , and ask them to provide the right credentials and authorizations. and ROles to start the workflow.

Regards

Pavan