SAP Knowledge Base Article - Public

3607787 - Discount exceeded through scripting even though not allowed in Setup

Symptom

System is allowing user to change discount to values outside range, even though override is not enabled in discount setup.

Environment

SAP CPQ

Reproducing the Issue

"User can override values?" in setup needs to be disabled.

  1. Create a script that changes discount
  2. Through scripting, enter a value that should not be allowed.

Cause

Discount rules are not verified if is being set through scripting.

Resolution

Discount exceeded should be checked in script itself, to make sure no limits are exceeded.

See Also

Keywords

SAP CPQ, Discount, Exceeded, Override values, Discount rules, Script , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

Product

SAP CPQ all versions