Skip to Content

Create a Service Instance and Service Key for Document Management Service.

Use the free tier or the standard service plan to create a service instance and the associated service key for Document Management Service, Integration Option.
You will learn
  • How to create a service instance of Document Management Service, Integration Option.
  • How to create a service key for your service instance.
Vikramkulkarni01Vikram KulkarniJune 19, 2023
Created by
Vikramkulkarni01
June 13, 2023
Contributors
Vikramkulkarni01

Prerequisites

The Use Case:

You’ll export table data from SAP S/4HANA Cloud, public edition to Google Sheets. You’ll achieve this scenario by integrating SAP S/4HANA with Google Workspace using the SAP Document Management Service.

Here SAP S/4HANA acts as a source system and Google Drive acts as a target system. You’ll also create trust between these systems via SAP BTP cockpit.

Use Case

  • Step 1
    1. Log on to your SAP BTP subaccount. Navigate to Service Marketplace and search for Document Management Service, Integration Option. Click Create to start the service instance creation dialog.

      Creation Dialog
    2. In the dialog, choose the Standard plan and select the Space that you can use. Enter a name for your new instance, for example, For Demo and click Create.

      NewInstanceCreation
    3. In the next Information dialog, click on View Instance to navigate to the list of your service instances.

      ViewInstance
  • Step 2

    You are now able to create a service key for your new service instance. Service keys are used to generate credentials to enable apps to access and communicate with the service instance.

    1. In the same subaccount, navigate to Instances and Subscriptions and choose the demo instance you created in the previous step, then click the dots to open the menu and select Create Service Key.
    CreateServiceKey
    1. In the dialog, enter My tutorial as the name of your service key. Click Create to create the service key.

      NewServiceKey
    2. You can now view the service key in the browser or download it. Click on the Service Key and click View.

      ViewingKey Image
    3. In the credentials view dialog, click on Form.

      Credential Form details
    4. Scroll down to copy the values from the following fields and paste them into the secure area (for example, notepad or any text editor).

      1. clientid:

      2. clientsecret:

      3. url:

      Details of the Credentials
  • Step 3

    Create a role collection manually. You can skip this step if you already created the role collection and can use it.

    1. Navigate to your Subaccount in the SAP BTP Cockpit.

    2. Choose SecurityRole Collections on the left.

    3. Choose the ( + ) icon in the top right corner of the screen to create a new role collection.

    4. Enter Name SDM_roles.

    5. Choose Create.

      Create_rolecollections

    The newly added role collection appears now in the list, but it doesn’t contain any roles. To add a role:

    1. Choose the SDM_roles role collection and then choose Edit.

      Create_rolecollections
    2. Open the value help for Role Name.

      Role Name
    3. Select SDM_Admin in list of roles and then choose relevant Application Identifier from the dropdown.

      Note: The Application Identifier should match the second part of your clientid.
      For example, if your clientid is tt-d12345cb-6d78-901b-2345-6ab78901a2c3!b456789|xyz-id-abc-s4-test-tutorial-account!b012344 the your Application Identifier that you need to select is xyz-id-abc-s4-test-tutorial-account!b012344.

      Application Identifier

      Choose Add.

    4. Choose Save.

      Saving Role
  • Step 4

    Choose the value that is NOT part of the service key you created for your service instance.

Back to top