Skip to Content
0

REST Adapter Receiver SAP PI. oData Service S4Hana

Oct 26, 2016 at 10:35 AM

106

avatar image

Hello,

we are trying to consume one oData service following official documentation (https://cp.hana.ondemand.com/dps/d/preview/6e5cad3a964d429194c436c18a184f6f/1605%20500/en-US/frameset.htm?1f3b8a551e41bf5de10000000a423f68.html).

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,

Alberto

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers