Symptom
Users cannot go to SAP Cloud for Customer from SAP CPQ (the workflow is one-directional from SAP Cloud for Customer to SAP CPQ only).
All changes made on the quote in SAP CPQ are sent to SAP Cloud for Customer either automatically after users save the quote or when triggering the Update Sales Quote action.
Additionally, if the Automatically Update Sales Quote parameter is enabled, whenever the quote status is changed in SAP CPQ, the sales quote in SAP Cloud for Customer is updated accordingly. Also, whenever any action is triggered on the quote, including Save, the system checks whether the status should be changed.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental"
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Login to CPQ
- GoTo Setup
- In Setup, navigate to Provider > SAP Integrations > SAP Cloud for Customer
Cause
- When customers want have a quote in particular status, say in Preparing status in CPQ and the custom action "Send To Commerce - No Approval" is executed.
- Data about the quote is successfully sent to Commerce
- The C4C quote is not updated
It is expected behavior because the Save Quote action (or other action) should be executed in order to update the quote on the CRM side.
Resolution
If customers want to automize this process and on one click update both sides (Commerce and C4C).
They can achieve this behavior, they can add a script or make a small change in the existing script (if already present) in the custom action. It would be enough to add the following line at the end of the script: Quote.ExecuteAction(19) and save action will be triggered and the C4C quote will be updated.
Note: Quote.ExecuteAction(19) -> 19 is id of SaveQuote action
See Also
Keywords
CPQ-C4C, Status not updated in C4C, Automatically Update Sales Quote not working, Custom action, Script, Execute Action, Save Quote, Commerce, quote 1.0 , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public