Skip to Content

Translate Documents with SAP API Business Hub

test
0 %
Translate Documents with SAP API Business Hub
Details

Translate Documents with SAP API Business Hub

February 24, 2021
Created by
December 6, 2020
Use your trial account to translate documents with SAP API Business Hub.

You will learn

  • How to get started with SAP API Business Hub
  • How to maintain the Document Translation credentials in SAP API Business Hub
  • How to translate a Document in SAP API Business Hub
QR code

Prerequisites

Step 1: Navigate to the SAP API Business Hub

Follow the link to the SAP API Business Hub.

API Hub
Log on to answer question
Step 2: Log into SAP API Business Hub

The SAP API Business Hub offers a test facility for APIs. In order to take advantage of this, you need to log on.

Select Log On at the top of the page.

Log On
Log on to answer question
Step 3: Search for Document Translation API

Search for document translation to find the Document Translation API and select the Document Translation API.

Search in API Hub
Log on to answer question
Step 4: Explore the Document Translation API

The Document Translation API detail page shows the two available APIs.

Show document translation

Take a minute to explore both APIs.

Log on to answer question
Step 5: Maintain the API environment

The service doesn’t offer a sandbox system out of the box, so you have to connect your SAP Business Technology Platform trial account to the SAP API Business Hub.

  1. Select the gear wheel symbol to open the Configure Environments screen.

    Configure
  2. In the Configure Environment screen, enter the display name for the environments: trial

    Configure
  3. For client ID and client secret, take the information from the Document Translation credentials as described in Create Service Instance for Document Translation

    Configure
  4. For subaccount, take the information from your SAP Business Technology Platform cockpit. For example, on the screen-shot below, the sub-account is f2b0bceetrial.

    Configure

    Enter your value in SAP Business API Hub.

    Configure
  5. Save your settings for future sessions.

    Configure

    Confirm that you want to proceed with the save.

    Configure
Log on to answer question
Step 6: Try out

Now that your API environment is maintained, you will see the trial entry.

Select Synchronous document translation and click Try out. Please note that the button is only active if you are logged on.

Configure
Log on to answer question
Step 7: Test an API endpoint

Clicking Try out opens any parameters in that section for input.

Source and Target Language fields are already pre-filled with values for English and German. If you want to try out other language codes, please refer to the available language information here.

Select a document from your file source system (Microsoft Word, Microsoft PowerPoint, Microsoft Excel or other file formats which are mentioned here) and click Execute.

Configure
Log on to answer question
Step 8: View the translation result

After some seconds you will see in the Response section a Download file link. Click the link and the translated file will be downloaded.

Configure

Open the file and verify the translation result.

Configure
Where do you enter the credentials for Document Translation?
×

Next Steps

Back to top