Skip to Content
avatar image
Former Member

SAP ODATA - Netweaver Gateway

Hi All,

I am unable to 'Read' an ODATA service hosted on a SAP Gateway system(Integrated with an ABAP server). I believe the issue is due to CORS, specifically with the x-csrf-token. My development environment is on the SAP Web IDE in my desktop.

System: SAP Netweaver 7.0 (Required Add-ons have been installed)

Browser: Internet explorer.

Data from the Northwind database works fine.

I see from the IE console that an x-csrf-token was sent (x-csrf-token Fetch) but the response headers from the Netweaver gateway has no mention of the x-csrf-token. The subsequent request from my Web IDE (http://url/$batch) is met with the response "CSRF token validation failed"

Steps taken so far:

Followed this blog :

Disabled CSRF using the parameter '~CHECK_CSRF_TOKEN=0 in the OData service in SICF

Followed 1896961 - HTTP/HTTPS Configuration for SAP NetWeaver Gateway

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers