Symptom
Error message "Only single comparisons allowed for test parameter 'Country/Region Code'" is shown when trying to select multiple countries in Form Template Selection for Sales Quotes.
Environment
SAP Cloud for Customer
Reproducing the Issue
- Navigate to Administration Workcenter.
- Go to Form Template Selection view.
- Select Sales Quotes and click Go.
- Select rule with Quotation Type = export;
- Select the "Include" operator for Country/Region Code to select multiple countries.
- Select two or more countries in Country/Region Code.
- Go to Action and Activate Rules.
- Error "Only single comparisons allowed for test parameter 'Country/Region Code'" is shown.
Cause
The error message indicates that only the operator "Equal" is valid for the "Country/Region Code". This means that for additional Countries/Regions, additional lines need to be added for selection.
Resolution
This is the expected system behavior.
We recommend only to use the Equal operator for all parameters. The reason is to have a clear, understandable overview for the selection and to guarantee the uniqueness of the selection.
Also, to cover all the use cases and avoid gaps, we also recommend always to have the latest line for all the rest cases (cases which might not be covered by the preceding lines).
Keywords
Template ; Operator ; Equal ; Country/Region Code ; Error message , KBA , LOD-LE-CQP , Customer Quote Processing , How To
SAP Knowledge Base Article - Public