Symptom
While executing the workflow for the purchase requisition which is generated from maintenance order failed with below error.
- No agent determined (rule id '/RULE/MMPUR_ACC_RESP')
- Message no. SWF_FLEX_RUN140
Environment
SAP S/4HANA Cloud.
Reproducing the Issue
- Change the quantity of the maintenance order through app "Change maintenance order".
- Click on save.
- Check the PR for the approval details.
Cause
Account assignment 'F' is supported only for Internal order.
Resolution
The use of agent rule "Account Object Responsible" for PRs with account assignment category F is not supported for maintenance orders. It is supported only for internal orders.
Use the agent determination BADI to implement the logic. You can find the details here.
See Also
Agent determination BADI.
Keywords
S4_PC, no, agent, determined, rule, maintenance, order, account, assignment, category, F, PR, workflow, SWF_FLEX_RUN140, /RULE/MMPUR_ACC_RESP , KBA , MM-FIO-PUR-REL , Fiori UI for Purchasing Approval , Problem