4 weeks ago
Hi All,
While Maintain of Flexible workflow for supplier invoice ( Workflow for Parked Invoice as Complete). During activation we are getting below error. - User " " is not authorized. Please enter a valid user as approver.
Note: If Employee integration to Business partner is maintained then we are able to activate the workflow successfully. But the requirement is to maintain the approver without any integration, when we try then we face below issue.
Workflow activation Error
{
"message": "HTTP request failed",
"statusCode": "400",
"statusText": "Bad Request",
"headers": {
"Content-Type": "application/json;charset=utf-8",
"Content-Length": "855",
"DataServiceVersion": "1.0"
},
"responseText": "{\"error\":{\"code\":\"APPL_MM_IV_WORKFLOW/007\",\"message\":{\"lang\":\"en\",\"value\":\"User "xyz" is not authorized. Please enter a valid user as approver.\"},\"innererror\":{\"application\":{\"component_id\":\"BC-BMT-WFM-DEF\",\"service_namespace\":\"/SAP/\",\"service_id\":\"SWF_FLEX_DEF_SRV\",\"service_version\":\"0001\"},\"transactionid\":\"40EE68B549A945188D69AF4E9448F5E1\",\"timestamp\":\"\",\"Error_Resolution\":{\"SAP_Transaction\":\"\",\"SAP_Note\":\"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)\",\"Batch_SAP_Note\":\"See SAP Note 1869434 for details about working with $batch (https://service.sap.com/sap/support/notes/1869434)\"},\"errordetails\":[{\"ContentID\":\"\",\"code\":\"APPL_MM_IV_WORKFLOW/007\",\"message\":\"User "xyz" is not authorized. Please enter a valid user as approver.\",\"propertyref\":\"\",\"severity\":\"error\",\"transition\":false,\"target\":\"\"}]}}}"
}
Is there a Service Configuration needs to be maintained or any other alternatives solution to fix this issue.
Or is it mandatory to integrate an employee to business partner for maintaining the approver as a recipient in the Supplier invoice workflow step.
Also when we tried to configure the flexible workflow for purchase orders then we are able to activate the workflow without the employee integration to Business partner. Can we do same for Supplier Invoice as well?
Please help on the above issue.
Best regards,
Ankit
Request clarification before answering.
Hi,
You can choose Role instead of User and then work with your developer to add the logic in a BADI to determine the agent.
But what is the issue if you maintain Employee as a BP? This option is easier and more flexible.
Thanks,
Sanan Afridi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
4 | |
4 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.