Let me provide the complete solution because this involves three interconnected configuration areas that all changed in SAP PLM 2022: workflow configuration, QA approval step mechanics, and specification management integration.
Understanding the Change in SAP PLM 2022
SAP redesigned the specification change workflow in PLM 2022 to align with the new Fiori-based approval architecture. The key changes:
- Agent determination switched from position-based to responsibility-based
- Workflow task delivery now uses OData services instead of classic work item delivery
- The QA approval step requires explicit specification management context that wasn’t needed in PLM 2020
Complete Resolution Steps
Step 1: Enable Responsibility-Based Agent Determination
Navigate to SPRO → Production → Specification Management → Workflow Configuration → Agent Determination Rules
Change these settings:
- Agent Determination Method: Change from “POSITION” to “RESPONSIBILITY”
- Enable “Use Org Management Integration”: YES
- QA Approval Rule: Set to “SPEC_QA_RESPONSIBILITY”
This tells the workflow to look for responsibility assignments instead of direct position assignments.
Step 2: Assign QA Responsibilities
In transaction PPOME (Organizational Management):
- Navigate to your QA approvers’ positions
- For each QA approver, add responsibility “SPEC_QA_APPROVER”
- Set validity period and organizational assignment
- Save and activate the changes
The workflow will now route QA approval tasks to anyone with this responsibility, providing more flexibility than rigid position assignments.
Step 3: Update Workflow Template
The workflow template itself needs updating for PLM 2022 compatibility:
- Transaction PFTC, open workflow template WS99800123 (standard spec change workflow)
- Navigate to step “QA_APPROVAL”
- In the step properties, verify:
- Task: TS99800145 (this should be updated to the new task version)
- Agent Assignment: Should show “Rule: SPEC_QA_RESPONSIBILITY” (not a direct position)
- Execution Type: Should be “DIALOG_FIORI” (not “DIALOG”)
- If any of these are incorrect, update them and activate the workflow
Step 4: Activate Fiori Workflow Services
Even though the service shows green in /IWFND/MAINT_SERVICE, you need to verify the specification-specific integration:
- Transaction /IWFND/MAINT_SERVICE
- Find service WORKFLOW_TASK_SRV
- Click “SAP Gateway Client” button
- Execute request: /sap/opu/odata/WORKFLOW_TASK_SRV/TaskCollection?$filter=WorkflowDefinitionID eq ‘WS99800123’
- This should return your pending spec change tasks
- If it returns empty or errors, the service mapping is broken
If the service test fails, reactivate it:
- Delete the service in /IWFND/MAINT_SERVICE
- Re-add it from the service catalog
- Assign to your system alias
- Test again
Step 5: Fix Stuck Workflows
For the 15 workflows currently stuck:
-
Run program RSWUWFML2 in SE38:
- Workflow Template: WS99800123
- Execution Mode: REPAIR
- Process Stuck Items: YES
- Reassign Agents: YES
-
This program will:
- Detect that workflows are stuck at QA_APPROVAL step
- Recalculate agent assignment using new responsibility rules
- Regenerate work items with correct Fiori integration
- Deliver tasks to approvers’ Fiori inbox
-
Check the program log - it should show “15 workflows reprocessed, 15 tasks created”
Step 6: Update Specification Management Configuration
There’s one more configuration specific to specification management in PLM 2022:
IMG → Production → Specification Management → QA Approval → Approval Step Configuration
Set these parameters:
- QA Approval Required: YES
- Approval Type: WORKFLOW (not SIMPLE)
- Workflow Template: WS99800123
- Enable Parallel Approval: NO (unless you want multiple QA approvers)
- Task Priority: MEDIUM
This ensures new specification changes use the correct workflow configuration.
Step 7: Verify Fiori App Configuration
Ensure QA approvers have the correct Fiori apps assigned:
- Fiori Launchpad Designer → Target Mappings
- Verify “My Inbox” app is assigned to QA approver roles
- Check that semantic object “WorkflowTask” is mapped correctly
- Test by logging in as a QA approver and checking My Inbox
Step 8: Test End-to-End
Create a test specification change:
- Submit for QA approval
- Verify workflow starts and reaches QA_APPROVAL step
- Check that task appears in QA approver’s Fiori My Inbox within 2-3 minutes
- Complete the approval and verify workflow continues
Post-Upgrade Best Practices
Going forward:
- Use responsibility-based assignments for all new workflow roles
- Monitor workflow logs in SWI1 weekly to catch stuck items early
- Run RSWUWFML2 in maintenance mode monthly to keep workflows synchronized
- Document any custom workflow steps that might need similar updates
Common Pitfalls to Avoid
- Don’t try to use old position-based assignments in PLM 2022 - they’re deprecated
- Don’t skip the RSWUWFML2 program - stuck workflows won’t self-heal
- Don’t forget to assign the SPEC_QA_APPROVER responsibility to all QA team members
After completing these steps, your specification change workflows should process normally with QA approval tasks appearing correctly in Fiori. The 15 stuck workflows should be released and deliverable to approvers. Future specification changes will route correctly using the new responsibility-based system.