Working with Intelligent Lookups

Objective

After completing this lesson, you will be able to use intelligent lookups in SAP Datasphere.

Intelligent Lookups

In harmonization scenarios, it may happen that data from two entities need to be merged, even if there are problems joining them. Let's explore how you can use intelligent lookups for these scenarios.

Use of Intelligent Lookups

The figure shows a screenshot of an Intelligent Lookup using both an Exact Match and an Fuzzy Match strategy.

When combining data, there may be no column in your primary entity that contains data to uniquely identify a record in the other entity, and which would thus allow the creation of a standard join. Or, if such a column (a foreign key) exists, its data may be incomplete or unreliable. This can be particularly common when one of the entities comes from outside your organization. It may require a lot of manual work in spreadsheets to join the entities, and the results of this work may not be easy to reuse when new data arrives.

The intelligent lookup lets you iteratively join entities by defining rules to match records and then reviewing and processing the results.

You can use the following match strategies:

  • Exact Match
  • Fuzzy Match: fault-tolerant

These are the steps for creating an using an intelligent lookup:

  1. Create source objects (tables or views with key definition).
  2. Build the intelligent lookup: select source objects for data input and lookup and define the rules.
  3. Find matches: run or schedule the intelligent lookup, monitor the status and manually adjust matches if needed.

You need to run these rules, manually or scheduled. If the system does not find a match, or if it finds too many candidates, you can then add a different rule that is applied to this situation. Moreover, you can manually select the correct match which is then used in future for identical entries. You can integrate the result of an intelligent lookup in a view and use the view for another intelligent lookup.

Create an Intelligent Lookup

Scenario Overview

Let's have a look at the scenario overview:

The figure shows an overview of all objects to be created in the sales data scenario.

To enrich the sales orders with the tax rate of products, you need to use a join on product texts to derive product master data.

The figure shows the content of the tables with sales orders and products from CSV files.

The creation and run of an intelligent lookup is divided into three simulations (parts 1,2 and 3).

In the following simulation, part 1 is covered.

In the following simulation, part 2 is covered.

In the following simulation, part 3 is covered.