Skip to Content
avatar image
Former Member

REST Adapter Receiver SAP PI. oData Service S4Hana


we are trying to consume one oData service following official documentation (

First of all We need to call GET method to obtain "X-CSRF-Token" and after call POST method using token obtain in GET, but unfortunately we get a "Forbidden" error. Reading different post We need to send Cookies but We can´t obtain during the GET call.

We tried using adapter module to read and write cookie before get and after and recuperate using UDF in Message Mapping.

¿Anybody has any idea to get/set Cookie?

¿Our steps are correct? ¿are there any other way to call oData services in S4 from PI?

Many thanks,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers