Symptom
When attempting to replicate attachments from SAP Field Service Management to SAP S/4HANA, the integration flow "Replicate Attachments from SAP Field Service Management to SAP S4HANA" fails in SAP CPI.
The message processing log shows the following error:
- CSRF token validation failed
As a result, attachment replication from FSM to the S/4HANA backend system does not complete successfully.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP Field Service Management (FSM)
- SAP S/4 HANA Private Cloud (S/4 HANA)
- SAP Cloud Platform Integration (CPI)
- SAP Cloud Connector
Product
Keywords
SAP Field Service Management, SAP FSM, SAP S/4HANA, SAP S4HANA, SAP Cloud Integration, CPI, SAP Integration Suite, attachment replication, replicate attachments, CSRF token validation failed, CSRF token error, Java Cookie Manager, set-cookie domain issue, cookie domain without dot, Cloud Connector virtual host, SAP Cloud Connector configuration, HTTP receiver adapter, integration flow failure, iFlow error, FSM to S4 integration, SAP integration troubleshooting, hostname requires dot, cookie domain validation, SAP CPI HTTP adapter, backend connectivity issue , KBA , CRM-S4-INT-FSM , S4CRM: Service Integration with Field Service Mgmt , CRM-S4-INT-FSM-2CL , S4CRM: Service Integration with Field Service Mgmt (PubC) , CEC-SRV-FSM-S4H , Integration of S/4HANA to FSM , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview