SAP Knowledge Base Article - Public

3471849 - Can see script execution logs for a script called "Total Calculation" in Dev console even with scripting turned off


  • When doing Reprice or Add to Quote action, we see an error in script execution in Dev console, with a script called "Total Calculation".
  • But this script is not visible anywhere in the tenant - neither under global scripts nor under custom actions.
  • We see this Log in Dev console even with the UI customizations and ironpython scripting turned off.




  • The reason why we see a log as script execution - Total calculation is that we just log part of the Total calculation, and not a part of which custom calculation (name of the custom calculation) is executed.
  • This means that some custom calculation is not correct or has an error.
  • This will be improved in one of the future releases. 

  • You can try the below steps as an example:
    1. Create a custom calculation with a row type: CartTtotal (it's not necessary to add any script)
    2. Attach the calculation on Add/Copy/Delete on Cart Fields Administration page
    3. Save it
    4. Exit setup
    5. Open dev console
    6. Open Catalog and click Configure on any product
    7. Clear dev console
    8. Populate all required fields in the Configurator
    9. Click Add to quote
    10. Check logs in Dev Console for /api/v1/Cart/AddToQuote
    11. You can filter for : Total calculation

  • There will be logs: Script Execution - Total calculation
  • In the same way, if you delete this custom calculation this log won't be presented in dev console.


This is a modelling issue and it needs to be investigated by yourself or your implementation team, as the issue falls under consulting category and such issues are out of scope for us.

See Also

3040793 - CPQ : What is Support – What is Consulting


total calculation, scripting, custom calculations, modelling issue, consulting, developer console, heavy modelling, configurator, configuration , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem


SAP CPQ all versions