SAP Sales Cloud and SAP Service Cloud

Follow this procedure to set up SAP Sales Cloud and SAP Service Cloud, formerly known as SAP Cloud for Customer (in short, C4C), as a target system.

Prerequisites

To integrate SAP Sales Cloud and SAP Service Cloud with Identity Provisioning, you need to use SAP Cloud Integration (SAP CI). This service provides a package with integration flows (iFlows) for enabling the creation of users and assignment of users to groups via SCIM API in SAP Sales Cloud and SAP Service Cloud.

Context

SAP Sales Cloud and SAP Service Cloud is a cloud-based solution that helps customers manage day-to-day sales and service interactions by sending and receiving signals between front- and back-office solutions and providing a single view of the customer.

You can use Identity Provisioning to configure SAP Sales Cloud and SAP Service Cloud as a target system where you can provision users and group members from source systems. Keep in mind that once you have provisioned the entities to SAP Sales Cloud and SAP Service Cloud, a business user and an employee are created for every provisioned user. The business user is required for the provisioned user to log into the SAP Sales Cloud and SAP Service Cloud system.

The cloud-based solution provides different APIs for integration with Identity Provisioning, leading to different connector versions for each API. Currently, the following connector versions are available: Version 1 (SOAP-based API), which is deprecated, Version 2 (SOAP-based API), Version 3 (SCIM 2.0 based API) and Version 4 (SCIM 2.0 based API), which is applicable for SAP Sales Cloud Version 2 and SAP Service Cloud Version 2 only.

Each connector version supports specific attribute mappings in transformations and requires particular properties. The latest version is set as the default.

Version 1 (SOAP-based API)

When created via connector version 1, users are initially transferred to a staging area, and then can be replicated to the C4C system manually or via a job, depending on your tenant setup. This API version is SOAP based. In the SAP Sales Cloud and SAP Service Cloud admin console you can distinguish it by its name – /humancapitalmanagementmasterd6.

To learn how to replicate users (using API v.1), see: Employee Master Data Replication

Version 2 (SOAP-based API)

When using connector version 2, users are created immediately – there is no need to transfer them to a staging area. This API version is SOAP based. In the C4C admin console, you can distinguish it by its name /employeereplicationin2.

Version 3 (SCIM 2.0 based API)

When using connector version 3, users are created immediately. There is no need to transfer them to a staging area. For more information, refer to Identity Provisioning in SAP Cloud for Customer using a System for Cross-domain Identity Management (SCIM) package in the Prerequisites section.

Version 4 (Applicable for SAP Sales Cloud Version 2 and SAP Service Cloud Version 2 only)

When using connector version 4 (SCIM 2.0 based API), only users of type Employee are provisioned. This version introduces an enhanced SCIM API that no longer requires SAP Cloud Integration. It supports patch operations and provisioning of application-specific groups. Conflict resolution is handled using not only the username but also based on the user's email and a combination of both username and email.

