--- title: "Connecting the dox42 OData for SAP® Solutions Data Source to an OData server/endpoint" slug: "connecting-the-dox42-sap-odata-data-source" tags: ["SAP Data Source V5.0.0.0.0", "task"] updated: 2026-07-30T12:17:53Z published: 2026-07-30T12:17:53Z canonical: "help.dox42.com/connecting-the-dox42-sap-odata-data-source" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Connecting the dox42 OData for SAP® Solutions Data Source to an OData server/endpoint In this step, you will establish a connection to your SAP system using the OData protocol. This connection allows the application to access and retrieve data from SAP in real time. To set up the connection, you’ll need to provide the required authentication details — such as your **SAP username**, **password**, and the **SAP Gateway URL**. Once connected, you’ll be able to fetch available entities and work with SAP data in your document. Establishing a successful connection is the first and essential step before applying filters, selecting properties, or generating documents. ## Prerequisites - An [activated](/help/docs/activating-a-dox42-add-in) dox42 Word, Excel or PowerPoint Add-In. ## Steps 1. In Microsoft Word, Excel or PowerPoint, go to the **dox42** ribbon and select **Data Map**. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/dox42_ribbon_showing_header_section.png) **dox42** ribbon The **Data Map Designer** window opens. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/sap_odata_data_map.png) **Data Map Designer** 2. Select the **OData for SAP®** data source. The **OData for SAP®** window opens. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/dox_42_sap_odata_connection_tab.png) **Connection** tab in the **OData for SAP®** window 3. Enter the required connection details to configure the connection: 1. either **directly** into the text fields or 2. load them dynamically, for example from your [Crypto](/help/docs/creating-a-crypto-data-source) or from an [Excel connection file](/help/docs/connecting-the-connection-excel-file-to-the-data-map),by selecting the three dots button next to the text fields. > [!NOTE] > **Required Fields for OData for SAP connection** > > To connect to your SAP system via OData, enter the following required details: > > - **Username** – Your SAP username > - **Password** – Your SAP account password > - **SAP Gateway URL** – Enter your SAP OData service root URL (e.g., `https://<host>:<port>/sap/opu/odata/sap/<SERVICE_NAME>`). 4. Confirm SAP Connectivity. Select the **Connect** button to test whether the data source can successfully establish a connection with your SAP system. If the connection is successful, you will be automatically redirected to the Configuration tab. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/dox_42_sap_odata_config_tab_empty.png) **Configuration** tab in the **OData for SAP** window > [!NOTE] > How data is retrieved > > When you click **Connect** on the **Connection** tab or **Fetch Entities** on the **Configuration** tab, the data source sends a request to `<SAP Gateway URL>/$metadata`. This retrieves the service metadata, which contains a list of all available entities and their properties. > [!CAUTION] > Connection failed? Possible causes: > > If the connection to the SAP system fails, an error pop-up will show up with the error message. It could be due to one of the following reasons: > > - **Connection Error**: The application could not reach the SAP server. This usually indicates that the **SAP Gateway URL is incorrect**, the **server is offline**, or **network access is blocked**. > - **Server Error (e.g., 400, 401, 403)**: The SAP server has been reached, but it rejected the request. This may happen if: > - Your **username or password** is incorrect (**401 Unauthorized**) > - The request is **malformed or incomplete** (**400 Bad Request**) > - You **do not have permission** to access the requested resource (**403 Forbidden**) ## Result You have connected the **OData for SAP®** data source to your SAP OData server.