Set up a technical user for OData in SAP Service Cloud

This article explains how to create a dedicated technical user in SAP Service Cloud (C4C) for OData access. This user is required to connect SAP Service Cloud with the Tekst platform. After completing the steps below, you will use the technical user credentials to set up the integration on your Tekst environment at <yourcompany>.tekst.com.

Overview

Setting up a technical user for OData involves three steps:

  1. Create a Communication System
  2. Create a Communication Arrangement linked to the OData services
  3. Use the credentials to connect on <yourcompany>.tekst.com

Prerequisites

  • Administrator access to your SAP Service Cloud tenant
  • Knowledge of your SAP tenant host name

Step 1: Create a Communication System

A Communication System represents an external system that will connect to your SAP tenant.

  1. In SAP Service Cloud, open the Administrator menu in the left-hand navigation
  2. Go to General Settings
  3. Under the Integration section, click Communication Systems
  4. Click New to create a new Communication System
  5. Fill in the following fields on the General tab:
    • Host Name: Enter the host name for your SAP tenant (e.g., myXXXXX.crm.ondemand.com)
    • System Access Type: Select Internet
  6. Optionally fill in the Contact Information section with the contact details of the person responsible for this integration (first name, last name, email)
  7. Click Save to create the Communication System

Step 2: Add a System Instance

After saving the Communication System, you need to add a System Instance.

  1. Open the Communication System you just created
  2. Navigate to the System Instances tab
  3. Click Add Row to create a new system instance
  4. Enter a System Instance ID (e.g., the same name as your Communication System)
  5. Click Save
  6. Set the Communication System to active: in the Communication Systems list, select it and click Actions > Set to Active. Its Status then shows Active. The New Communication Arrangement wizard only lists active systems.

Communication Systems list with the Actions menu open on Set to Active, and the system's Status shown as Active

Step 3: Create a Communication Arrangement

A Communication Arrangement links your Communication System to the OData services and defines which data the technical user can access.

  1. On the System Instances tab of your Communication System, select the system instance you created
  2. In the Communication Arrangements section below, you will see available communication scenarios
  3. Locate the OData Services for Business Objects scenario and click to open it
  4. This will create a new Communication Arrangement

You can also create the arrangement from Administrator > General Settings > Communication Arrangements by clicking New. In the wizard, select the OData Services for Business Objects scenario under Select Scenario. Under Define Business Data, pick your system instance in System Instance ID: the Communication System field then shows your system.

Define Business Data step of the New Communication Arrangement wizard, with the System Instance ID and the Communication System it belongs to

Under Define Technical Data, change Authentication Method from its default, SSL Client Certificate, to User ID and Password, and assign the services in Services Used as described in Step 5. You can also assign them later on the arrangement's Technical Data tab.

Define Technical Data step of the wizard with Authentication Method set to User ID and Password, the technical User ID and the Services Used list with its Assigned checkboxes

Step 4: Configure Authentication

On the Communication Arrangement page, configure the authentication method for the technical user.

  1. Navigate to the Technical Data tab
  2. Under Inbound Communication Basic Settings, configure the following:
    • Authentication Method: Select User ID and Password
    • User ID: A technical user ID is generated automatically (e.g., _TEKSTODATA). Note this user ID - you will need it later.
  3. Click Edit Credentials to set the password for the technical user
  4. Enter and confirm the password. Store it securely - you will need it to configure the integration in Tekst.

Step 5: Select the OData Services

Still on the Technical Data tab of the Communication Arrangement, scroll down to the Services Used section. It lists the OData services the technical user can access, one service per business object.

  1. Check the Assigned checkbox next to each service Tekst needs. At minimum, assign ticket, plus activity, businesspartner, businesspartnerrelationship, businessuser, contact and contactaccount. Tekst reads and updates tickets, so without ticket the connection fails.
  2. Tekst calls the c4codataapi endpoint, but there is no c4codataapi row in Services Used. Access comes from the per-object services you assign.
  3. If you are unsure which services to enable, contact your Tekst customer success team for guidance

Technical Data tab of the OData Services for Business Objects arrangement, with User ID and Password authentication and the Assigned checkboxes in Services Used

Note: You can optionally mark services as Read Only if Tekst should only read data from that particular service without making updates.

Step 6: Activate the Communication Arrangement

  1. After configuring the authentication and selecting the services, click Save and Reactivate in the top-right corner of the Communication Arrangement page
  2. Verify that the status of the Communication Arrangement shows as Active

Step 7: Connect on <yourcompany>.tekst.com

Now that your technical user is configured in SAP, use its credentials to set up the integration on the Tekst platform.

  1. Log in to your Tekst environment at <yourcompany>.tekst.com
  2. Navigate to the Integrations page
  3. Click Connect Integration, find SAP Service Cloud v1 and click Connect. Choose Username & Password as the authentication method.
  4. Enter the following details:
    • SAP Tenant URL: Your SAP tenant URL
    • Username: The technical User ID from Step 4 (e.g., _TEKSTODATA)
    • Password: The password you set in Step 4
  5. Click Save & Test Connection

If the integration then shows as disconnected, the most common cause is a missing service in the Communication Arrangement (see Step 5: Select the OData Services). Assign it, click Save and Reactivate, then, in Tekst, open the integration, go to the Advanced tab and click Verify connection. If the check fails, Tekst shows "Integration is not healthy - please check your credentials". A missing service causes this message too, not only a wrong password.

Advanced tab of the integration configuration in Tekst, with the Verify connection button

Troubleshooting

  • Connection fails or the integration shows as disconnected: The most common cause is a missing service in the Communication Arrangement (see Step 5: Select the OData Services). Assign it, click Save and Reactivate, then, in Tekst, open the integration, go to the Advanced tab and click Verify connection. If the check fails, Tekst shows "Integration is not healthy - please check your credentials". A missing service causes this message too, not only a wrong password. Also check that the Communication Arrangement status is Active.
  • Authentication errors: Double-check the User ID and password. You can reset the password by opening the Communication Arrangement, navigating to the Technical Data tab, and clicking Edit Credentials
  • Missing data: Ensure the required OData services are assigned and not marked as Read Only if Tekst needs write access

Related Articles

0 comments

Please sign in to leave a comment.