Skip to Content
Author's profile photo Ivan Femia

abap2gapps: is your ABAP ready for the Google cloud?

Ladies and Gentleman did you ever thought to use you old ABAP system to use modern cloud services?

Last year SAP Mentor Uwe Fetzer (@se38) published his Twibap: the ABAP Twitter API, a simple Twitter API to use in order to read and post Tweets on Twitter, today I will present you abap2gapps an API prototype in order to interact basically with all Google services that use new OAuth2 authentication.


abap2gapps uses API provided by another Code Exchange project, that we release today, OAuth2.

Wait a moment, what is OAuth2?

You can’t answer the question; you should read this blog OAuth2: Next generation authentication API


abap2gapps gives you a very easy framework to communicate and operate with Google services. This version allows you to use only Google Spreadsheet service and to perform only 2 actions: request spreadsheets list and create a new spreadsheet on Google document uploading a file from an ABAP system.

Consider this Google Document folder, it shows 2 spreadsheets


Using abap2gapps I’m capable to retrieve the spreadsheet file list directily from an abap system


The next question is: “How much is my effort to create such kind of report?”

As always we want to make developer life easy and provide you the easiest APIs, try to have a look at the code extract below


Only 2 methods call and abap2gapps will do the dirty work: authenticate on Google, make the request on Google documents, parse the request and give you back the result. Easy enought?

We want more, let’s try to upload a file on Google Document…


Whaaat?! 2 methods call, nothing else? Yes, abap2gapps is designed to make developers life something incredible.

As the code is released on Code Exchange community is encouraged to join in the project and provide new features and also integration with different Google services like Calendar, Google storage and so on.

Code, installation and configuration instructions will be released in the next days on Code Exchange abap2gapps page.

The abap2gapps team

The project was made possible thanks to the important contribution of Techedge Labs team, particularly Giacomo Morittu and Alessandro Iannacci.


Assigned tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Robert Lorentzen
      Robert Lorentzen
      Great work. A year or two ago I was looking for an easy way to make a (REST) twitter client in ABAP without luck. It seems closer now. Could the same project expand to include Twitter and Facebook?  Any thoughts on security aspects?

      Author's profile photo Ivan Femia
      Ivan Femia
      Blog Post Author
      Hi Robert,


      Twitter client already exist, check SAP Mentor Uwe Fetzer (@se38) project on Code Exchange

      Twibap: the ABAP Twitter API


      Author's profile photo Klaus Herter
      Klaus Herter
      I am working in a related context based on StreamWork REST consumption.
      I did a similar approach for Google resources to evaluate the infrastructure needs
      for a more generalized REST consumption infrastructure.
      Would be great to share some thoughts in the near future.
      Best Regards,
      Author's profile photo Ivan Femia
      Ivan Femia
      Blog Post Author

      I suggest you to join the project on code Exchange.
      Feel free to contact and discuss in deep on this topic. Will you be at TechEd in Madrid?


      Author's profile photo Former Member
      Former Member

      Hello Ivan et al,

      I wanted to share with you a project that I worked on with my colleague Forrest Horner.

      We have a need to update Google Fusion tables from SAP/ABAP without any user interaction (no scraping Google's Auth Code from the browser window, etc.).

      We were able to do this successfully finally using two HTTP POST commands using the HTTP_CLIENT object in SAP/ABAP.

      See my link here for more information:

      Always good to share this information for others to benefit from (we did struggle with this for some time and it would have been great to see an easy solution such as this)!  🙂