Symptom
- An error occurs when creating Purchase Contracts in the Manage Purchase Contracts app.
- Header-level conditions (for example, percentage surcharges or global discounts) cannot be maintained.
- Error message: "No condition type could be determined."
- Error code: 06658.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a purchase contract via the Manage Purchase Contracts app.
- Open Conditions and attempt to maintain a header-level condition.
Cause
The access sequence assigned to the pricing condition type does not include Contract Header access (Access 019), so the system cannot determine a header-level condition in contracts.
Resolution
Because standard condition types and access sequences are not editable in the public cloud. Steps below need to follow and create custom condition and access sequence.
- Navigate to SSCUI – Set Calculation Schemas and identify the calculation schema used for purchase contracts (for example, A10001).
- Note the condition type used for the relevant price/discount in that schema.
- Navigate to SSCUI – Define Condition Types and find the identified condition type (for example, PPR0).
- Create a copy of the standard condition type to define a custom condition type (for example, ZPR0), since the standard condition type cannot be changed.
- In the custom condition type, note the assigned access sequence (for example, PPR0).
- Create a custom copy of the standard access sequence because the standard access sequence is not editable.
- Open the custom access sequence and go to Accesses.
- Add Table Number 019 – Contract Header to the access list.
- Save the custom access sequence.
- Assign the custom access sequence to the custom condition type.
- Return to SSCUI – Set Calculation Schemas and replace the standard condition type with the new custom condition type in the schema.
- Save the configuration and test creating a purchase contract to confirm header condition determination works.
Keywords
manage purchase contracts, purchase contract, header conditions, header discount, surcharge, pricing, condition type, no condition type could be determined, error 06658, access sequence, access 019, contract header, calculation schema, sscui, public cloud , KBA , MM-FIO-PUR-SQ-CON-CL , Fiori UI for Manage Purchase Contracts (Public Cloud) , Problem
SAP Knowledge Base Article - Public