Procedure

  1. Access the Identity Provisioning UI.
  2. Add SAP Sales Cloud and SAP Service Cloud as a target system. For more information, see Add New Systems.
  3. Choose the Properties tab to configure the connection settings for your system.

    Mandatory Properties

    Property Name

    Description & Value

    Type

    Enter: HTTP

    URL

    Enter SAP Cloud Integration runtime URL.

    See: How to Get SAP Cloud Integration Runtime URL

    ProxyType

    Enter: Internet

    Authentication

    Enter your authentication method:

    • BasicAuthentication

    • ClientCertificateAuthentication

    OAuth2TokenServiceURL

    Enter the URL to the access token provider service.

    For example: https://<c4c_instance>/auth/token endpoint.

    SAP Sales Cloud and SAP Service Cloud support OAuth token-based authentication, enabling you to obtain an access token using either basic authentication (by setting User and Password) or certificate authentication.

    Relevant for connector version 4

    User

    Relevant for connector version 3

    Password

    Relevant for connector version 3

    c4c.api.version

    The version of the SAP Sales Cloud and SAP Service Cloud API you use.

    • 1 - SOAP-based API (deprecated)

    • 2 - SOAP-based API

    • 3 - SCIM 2.0 based API

    • 4 - SCIM 2.0 based API (enhanced)

    RemoteSystemID

    Enter the system instance ID, configured for the communication system setting in the C4C system.

    Relevant for connector version 1 (deprecated)

    RecipientPartyID

    Enter the recipient system name.

    Example: 0011SAP

    Relevant for connector version 2

    SenderPartyID

    Enter the name of the sender system name. It's equal to the value of property RemoteSystemID from version 1.

    For example: IPS

    Relevant for connector version 2

    c4c.support.patch.operation

    This property controls how modified entities (users and groups) in the source system are updated in the target system.

    • If set to true, PATCH operations are used to update users and groups in the target system.

    • If set to false, PUT operations are used to update users and groups in the target system.

    Default value: false

    Relevant for connector version 4

    c4c.user.unique.attribute

    If Identity Provisioning tries to provision a user that already exists in the target system (a conflicting user), this property defines the unique attributes by which the existing user will be searched and resolved.

    Default value in all versions: userName

    Supported values in version 4:

    • userName

    • emails[0].value

    • userName,emails[0].value

    c4c.group.unique.attribute

    If Identity Provisioning tries to provision a group that already exists in the target system (a conflicting group), this property defines the unique attributes by which the existing group will be searched and resolved.

    Default value: displayName

    (Optional) c4c.group.prefix

    This property distinguishes SAP Sales Cloud and SAP Service Cloud groups by specific prefix. It is an optional property which does not appear by default at system creation.

    Example value: C4C_

    You can use the example value or provide your own.

    When set in the target system, only groups containing the C4C_ prefix in their display name will be provisioned to SAP Sales Cloud and SAP Service Cloud. Groups without this prefix in the display name won't be provisioned.

    If the property is not set, the SAP Sales Cloud and SAP Service Cloud groups will be read and provisioned to the target system with their actual display names.

    (Optional) ips.delete.threshold.groups

    Use this property to control the number of groups to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of groups, for example by adding a filter or condition.

    For more information, see: List of Properties

    (Optional) ips.delete.threshold.users

    Use this property to control the number of users to be deleted in a target system by defining a threshold. This will prevent you from accidentally deleting a huge number of users, for example by adding a filter or condition.

    For more information, see: List of Properties

    To learn what additional properties are relevant to this system, see List of Properties. You can use the main search, or filter properties by the Name or System Type columns.

  4. Configure the transformations.

    Transformations are used to map the user attributes from the data model of the source system to the data model of the target system, and the other way around. The Identity Provisioning offers a default transformation for the SAP Sales Cloud and SAP Service Cloud target system, whose settings are displayed under the Transformations tab after saving its initial configuration.

    You can change the default transformation mapping rules to reflect your current setup of entities in C4C. For more information, see:

    Manage Transformations

    SAP Business Accelerator Hub: C4CInformation published on SAP site

    SAP Cloud for Customer OData API v2 Reference

    Default transformation for connector version 1: Deprecated

    If you use the first version of the SAP Sales Cloud and SAP Service Cloud API (SOAP based) – humancapitalmanagementmasterd6 – your systems will be created with c4c.api.version=1. You need to use the transformation below and specify the mandatory attribute RemoteSystemID. The following interface is used for replicating employee master data to SAP Sales Cloud and SAP Service Cloud: Inbound Service HumanCapitalManagementMasterDataReplicationEmployeeMasterDataReplicationIn. Along with replicating employees in SAP Sales Cloud and SAP Service Cloud, a business user is created for every user.

    Default transformation for connector version 2

    If you want to use the second C4C API (SOAP based) – employeereplicationin2 – you have to set c4c.api.version=2, change the transformation with the one above, and specify the two mandatory attributes – RecipientPartyID and SenderPartyID.

    Default transformation for connector version 3

    Default transformation for connector version 4

    (Applicable for SAP Sales Cloud Version 2 and SAP Service Cloud Version 2 only)

  5. Add a source system from which to read users. Choose from: Source Systems

Next Steps

  • Before starting a provisioning job, you can first subscribe for e-mail notifications from the source system you use in your scenario. This way, you will be notified by e-mail about eventual failed entities during the jobs. For more information, see Manage Job Notifications.

  • Start an identity provisioning job. For more information, see Monitor Provisioning Job Logs.