Symptom
- The custom agent determination BAdI RSM_BADI_CONTEXT_ATTRIB_CALC is not called during the Service Entry Sheet (SES) flexible workflow.
- Custom responsibility definitions are not considered during workflow agent determination.
- The implemented BAdI RSM_BADI_CONTEXT_ATTRIB_CALC is not invoked.
- The issue occurs although Flexible Workflow is configured and activated.
- No error message is displayed.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Set up and activate Flexible Workflow for SES, Purchase Requisition, Purchase Order, and Contracts.
- Create a Team using the Teams and Responsibilities app with a hierarchical structure and team members.
- Create additional custom responsibility definitions and assign them to the team category PROC.
- Create a SES/Purchase Order/Contract document.
- Check agent determination and observe that expected approvers are not determined; custom responsibility definitions are not considered.
- Verify that BAdI RSM_BADI_CONTEXT_ATTRIB_CALC is not called during SES workflow processing.
Cause
- The BAdI RSM_BADI_CONTEXT_ATTRIB_CALC is currently supported for Purchase Requisition workflows only; it is not enabled for Service Entry Sheet or Purchase Order workflows, so it is not invoked.
- The SES workflow definition does not use Unified Responsibility Management, therefore the BAdI is not processed for SES agent determination.
Resolution
- This is the intended system behavior. The BAdI RSM_BADI_CONTEXT_ATTRIB_CALC is not supported for Service Entry Sheet (SES) or Purchase Order flexible workflows and is therefore not called for agent determination.
- For Service Entry Sheet workflows, use the supported agent determination options by configuring approvers in the Teams and Responsibilities app using the delivered responsibility rules.
- If the scenario involves Purchase Requisition workflows, you can implement and use BAdI RSM_BADI_CONTEXT_ATTRIB_CALC, as it is supported for Purchase Requisition flexible workflows.
Keywords
unified responsibility management, flexible workflow, service entry sheet, ses, ws00800321, agent determination, teams and responsibilities, responsibility rules, badi rsm_badi_context_attrib_calc, not called, procurement, purchase requisition, purchase order, s/4hana cloud, workflow agent , KBA , MM-PUR-SVC-SES-WFL , Lean Service / Enhanced Limit Work Flow , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public