cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Synchronous RFC to REST Scenario

Former Member
0 Kudos

Hi Experts,

I'm facing a tricky situation where i can't receive an expected response from our 3rd party app. FYI, we are using dual stack.

So here is our requirement:

  1. This is a synchronous outbound interface (from SAP)
  2. Function Module will call PI using sRFC (Yes, without 'In BACKGROUND TASK')
  3. PI will convert XML to JSON then post it to API's URL
  4. 3rd party app receive JSON and send back a JSON response
  5. PI will receive that response and convert it into XML
  6. Converted XML will returned to Function Module via sRFC
  7. Function Module will update the custom table in SAP.

Currently i'm stuck on number 4. If i test the REST API using Advanced REST Client, i could get the response from 3rd party app.

I read several reference from : PI Rest Adapter – Don’t be afraid and lurking on this forum, still not get any clear solution.

Please point me some your knowledge and experience.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Experts,

we already solved it by change our receiver determination, interface determination, sender agreement, and receiver agreement into integrated configuration. I am still not sure how different is that but it's work.