function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hemant Gulati 4Hemant Gulati 4 

Need to consume Salesforce Rest based API from SAP ABAP

Hello Friends,

I would like to access Salesforce data in SAP through ABAP. I am integrating salesforce with SAP through ABAP.

I have written a function module in ABAP and provide Oauth(Rest based) details to get access of salesforce:-
URL:- with grant_type=password,ClientId,ClientSecret, username and password.

It returns me an issue:- "SSL Peer Cert Untrusted", i googled and found that i need to import a certificate on SAP, so that it can able to access

So kindly help me to get a SSL certificate to import it in SAP. From where i can download certificate, or is there any way to download or create certificate inside the salesforce organization which would be acceptable by SAP. 

v varaprasadv varaprasad
Hi Hemant,

please check once below link it may help you.

Hemant Gulati 4Hemant Gulati 4
Hi Varaprasad,
Thanks for the reply.

I have integrated Salesforce with other technologies through rest api.  but this time i m integrating with SAP through ABAP. and i have written the abap code and receiving error "SSL Peer Cert untrusted", because of SSL Certificate issue which i need to import in SAP.

Which Certificate i need to import and from where i 'll get it.

Please help me in this.

Soham ZendekarSoham Zendekar
Hello Hemant,

Can you please confirm whether your problem is resolved?
I have same requirement.
Will you please share documents or reference code? which can help me to fulfill requirement.

Thanks & Regards,
Soham Zendekar