Skip to content

Commit 8ecb0b7

Browse files
Merge pull request #211854 from ukchrist/SAPCDCinMDF-1
Adjustment for SAP CDC in MDF
2 parents 8ec1e3f + e77c0a1 commit 8ecb0b7

16 files changed

+168
-323
lines changed

articles/data-factory/.openpublishing.redirection.data-factory.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,16 @@
570570
"source_path_from_root": "/articles/data-factory/monitor-install-analytics.md",
571571
"redirect_url": "/azure/data-factory/monitor-using-azure-monitor",
572572
"redirect_document_id": false
573+
},
574+
{
575+
"source_path_from_root": "/articles/data-factory/sap-change-data-capture-data-replication-template.md",
576+
"redirect_url": "/azure/data-factory/sap-change-data-capture-introduction-architecture",
577+
"redirect_document_id": false
578+
},
579+
{
580+
"source_path_from_root": "/articles/data-factory/sap-change-data-capture-data-partitioning-template.md",
581+
"redirect_url": "/azure/data-factory/sap-change-data-capture-introduction-architecture",
582+
"redirect_document_id": false
573583
}
574584
]
575585
}

articles/data-factory/TOC.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,8 @@ items:
537537
href: load-sap-bw-data.md
538538
- name: SAP Business Warehouse MDX
539539
href: connector-sap-business-warehouse.md
540+
- name: SAP CDC
541+
href: connector-sap-change-data-capture.md
540542
- name: SAP Cloud for Customer
541543
href: connector-sap-cloud-for-customer.md
542544
displayName: timeout
@@ -1272,10 +1274,6 @@ items:
12721274
href: sap-change-data-capture-prepare-linked-service-source-dataset.md
12731275
- name: Debug the Data Factory copy activity
12741276
href: sap-change-data-capture-debug-shir-logs.md
1275-
- name: Use the SAP data partitioning template
1276-
href: sap-change-data-capture-data-partitioning-template.md
1277-
- name: Use the SAP data replication template
1278-
href: sap-change-data-capture-data-replication-template.md
12791277
- name: Manage your solution
12801278
href: sap-change-data-capture-management.md
12811279
displayName: SAP, change data capture, CDC
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: Transform data from an SAP ODP source with the SAP CDC connector in Azure Data Factory or Azure Synapse Analytics
3+
titleSuffix: Azure Data Factory & Azure Synapse
4+
description: Learn how to transform data from an SAP ODP source to supported sink data stores by using mapping data flows in Azure Data Factory or Azure Synapse Analytics.
5+
author: ukchrist
6+
ms.author: ulrichchrist
7+
ms.service: data-factory
8+
ms.subservice: data-movement
9+
ms.topic: conceptual
10+
ms.custom: synapse
11+
ms.date: 09/05/2022
12+
---
13+
14+
# Transform data from an SAP ODP source using the SAP CDC connector in Azure Data Factory or Azure Synapse Analytics
15+
16+
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
17+
18+
This article outlines how to use mapping data flow to transform data from an SAP ODP source using the SAP CDC connector. To learn more, read the introductory article for [Azure Data Factory](introduction.md) or [Azure Synapse Analytics](../synapse-analytics/overview-what-is.md). For an introduction to transforming data with Azure Data Factory and Azure Synapse analytics, read [mapping data flow](concepts-data-flow-overview.md).
19+
20+
>[!TIP]
21+
>To learn the overall support on SAP data integration scenario, see [SAP data integration using Azure Data Factory whitepaper](https://github.com/Azure/Azure-DataFactory/blob/master/whitepaper/SAP%20Data%20Integration%20using%20Azure%20Data%20Factory.pdf) with detailed introduction on each SAP connector, comparsion and guidance.
22+
23+
## Supported capabilities
24+
25+
This SAP CDC connector is supported for the following capabilities:
26+
27+
| Supported capabilities|IR |
28+
|---------| --------|
29+
|[Mapping data flow](concepts-data-flow-overview.md) (source/-)|②|
30+
31+
<small>*&#9312; Azure integration runtime &#9313; Self-hosted integration runtime*</small>
32+
33+
This SAP CDC connector leverages the SAP ODP framework to extract data from SAP source systems. For an introduction to the architecture of the solution, read [Introduction and architecture to SAP change data capture (CDC)](sap-change-data-capture-introduction-architecture.md) in our [SAP knowledge center](industry-sap-overview.md).
34+
35+
The SAP ODP framework is contained in most SAP NetWeaver based systems, including SAP ECC, SAP S/4HANA, SAP BW, SAP BW/4HANA, SAP LT Replication Server (SLT), except very old ones. For prerequisites and minimum required releases, see [Prerequisites and configuration](sap-change-data-capture-prerequisites-configuration.md#sap-system-requirements).
36+
37+
The SAP CDC connector supports basic authentication or Secure Network Communications (SNC), if SNC is configured.
38+
39+
## Prerequisites
40+
41+
To use this SAP CDC connector, you need to:
42+
43+
- Set up a self-hosted integration runtime (version 3.17 or later). For more information, see [Create and configure a self-hosted integration runtime](create-self-hosted-integration-runtime.md).
44+
45+
- Download the 64-bit [SAP Connector for Microsoft .NET 3.0](https://support.sap.com/en/product/connectors/msnet.html) from SAP's website, and install it on the self-hosted integration runtime machine. During installation, make sure you select the **Install Assemblies to GAC** option in the **Optional setup steps** window.
46+
47+
:::image type="content" source="./media/connector-sap-business-warehouse-open-hub/install-sap-dotnet-connector.png" alt-text="Screenshot showing installation of SAP Connector for .NET.":::
48+
49+
- The SAP user who's being used in the SAP table connector must have the permissions described in [User Configuration](sap-change-data-capture-prerequisites-configuration.md#set-up-the-sap-user):
50+
51+
52+
## Get started
53+
54+
[!INCLUDE [data-factory-v2-connector-get-started](includes/data-factory-v2-connector-get-started.md)]
55+
56+
## Create a linked service for the SAP CDC connector using UI
57+
58+
Follow the steps described in [Prepare the SAP CDC linked service](sap-change-data-capture-prepare-linked-service-source-dataset.md#set-up-a-linked-service) to create a linked service for the SAP CDC connector in the Azure portal UI.
59+
60+
## Dataset properties
61+
62+
To prepare an SAP CDC dataset, follow [Prepare the SAP CDC source dataset](sap-change-data-capture-prepare-linked-service-source-dataset.md#set-up-the-source-dataset)
63+
64+
## Transform data with the SAP CDC connector
65+
66+
SAP CDC datasets can be used as source in mapping data flow. Since the raw SAP ODP change feed is difficult to interpret and to correctly update to a sink, mapping data flow takes care of this by evaluating technical attributes provided by the ODP framework (e.g., ODQ_CHANGEMODE) automatically. This allows users to concentrate on the required transformation logic without having to bother with the internals of the SAP ODP change feed, the right order of changes, etc.
67+
68+
### Mapping data flow properties
69+
70+
To create a mapping data flow using the SAP CDC connector as a source, complete the following steps:
71+
72+
1. In ADF Studio, go to the **Data flows** section of the **Author** hub, select the **** button to drop down the **Data flow actions** menu, and select the **New data flow** item. Turn on debug mode by using the **Data flow debug** button in the top bar of data flow canvas.
73+
74+
:::image type="content" source="media/sap-change-data-capture-solution/sap-change-data-capture-mapping-data-flow-data-flow-debug.png" alt-text="Screenshot of the data flow debug button in mapping data flow.":::
75+
76+
1. In the mapping data flow editor, select **Add Source**.
77+
78+
:::image type="content" source="media/sap-change-data-capture-solution/sap-change-data-capture-mapping-data-flow-add-source.png" alt-text="Screenshot of add source in mapping data flow.":::
79+
80+
1. On the tab **Source settings** select a prepared SAP CDC dataset or select the **New** button to create a new one. Alternatively, you can also select **Inline** in the **Source type** property and continue without defining an explicit dataset.
81+
82+
:::image type="content" source="media/sap-change-data-capture-solution/sap-change-data-capture-mapping-data-flow-select-dataset.png" alt-text="Screenshot of the select dataset option in source settings of mapping data flow source.":::
83+
84+
1. On the tab **Source options** select the option **Full on every run** if you want to load full snapshots on every execution of your mapping data flow, or **Full on the first run, then incremental** if you want to subscribe to a change feed from the SAP source system. In this case, the first run of your pipeline will do a delta initialization, which means it will return a current full data snapshot and create an ODP delta subscription in the source system so that with subsequent runs, the SAP source system will return incremental changes since the previous run only. In case of incremental loads it is required to specify the keys of the ODP source object in the **Key columns** property.
85+
86+
:::image type="content" source="media/sap-change-data-capture-solution/sap-change-data-capture-mapping-data-flow-run-mode.png" alt-text="Screenshot of the run mode property in source options of mapping data flow source.":::
87+
88+
:::image type="content" source="media/sap-change-data-capture-solution/sap-change-data-capture-mapping-data-flow-key-columns.png" alt-text="Screenshot of the key columns selection in source options of mapping data flow source.":::
89+
90+
1. For details on the tabs **Projection**, **Optimize** and **Inspect**, please follow [mapping data flow](concepts-data-flow-overview.md).
Loading
Loading
Loading
Loading
Loading

articles/data-factory/sap-change-data-capture-data-partitioning-template.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)