cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI with multiple inbound calls

dholtzrs
Discoverer
0 Kudos

Hi experts.

I have scenario where an external system makes a call to PI, then PI use that information to make a call to SAP and using the information returned from SAP, it makes another call to a third party API that will generate some data, that will passed to the original consumer (the external system). Also, the third party API uses OAuth 2.0, I don't know if this affects the scenario.

Is this scenario possible and/or is there a better aprocach to it? And how I would configure this in an ICO? 

Attached image for clarification

 

joel_langoyan
Participant
0 Kudos
The way I see your requirement it would need to do some REST Lookup (there are blogs about this) and some significant Java Mappings to handling those calls to the third party API.

Accepted Solutions (1)

Accepted Solutions (1)

caner_genis
Explorer
0 Kudos

Hello dholtzrs,

You can create 2 ICos if possible. 

1- External to SAP (RESTSender to SOAPXIReceiver)

2- SAP to 3rd Party (SOAPXISender to RESTReceiver)

After the step "Returns Data" SAP ERP can consume the 2nd ICo (SAP to 3rd Party) and receive data from 3rd party. An ABAP Developer can map the data from 3rd party into the response structure of the 1st ICo.

Good luck.

Caner.

Answers (0)