cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PO to CPI connection via HTTPS not working

ramu_g4
Participant
0 Kudos
270

Hi Experts,

We are trying to send a message from SAP PO (7.5 single stack) to BTP IS(CPI).

I could acheive this by configuring SOAP sender channel in CPI and able to receive the message in CPI that is sent from SAP PO using REST receiver channel. The authentication mechanism supported by CPI is OAuth so I have to configure client id and secret in REST receiver channel of SAP PO. Also I have to add SOAP envelope and actual XML message payload inside the SOAP body to send a test message from SAP PO.

But, actually SAP PO receives normal proxy XML message from SAP backend but without SOAP envelope and SOAP body. Hence, I am trying to change HTTPS sender channel in CPI and try to send the test XML message without SOAP envelope but the message is getting failed in SAP PO itself. Could you please guide me what is the issue here when I use HTTPS sender adapter in CPI rather than SOAP sender adapter? If I use HTTPS sender adapter in CPI what are prerequisites to be considered to make post call to CPI HTTPS endpoint?

Below is HTTPS sender channel config, I have disabled CSRF. If I select Authorization as User Role or Client certificate what is the difference ? Thanks!

Thank you!

Regards

Ramu

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

What credentials are you using on PO to connect to IS? Did you create a service key and using the client-id and secret as the user id and password on PO? You could use HTTPs receiver channel on PO too for ease of use. You need to REST adapter only if you are leveraging OAuth authentication on IS.

You use Client Certificate on IS when you are using private key authentication from PO to IS.

It would help to see your PO error to help you better.

ramu_g4
Participant
0 Kudos

hi Vijay,

We are using REST receiver channel because OAuth is required by SAP IS. So,only OAuth is supported by SAP IS.

On SAP PO REST receiver channel, I am using client id and secret because only OAuth is supported by SAP IS.

Can you suggest now, how to overcome this scenario, thanks!

Regards

Ramu

VijayKonam
Active Contributor
0 Kudos

What is the error do you see on PO?