Application Development and Automation 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: 
Read only

Web service, google translation in a report

Former Member
0 Kudos
878

Hello,

Is it possible to use the Google Translate API in a report SAP?

My need is to retrieve the translation of a text when the user clicks on a button of an ALV report.

Thanks.

Best regards

Patrice.

4 REPLIES 4
Read only

FredericGirod
Active Contributor
0 Kudos
430

Hi Patrice,

I have not the solution of your question, but for me it's possible, you could find in SDN some example to use the Google Maps application

Have fun

Regards

Fred

(PS: I think google count the number or request to prevent professional usage of their applications)

Read only

0 Kudos
430

Yes (http://translateclient.com/)

According to a new Google policy, after December 2011 Google Translation will be available only in the Pro version.

Regards,

Raymond

Read only

Former Member
0 Kudos
430

Yes, We can.

You will have to consume the API's listed in the link below according to your requirement :

[Translate API Getting Started - Google Translate API — Google Developers]

Cheers!

Abhinab

Read only

Former Member
0 Kudos
430

Hi Patrice,

I think what you are trying to do is very possible. To use any of the Google API's you have to use OAuth2.0 authentication.

We recently achieved a basic interface to the Google Fusion Tables API using OAuth2 with only about 100 lines of ABAP...here's a link to a short 7 minute video:

http://youtu.be/uDgTxiR00cY

The techniques shown in the video (leveraging OAuth2 Refresh Tokens) could be used on any of the Google API's however...the ABAP code is up on GitHub.

Hope you find this helpful

Forrest