Symptom
- You are integrating the Agent Desktop add-on with S4/HANA, per the "Integrate External Systems into Agent Desktop with Mashups" documentation
- POST to the data connector doesn't work; it fails with the 404 Not Found errors
Environment
- SAP Service Cloud 2111 (or newer)
- SAP Agent Desktop add-on
- SAP S/4HANA Cloud 2111 (Service Management)
- SAP Event Mesh
- SAP Cloud Integration
Cause
- Missing or incorrect configuration
- Wrong endpoint URL used on the "Configure the iFlow Parameters"
Resolution
- For the Service_Cloud_V2, you most identify the correct <SAP Service Cloud V2 host URL>
- Based on the provisioning of your AWS tenant, the host URL could be any of the following:
- https://de.crm.cloud.sap
- https://us.crm.cloud.sap
- https://au.crm.cloud.sap
- Easiest way to determine what is your <SAP Service Cloud V2 host URL> is to perform the following steps:
- Open your SAP Service Cloud tenant in Chrome or MS Edge
- Hit Ctrl+I keyboard shortcut or right click and select inspect
- Go to the network tab, and filter by "token?sut="
- Click the instance, and go under "Header"
- Look at the Request URL: which should start with either https://de.crm.cloud.sap, https://us.crm.cloud.sap, https://au.crm.cloud.sap etc
- Attached, we include an example payload
- Get a token from the C4C endpoint, for example https://<hostname>.crm.ondemand.com/sap/c4c/mob_auth/sut?tokenType=sbs (replace with the corresponding C4C hostname), invoking a HTTP GET operation with user credentials of the C4C system.
- From the token obtained in above step, invoke the Cloud Native Tenant inbound connector endpoint (HTTP POST operation).
For example, - https://<SAP Service Cloud V2 host URL>/sap/c4c/api/v1/inbound-data-connector-service/messages/sap.crm.eventbridgeservice.entity.inboundEvent
- by adding the x-sap-crm-token header and the attached sample payload after making suitable changes.
- Ensure that you have followed all the steps and prerequisites outlined in the "Integrate External Systems into Agent Desktop with Mashups"
- This inbound event interface is an internal API endpoint intended to be used along with the provided iflow. It is not published and can change.
- The accounts should already be replicated from S/4 to C4C, before being able to transfer the Service Order events
Keywords
S4HANA, Integration, Agent Desktop, Service Agent, SAP Event Mesh , KBA , LOD-CRM-SBS-AC , Agent Console Add-on , Problem
Product
SAP Cloud for Customer core applications 2305
Attachments
InboundEventSamplePayload.txt |