Skip to Content
Former Member
Apr 08, 2016 at 11:20 PM

Authentication between SAP Gateway cloud connector and HCP mobile services


Hello Experts,

We have an Use Case where in we have iOS Native app that connects to HCP mobile services which connects to back end ECC system (say ERP) via HCP Mobile services and HANA cloud connector (HCC) .

App -> HCPms -> HCC -> OData_SRV -> ERP.

We are able to do a GET with and without authentication. This Works !!

However, to perform PATCH operation from native app, we get an error "CSRF Token needed".

But patch works within SAP gateway if we use tcode /IWFND/GW_CLIENT

For authentication, we are using HCP default identity provider (SAP ID) and HTTP Basic Auth. (and this works too). For backend ECC system we use SAP backend user for identity management.

What is the correct way to configure Cloud connector + backend ECC systems so that we can execute PATCH/update?

Any pointers will be highly appreciated!!