Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate SAP and Google Drive?

harinath25472
Explorer
0 Kudos

Hello All,

I have gone through some posts about how to integrate SAP and Google Drive, but did not find any useful and full process. Can anyone please guide the steps to integrate SAP with Google Drive.

My requiement is, i should be able to upload/download any document from SAP to google drive. Similarly, any document available in Google Drive should be able to access from SAP.

Thanks,

Harinathj

1 ACCEPTED SOLUTION

UweFetzer_se38
Active Contributor

The is a well documented REST API for Google drive: https://developers.google.com/drive/v3/web/about-sdk

Authentication should be possible with the OAuth 2.0 https://help.sap.com/saphelp_nw75/helpdata/en/cd/b122d5b0784c77bf1bcce17f730e74/frameset.htm

8 REPLIES 8

UweFetzer_se38
Active Contributor

The is a well documented REST API for Google drive: https://developers.google.com/drive/v3/web/about-sdk

Authentication should be possible with the OAuth 2.0 https://help.sap.com/saphelp_nw75/helpdata/en/cd/b122d5b0784c77bf1bcce17f730e74/frameset.htm

0 Kudos

Hi Uwe,

Thanks for the links, i got a lot information from those. I have also gone through some sap wiki links, where i got know that this integration can also be achieved using CL_HTML_CLIENT class which has methods like SEND(used to send url to Google APIs). Please check the below link and suggest if it is possible to achieve using CL_HTML_CLIENT.

https://archive.sap.com/discussions/thread/3420684

Thanks,

Harinath

What additional information do you need?

(but please don't ask for code, as an ABAP developer you should be able to solve this problem on your own)

0 Kudos

Hi Uwe,

I was speaking about the Google APIs that are to be installed (pre-requisites) apart from coding. If you please mention what would be Google APIs to be installed as pre-requisites, that would be helpful to take a start.

Thanks,

Harinath

0 Kudos

You don't need to install anything, just call the services via cl_http_client.

Upload Example: just "POST" your document to the REST endpoint (URL) /drive/v3/files/

See https://developers.google.com/drive/v3/web/simple-upload

For the usage of the class cl_http_client you can find several blog posts and answers on SCN alsready.

0 Kudos

Hi Uwe ,

Thanks for the hint to the Google-API and SAP integration via OAuth2.0.I have gone through the link you shared.I would like to understand bit more about the configuration side of this integration since I am Basis side I am not able to understand the architectural view of this integration.

Please help me if you could.

Regards

Mani

kiran_k8
Active Contributor
0 Kudos

Mani/Harinath,

It is not professional to use Company's name in your SCN Profile espcially as User name.

K.Kiran.