Skip to content

Xtract ODP(OData)

This page shows how to use the Xtract ODP (OData) component.
The Xtract ODP (OData) component can be used to extract ODP-based data via OData services.

Note

As the use of the RFC modules of the ODP Data Replication API is prohibited by SAP (SAP Note 3255746), the Xtract ODP (OData) component is the recommended tool for extracting ODP data.

About ODP via OData

Open Data Protocol (OData) is a web protocol for querying and updating data. OData can be used to access the Open Data Provisioning (ODP) framework and extract ODP data, e.g., Hierarchies, Tables, Views, DataSources, etc.

To extract ODP data via OData, a corresponding OData service is required. The data model of the service specifies, which data sets are accessible and how the data is structured. Once the service is registered in the SAP Gateway system, Xtract for Alteryx can consume the service.

odp-odata

For more information, see SAP Help: ODP-Based Data Extraction via OData.

Prerequisites

Supported Features

  • All available ODP contexts of an SAP system are accessible.
  • Delta extractions (with initial full load) if the ODP data source supports deltas, see Subscriptions.
  • Data packaging for large amounts of data, see Package Size.
  • Selections to filter the data before extraction, see Selections.

Limitations

Delta subscriptions are limited to one SAP user per service. The ODP framework has to be exposed in multiple different services for a single user to have multiple delta subscriptions.

SAP Connection for OData Access

Xtract ODP (OData) requires a generic Download data source to access the OData protocol of an SAP system. Follow the steps below to create the data source:

  1. In the main menu of the Alteryx Designer navigate to File > Manage Connections. The window "Connection Manager" opens.
  2. In the tab Data Sources click [New] to create a new data source.
  3. Select the Download technology to create a URL data source.
    sap-connection-downlaod
  4. Enter the Base URL of your SAP system, e.g., http://sap-erp-as05.example.com:50000. The URL can be requested from the SAP Basis team.
    sap-connection
  5. Click [Save] to save the SAP connection. The subsection Connection opens.
  6. In the subsection Connection select the authentication method Username and password.
  7. Select an existing credential that contains the name and password of an SAP dialog user. If no credentials exist, select Create new Credential to create a new credential.
  8. Click [Link] / [Create and link] to link the credential to the connection.

The SAP connection is now available for selection in the Xtract ODP (OData) component.

Add an Xtract ODP (OData) Component

Follow the steps below to add an Xtract ODP (OData) component to your workflow:

  1. Drag & drop the Xtract component to your Alteryx workflow .
  2. Assign an existing SAP connection .
    New
  3. Click [ Edit] to open the main window of the component.

The majority of the functions of the component can be accessed in the main window.

Look Up OData Services

  1. In the main window of the component, click [ ]. The window “Service Selection” opens.
    Open-Look-Up-ODP
  2. In the field Search pattern , enter one of the following characteristics:

    • name of an OData service
    • description of an OData service
    • name of the entity inside the OData service

    Use wildcards (*), if needed.
    Look-Up-ODP

  3. Click [Search] . Search results are displayed.

  4. Select an OData service and click [OK] to confirm.

The application now returns to the main window of the component.

Note

To find DataSources, they have to be activated in SAP.

Define the Xtract ODP (OData) Component

The Xtract ODP (OData) component offers the following options for data extractions:

  1. In the section Fields, select the items you want to extract.
    Datasource Preview
  2. Optional: Edit a selection you want to change or dynamize. For more information, see Edit Selections.
  3. Optional: Activate the option Delta / Change tracking to initialize delta extractions. For more information, see Subscriptions.
  4. Click [Load live preview] to display a live preview of the first 100 records.
  5. Check the Extraction Settings before running the workflow.
  6. Click [OK] to save the component.

You can now run the workflow.


Last update: December 5, 2024