07-04-2017 8:36 AM
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
07-04-2017 8:52 AM
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
07-04-2017 8:52 AM
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
07-05-2017 11:22 AM
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
07-05-2017 11:29 AM
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)
07-05-2017 12:45 PM
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
07-05-2017 1:23 PM
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.
11-24-2017 1:33 PM
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
11-24-2017 2:18 PM
11-24-2017 1:45 PM
Mani/Harinath,
It is not professional to use Company's name in your SCN Profile espcially as User name.
K.Kiran.