Symptom
While executing the workflow for the supplier invoice, the workflow failed with error "Recipient role with id '/RULE/MRM_CC_RESP' cannot be resolved".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create workflow for completed supplier invoice in app "Manage Workflows for Supplier Invoices".
- Create workflow step and maintain the rule "Persons responsible for all used cost centers" under Recipients section, activate the workflow.
- Create a supplier invoice and maintain a cost center for the G/L account item.
- Assign a WBS element or Profitability Segment for this G/L account item.
- Save the invoice as completed to trigger the workflow, the workflow fails due to the error "Recipient role with id '/RULE/MRM_CC_RESP' cannot be resolved".
Cause
Statistical cost center will not be considered as real and it will not be taken into account during the agent determination based on rule "Persons responsible for all used cost centers". Consequently, there is no workflow recipient can be determined and the workflow fails.
When both cost center and WBS element/Profitability Segment are present in the invoice item, only the WBS element/Profitability Segment is real and the cost center is booked only statistically. This is determined based on the logic outlined in note 41103 - INFO: CO account assignment logic:
"4. Two or more true account assignment objects are not permitted in one posting row. The single exception is the cost centers that are entered together with another true CO account assignment object. In this case, this CO account assignment object is actually posted to and the cost center is updated statistically."
Resolution
Use the agent determination BADI MRM_WORKFLOW_AGENTS to define your own rule for the determination of recipients.
See Also
3302682 - Purchase document's workflow with statistical WBS or Cost center
Keywords
Manage Workflows for Supplier Invoices, /RULE/MRM_CC_RESP, cost center, user responsible, WBS, Profitability Segment, account assignment object, statistical, workflow step, recipient, agent, rule, Create Supplier Invoice, F0859, MIRO, approval details, MRM_WORKFLOW_AGENTS , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem
SAP Knowledge Base Article - Public