Symptom
While searching with a Purchasing Contract number at Manage Purchase Contracts app it is possible to see a duplicate entries (two or more entries shown for the same contract number).
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the Manage Purchase Contracts app.
- Search for the relevant purchase contract number.
- Observe that two or more entries are listed for the same contract.
Cause
The CDS view C_CONTRACTMAINTAIN uses ACTIVEPURCHASINGDOCUMENT as the key when version management is active in system, meaning that entries are keyed by the Active Purchasing Document rather than the Purchasing Contract Number, so more than one row can display for the same Contract number.
When the Version Management is active this is expected system behavior.
Resolution
This behavior is by design, the use of ACTIVEPURCHASINGDOCUMENT as the CDS key reflects the version management data model and can result in multiple entries for the same contract number in the app.
It is possible to change the configuration in SCCUI 103498 - Set Up Version Management for Purchasing Documents.
See Also
Keywords
manage purchase contracts, duplicate entries, duplicate purchase contract, purchasing contract number, version management , KBA , MM-FIO-PUR-SQ-CON-CL , Fiori UI for Manage Purchase Contracts (Public Cloud) , Problem
SAP Knowledge Base Article - Public