on ‎2023 Sep 22 3:57 PM
Hi SAP Community,
We have implemented SAP CPQ 2.0 into an Salesforce CRM following the standard documentation.
Link to docu
When I click on Create Quote Button in the Salesforce system, it opens CPQ in the iFrame but I am not landing in a new quote.
The iflow src is: https://<CpqDomain>.cpq.cloud.sap/integrations/crm/landing?action=create&opportunityid=<OpportunityId>≈isessionid=<SessionId>&authtoken=<AuthToken>&maxHeight=<Value>px
Instead i got a screen with the CPQ top navigation elements and the message
"There was an issue with landing to SAP CPQ. Please contact your administrator for assistance."
The Dev Console Output is the following:
Message: CRM landing - The following error occurred: Script handler isn't defined for the OnLandingFromCrm event.
Row number: 10
Hierarchy Id: 3.3
Nesting: 1
Exception: LoggerCrmLandingController
Level: Trace H
Message: Landing from CRM unsuccessful.
Row number: 57
Hierarchy Id: 3.27
Nesting: 1
Exception:
Webcom.Common.Util.Exceptions.NotFoundErrorCodeException: Script handler isn't defined for the OnLandingFromCrm event. at Webcom.API.RD.CrmLanding.CrmLandingController.LandFromCrm() in ./RD/CrmLanding/CrmLandingController.cs:line 165
Logger: CrmLandingController
I found some Documentation details in the CPQ Integration Guide Page 393:

But have no clue how to fix it jet.
Do you know what this could have caused this failed redirection?
Kind regards
Alex
Request clarification before answering.
Things you should check to receive a successful redirection:
1. Take care that your script which is triggered by the event OnLandingFromCRM on the fetches the context.ExternalParameter is active.
2. The respective script would return and redirect link at the end to direct the user to the new quote. Take care that the link will be constructed correctly. Check the link with dummy data and adjust it if necessary.
3. The script must run successfully until the end otherwise it doesn't return the correct redirect link and and you get the SAP CPQ UI with the error message: "There was an issue with landing to SAP CPQ. Please contact your administrator for assistance."
Tip: the Log and the Developer Console help a lot to identify where the process gets stuck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 8 | |
| 7 | |
| 6 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.