SAP Knowledge Base Article - Public

3751407 - Execute Script Expression error

Symptom

Logs return the error title: "Execute Script Expression"

Environment

SAP CPQ

Reproducing the Issue

  • No exact steps, error can appear in multiple scenarios, for example, creating, viewing or editing quotes.
  • A script must be in use while taking one of those actions.

Cause

  • This error arises because the quote might have already been modified. Which happens when a custom script updates quote data in memory and, within the same execution, a CPQ API or external process also updates the same quote. Because some changes are only persisted at the end of the script (unless Save is called), the modification timestamp mismatches and the system rejects the script's changes.
  • The behavior is triggered by client scripting logic that updates the quote multiple times within the same execution chain.

Resolution

  • Open case with CPQ Support team to verify if this issue is related to the exception "QuoteAlreadyModified" (Which can only be seen on default tenant).
    • If it is related, then the client needs to review the logic of their scripts, see where exactly the issue occurs in those failing scripts and then adjust it accordingly.
    • If this exception is not present, it could indicate a different issue. Which would require further investigation by SAP CPQ team.

Keywords

CPQ, before quote rendering, quote already modified, validation, script timeout, intermittent, script execution limit, ironpython, concurrent update, custom scripting, quote edit, performance, Execute Script Expression , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error

Product

SAP CPQ 2026