SAP Knowledge Base Article - Public

3493357 - Document pricing header field resets to 0 when mapped as Rate

Symptom

When performing External Reprice, after setting a value to a field that has a Header Condition mapped as Rate to it, value gets recalculated to 0.

Environment

SAP SALES CLOUD CPQ Integrated with SAP CPS and SAP Variant Configuration

Reproducing the Issue

  • On CPQ, go to Setup -> Pricing/Calculations -> Pricing Procedures 
  • Map a header condition as Rate and set all needed permissions for editing it on Quote Level
  • Make sure that all calculations are properly set
  • In a quote, set a value to the field and perform the External Reprice Action
  • Check that value got changed to 0 after action is triggered
    • In Developer Console log it is possible to verify that input value is being passed/received in CPS request/response, but a calculation is also performed causing value to be changed to 0.

Cause

Missing rateNormalized in CPS response.

Resolution

  • If rateNormalized is not passed to CPQ via CPS response, price will get recalculcated to 0
  • It should be checked how the rateNormalized is configured in backend system.

See Also

Calculations for Variant Pricing Items | SAP Help Portal 
Define Pricing Condition Mapping | SAP Help Portal 

Keywords

Document Pricing, Pricing Procedure, Header Condition, VC, CPS, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ 2023