Symptom
- Not able to find POSITIONCODE in CDS I_WORKASSGMTDETSDEX.
- Integrating employee data along with job details from SuccessFactors to S/4HANA.
- POSITIONCODE not visible in the Manage Workforce app (App ID F6097A).
- Checked CDS view I_WORKASSGMTDETSDEX, but POSITIONCODE is not visible.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the app Manage Workforce (App ID F6097A).
- Search for a worker and open the worker record.
- Navigate to the job details section and observe that the Position Code is not displayed.
- Check the CDS view I_WorkAssgmtDetsDEX and observe that the Position Code field is not available.
Cause
- Position Code is not stored in the Workforce Data Model (WFD) in S/4HANA Cloud.
- The persistence table WFD_D_ASSGMTDETS does not contain a Position/Position Code field.
- Consequently, released CDS views I_WorkAssgmtDetsDEX and I_WorkAssignmentDetail do not expose a Position Code.
- Position data from SuccessFactors is not persisted during MDI synchronization to S/4HANA.
Resolution
1.Use Job Code as an alternative:
- Leverage field WorkforcePersonJobCode available in CDS I_WorkAssgmtDetsDEX (synchronized from SuccessFactors).
- Adjust Flexible Workflow agent determination rules to use Job Code when role/job function-based routing is acceptable.
2.Use Supervisor Work Assignment for manager-based routing:
- Leverage field SupervisorWorkAssignmentExtID available in CDS I_WorkAssgmtDetsDEX to determine the direct manager as the approver.
See Also
Keywords
position code, positioncode, cds view, i_workassgmtdetsdex, i_workassignmentdetail, manage workforce, f6097a, workforce data model, wfd_d_assgmtdets, mdi synchronization, job code, workforcepersonjobcode, supervisorworkassignmentextid, flexible workflow, successfactors integration , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public