|
| 1 | +--- |
| 2 | +title: Connect to and manage an SAP Business Warehouse |
| 3 | +description: This guide describes how to connect to SAP Business Warehouse in Azure Purview, and use Azure Purview's features to scan and manage your SAP BW source. |
| 4 | +author: linda33wj |
| 5 | +ms.author: jingwang |
| 6 | +ms.service: purview |
| 7 | +ms.subservice: purview-data-map |
| 8 | +ms.topic: how-to |
| 9 | +ms.date: 03/05/2022 |
| 10 | +ms.custom: template-how-to |
| 11 | +--- |
| 12 | + |
| 13 | +# Connect to and manage SAP Business Warehouse in Azure Purview (Preview) |
| 14 | + |
| 15 | +This article outlines how to register SAP Business Warehouse (BW), and how to authenticate and interact with SAP BW in Azure Purview. For more information about Azure Purview, read the [introductory article](overview.md). |
| 16 | + |
| 17 | +[!INCLUDE [feature-in-preview](includes/feature-in-preview.md)] |
| 18 | + |
| 19 | +## Supported capabilities |
| 20 | + |
| 21 | +|**Metadata Extraction**| **Full Scan** |**Incremental Scan**|**Scoped Scan**|**Classification**|**Access Policy**|**Lineage**| |
| 22 | +|---|---|---|---|---|---|---| |
| 23 | +| [Yes](#register)| [Yes](#scan)| No | No | No | No| No| |
| 24 | + |
| 25 | +The supported SAP BW versions are 7.3 to 7.5. SAP BW4/HANA is not supported. |
| 26 | + |
| 27 | +When scanning SAP BW source, Azure Purview supports extracting technical metadata including: |
| 28 | + |
| 29 | +- Instance |
| 30 | +- InfoArea |
| 31 | +- InfoSet |
| 32 | +- InfoSet query |
| 33 | +- Classic InfoSet |
| 34 | +- InfoObject including unit of measurement, time characteristic, navigation attribute, data packet characteristic, currency, characteristic, field, and key figure |
| 35 | +- Data store object (DSO) |
| 36 | +- Aggregation level |
| 37 | +- Open hub destination |
| 38 | +- Query including the query condition |
| 39 | +- Query view |
| 40 | +- HybridProvider |
| 41 | +- MultiProvider |
| 42 | +- InfoCube |
| 43 | +- Aggregate |
| 44 | +- Dimension |
| 45 | +- Time dimension |
| 46 | + |
| 47 | +## Prerequisites |
| 48 | + |
| 49 | +* An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F). |
| 50 | + |
| 51 | +* An active [Azure Purview resource](create-catalog-portal.md). |
| 52 | + |
| 53 | +* You need Data Source Administrator and Data Reader permissions to register a source and manage it in Azure Purview Studio. For more information about permissions, see [Access control in Azure Purview](catalog-permissions.md). |
| 54 | + |
| 55 | +* Set up the latest [self-hosted integration runtime](https://www.microsoft.com/download/details.aspx?id=39717). For more information, see [the create and configure a self-hosted integration runtime guide](manage-integration-runtimes.md). The minimal supported Self-hosted Integration Runtime version is 5.15.8079.1. |
| 56 | + |
| 57 | +* Ensure [JDK 11](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html) is installed on the machine where the self-hosted integration runtime is installed. |
| 58 | + |
| 59 | +* Ensure Visual C++ Redistributable for Visual Studio 2012 Update 4 is installed on the self-hosted integration runtime machine. If you don't have this update installed, [you can download it here](https://www.microsoft.com/download/details.aspx?id=30679). |
| 60 | + |
| 61 | +* The connector reads metadata from SAP using the [SAP Java Connector (JCo)](https://support.sap.com/en/product/connectors/jco.html) 3.0 API. Make sure the Java Connector is available on your machine where self-hosted integration runtime is installed. Make sure that you use the correct JCo distribution for your environment, and the **sapjco3.jar** and **sapjco3.dll** files are available. |
| 62 | + |
| 63 | + > [!Note] |
| 64 | + > The driver should be accessible to all accounts in the machine. Don't put it in a path under user account. |
| 65 | +
|
| 66 | +* Deploy the metadata extraction ABAP function module on the SAP server by following the steps mentioned in [ABAP functions deployment guide](abap-functions-deployment-guide.md). You need an ABAP developer account to create the RFC function module on the SAP server. The user account requires sufficient permissions to connect to the SAP server and execute the following RFC function modules: |
| 67 | + |
| 68 | + * STFC_CONNECTION (check connectivity) |
| 69 | + * RFC_SYSTEM_INFO (check system information) |
| 70 | + * OCS_GET_INSTALLED_COMPS (check software versions) |
| 71 | + * Z_MITI_BW_DOWNLOAD (main metadata import) |
| 72 | + |
| 73 | +## Register |
| 74 | + |
| 75 | +This section describes how to register SAP BW in Azure Purview using the [Azure Purview Studio](https://web.purview.azure.com/). |
| 76 | + |
| 77 | +### Authentication for registration |
| 78 | + |
| 79 | +The only supported authentication for SAP BW source is **Basic authentication**. |
| 80 | + |
| 81 | +### Steps to register |
| 82 | + |
| 83 | +1. Navigate to your Azure Purview account. |
| 84 | +1. Select **Data Map** on the left navigation. |
| 85 | +1. Select **Register**. |
| 86 | +1. In **Register sources**, select **SAP BW** > **Continue**. |
| 87 | + |
| 88 | +On the **Register sources (SAP BW)** screen, do the following: |
| 89 | + |
| 90 | +1. Enter a **Name** that the data source will be listed within the Catalog. |
| 91 | + |
| 92 | +1. Enter the **Application server** name to connect to SAP BW source. It can also be an IP address of the SAP application server host. |
| 93 | + |
| 94 | +1. Enter the SAP **System number**. It's an integer between 0 and 99. |
| 95 | + |
| 96 | +1. Select a collection or create a new one (Optional). |
| 97 | + |
| 98 | +1. Finish to register the data source. |
| 99 | + |
| 100 | + :::image type="content" source="media/register-scan-sap-bw/register-sap-bw.png" alt-text="Screenshot of registering an SAP BW source." border="true"::: |
| 101 | + |
| 102 | +## Scan |
| 103 | + |
| 104 | +Follow the steps below to scan SAP BW to automatically identify assets and classify your data. For more information about scanning in general, see our [introduction to scans and ingestion](concept-scans-and-ingestion.md). |
| 105 | + |
| 106 | +### Create and run scan |
| 107 | + |
| 108 | +1. In the Management Center, select Integration runtimes. Make sure a self-hosted integration runtime is set up. If it isn't set up, use the steps mentioned [here](./manage-integration-runtimes.md) to create a self-hosted integration runtime. |
| 109 | + |
| 110 | +1. Navigate to **Sources** |
| 111 | + |
| 112 | +1. Select the registered SAP BW source. |
| 113 | + |
| 114 | +1. Select **+ New scan** |
| 115 | + |
| 116 | +1. Provide the below details: |
| 117 | + |
| 118 | + 1. **Name**: The name of the scan |
| 119 | + |
| 120 | + 1. **Connect via integration runtime**: Select the configured self-hosted integration runtime. |
| 121 | + |
| 122 | + 1. **Credential**: Select the credential to connect to your data source. Make sure to: |
| 123 | + |
| 124 | + * Select Basic Authentication while creating a credential. |
| 125 | + * Provide a user ID to connect to SAP server in the User name input field. |
| 126 | + * Store the user password used to connect to SAP server in the secret key. |
| 127 | + |
| 128 | + 1. **Client ID**: Enter the SAP Client ID. It's a three-digit numeric number from 000 to 999. |
| 129 | + |
| 130 | + 1. **JCo library path**: The directory path where the JCo libraries are located. |
| 131 | + |
| 132 | + 1. **Maximum memory available:** Maximum memory (in GB) available on the Self-hosted Integration Runtime machine to be used by scanning processes. This is dependent on the size of SAP BW source to be scanned. |
| 133 | + |
| 134 | + :::image type="content" source="media/register-scan-sap-bw/scan-sap-bw.png" alt-text="Screenshot of setting up an SAP BW scan." border="true"::: |
| 135 | + |
| 136 | +1. Select **Test connection**. |
| 137 | + |
| 138 | +1. Select **Continue**. |
| 139 | + |
| 140 | +1. Choose your **scan trigger**. You can set up a schedule or ran the |
| 141 | + scan once. |
| 142 | + |
| 143 | +1. Review your scan and select **Save and Run**. |
| 144 | + |
| 145 | +[!INCLUDE [create and manage scans](includes/view-and-manage-scans.md)] |
| 146 | + |
| 147 | +## Next steps |
| 148 | + |
| 149 | +Now that you have registered your source, follow the below guides to learn more about Azure Purview and your data. |
| 150 | + |
| 151 | +- [Search Data Catalog](how-to-search-catalog.md) |
| 152 | +- [Data insights in Azure Purview](concept-insights.md) |
| 153 | +- [Supported data sources and file types](azure-purview-connector-overview.md) |
0 commit comments