How to resolve S2P SAP integration error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 11:19 PM
Hello. - Hello.
I am setting up a Servicenow S2P and SAP integration.
The way to connect to SAP is Odata.
I have completed the following tasks.
- Create a record for SAP system in Connection and Credential alias table.
- Create Credential for connecting to SAP system.
- Add Mid server and credentials to the connection.
- Create ERP Source is ERP source configuration table.
- Create Service, add flow and give the necessary inputs in the fields.
So I want to integrate the primary data and when I tested it in flow designer, I got an error.
I am unable to fetch the primary data in SAP.
The flow uses “Fetch cost centers from SAP S4 HANA OData” and the error occurs at “Set Flow Variables”.
The error is “Error::Encountered an unexpected error in executing Fetch Cost Centers Service OData subflow. Error : Error: Cannot read property "CostCenterName" from undefined,Detail: Cannot read property "CostCenterName" from undefined”.
How can I get rid of the error and fetch the SAP primary data?