[Beta]{class="badge informative"}
Create a SAP Commerce source connection in the UI
The following tutorial walks you through the steps to create a SAP Commerce source connection to bring SAP Subscription Billing contacts and customer data using the Adobe Experience Platform user interface.
Getting started getting-started
This tutorial requires a working understanding of the following components of Experience Platform:
-
Experience Data Model (XDM) System: The standardized framework by which Experience Platform organizes customer experience data.
- Basics of schema composition: Learn about the basic building blocks of XDM schemas, including key principles and best practices in schema composition.
- Schema Editor tutorial: Learn how to create custom schemas using the Schema Editor UI.
-
Real-Time Customer Profile: Provides a unified, real-time consumer profile based on aggregated data from multiple sources.
If you already have a valid SAP Commerce account, you may skip the remainder of this document and proceed to the tutorial on configuring a dataflow.
Gather required credentials gather-credentials
In order to connect SAP Commerce to Experience Platform, you must provide values for the following connection properties:
clientId
from the service key.clientSecret
from the service key.url
from the service key, it will be similar to https://subscriptionbilling.authentication.eu10.hana.ondemand.com
.url
and has a value similar to eu10
or us10
. For example if the url
is https://eu10.revenue.cloud.sap/api
you will need eu10
.For more information, please refer to the SAP Commerce documentation.
Create a Platform schema create-platform-schema
Before creating a SAP Commerce source connection, you must also ensure that you first create an Experience Platform schema to use for your source. See the tutorial on creating a Platform schema for comprehensive steps on how to create a schema.
Expand the following section to view an example schema.
code language-none |
---|
|
Connect your SAP Commerce account connect-account
In the Platform UI, select Sources from the left navigation bar to access the Sources workspace. The Catalog screen displays a variety of sources with which you can create an account.
You can select the appropriate category from the catalog on the left-hand side of your screen. Alternatively, you can find the specific source you wish to work with using the search option.
Under the eCommerce category, select SAP Commerce, and then select Add data.
The Connect SAP Commerce account page appears. On this page, you can either use new credentials or existing credentials.
Existing account existing-account
To use an existing account, select the SAP Commerce account you want to create a new dataflow with, then select Next to proceed.
New account new-account
If you are creating a new account, select New account, and then provide a name, an optional description, and your credentials. When finished, select Connect to source and then allow some time for the new connection to establish.
Select data select-data
Finally, you must select the object type that you want to ingest to Platform.
Customers
Contacts
To ingest customer data, select Customers as your object type and then select Next.
To ingest contact data, select Contacts as your object type and then select Next.
Next steps next-steps
By following this tutorial, you have established a connection to your SAP Commerce account. You can now continue on to the next tutorial and configure a dataflow to bring data into Platform.
Additional resources additional-resources
The sections below provide additional resources that you can refer to when using the SAP Commerce source.
Mapping mapping
Platform provides intelligent recommendations for auto-mapped fields based on the target schema or dataset that you selected. You can manually adjust mapping rules to suit your use cases. Based on your needs, you can choose to map fields directly, or use data prep functions to transform source data to derive computed or calculated values. For comprehensive steps on using the mapper interface and calculated fields, see the Data Prep UI guide.
Mapping configurations for your dataflow will differ depending on your schema and the object type that you select to ingest.
For customer data, SAP Commerce uses the customers and the customer-contacts relationships endpoints of the SAP Business Partners API to retrieve the data
The following is an example of mapping configurations for SAP Commerce dataflow for customer data:
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 9-row-2 10-row-2 11-row-2 12-row-2 13-row-2 | |
---|---|
Target Field | Description |
customerNumber |
The customer’s number. |
corporateInfo |
The customer’s number. |
customerType |
The customer type. |
createdAt |
A timestamp indicating when the customer was created. |
changedAt |
A timestamp indicating when the customer was last updated. |
markets[*].country |
The customers markets, retrieved as an array object. |
addresses[*].email |
Emails associated with the customer’s multiple addresses, retrieved as an array object. |
addresses[*].city |
Cities associated with the customer’s multiple addresses, retrieved as an array object. |
addresses[*].addressUUID |
ID’s associated with the customer’s multiple addresses, retrieved as an array object. |
externalObjectReferences[*].externalSystemId |
Additional data, retrieved as an array object. |
externalObjectReferences[*].externalId |
Additional data, retrieved as an array object. |
customReferences[*].id |
Additional data, retrieved as an array object. |
customReferences[*].typeCode |
Additional data, retrieved as an array object. |
For contact data, SAP Commerce uses the contacts endpoint of the SAP Business Partners API to retrieve the data.
The following is an example of mapping configurations for SAP Commerce dataflow for contact data:
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 7-row-2 8-row-2 | |
---|---|
Target Field | Description |
contactNumber |
The contact’s number. |
createdAt |
A timestamp indicating when the contact was created. |
changedAt |
A timestamp indicating when the contact was last updated. |
personalInfo.lastName |
The contact’s Last Name. |
personalInfo.firstName |
The contact’s First Name. |
externalObjectReferences[*].externalSystemId |
Additional data, retrieved as an array object. |
externalObjectReferences[*].externalId |
Additional data, retrieved as an array object. |
externalObjectReferences[*].externalIdTypeCode |
Additional data, retrieved as an array object. |