Skip to content

Duplicate Detection

Duplicate Detection finds records in SAP tables that may be duplicates of each other, such as one supplier entered twice with a different spelling of its name. You create an analysis on one or more tables, run it, and review the groups of similar records it finds: for each record, you decide whether it is a duplicate. The page is for the business users and data owners who look after the data, and for the key users who set up the analyses.

Duplicate Detection supports the review only. It does not change, merge or delete records in the SAP system. Use your decisions, for example in the exported CSV file, for the cleanup in the SAP system.

An analysis project holds:

  • one or more data sources: tables of an SAP system, each reached through an SAP destination;
  • for each data source, the key fields, which identify a record, and the analysis fields, whose values are compared;
  • the matching settings: the similarity threshold and text normalization.

A run reads the records of all data sources of the project and compares the values of their analysis fields, also between records of different data sources. An AI embedding model turns the values of each record into numbers that represent the text, so values that are written differently can still be close. Each pair of records gets a similarity score. Records whose score is above the Similarity Threshold are candidates, and candidates that are similar to each other form a candidate group. You then review the groups. Two runs with the same settings on the same data can group a few records differently.

Records without a value in any of their analysis fields are not compared.

A run reads the tables with the user of the destination, and keeps the key and analysis values of the records it reads in Skybuffer AI until a later run replaces them or the project is deleted. Duplicate Detection has no authorization of its own: every user of the Skybuffer AI platform can open its projects and their records.

Step 1. Open Duplicate Detection in the AI Agent group of the Skybuffer AI platform.

The Analysis Projects page shows the projects of the tenant as cards, newest first. A card shows the name and status of a project, its data sources, its candidates with the number still unreviewed, and the Normalization tag when text normalization is on. The tabs All, Not Started, In Progress, Completed and Failed show only the projects with that status, with their number. Search narrows the cards by name while you type. The projects are those of the tenant selected in the header of the Skybuffer AI platform.

The Analysis Projects page with project cards in several statuses and the status tabs with their numbers

Step 2. Choose Create Analysis. Without projects, the page shows Get started with duplicate detection, with Create Analysis as well.

The wizard opens with three steps, Sources, Fields and Matching, followed by a review page.

Step 1. Enter the Analysis Name. It can have up to 255 characters.

Step 2. Under Data Sources, select the Destination, then the Data Source: the table to analyze. The Data Source list offers the data sources discovered for the selected destination.

Step 3. To analyze more tables together, choose Add Data Source and select the next destination and table. The records of all data sources are compared with each other. You can add the same destination and table again, with other fields. The delete icon next to a data source removes it.

Step 4. Choose Step 2.

The Sources step of the wizard with an analysis name and two data sources

If the fields of a table cannot be loaded, its Data Source is marked with the reason, such as The fields of this table can’t be loaded: the data source has no field list., and the wizard stays in Sources. Select another data source, or see Troubleshooting.

Step 3. Select the key and analysis fields

Section titled “Step 3. Select the key and analysis fields”

Each data source has its own tab, named after its destination and table. A tab shows a badge while its key or analysis fields are missing. The table on a tab lists the fields of the table with their Description, Data Element, Domain, Type and Length. Table key is Yes for the fields of the table’s own key.

  • Key: the fields that identify a record, so that you can find it in the SAP system. Their values are shown under Key Values in the review, with the field descriptions, and they are exported as Keys. Usually, these are the fields with Yes under Table key.
  • Analysis: the fields whose values are compared, such as a name or an address. When you compare several data sources, select fields with the same kind of content in each.

Search finds a field, Selected Only shows only the selected fields, and Clear Selection removes the selection of the tab.

Step 1. On each tab, select at least one field under Key and at least one field under Analysis.

Step 2. Choose Step 3. It is available once every data source has its key and analysis fields.

The Fields step with a tab for each data source and the key and analysis fields selected on the first tab

Setting Default What it does
Similarity Threshold 75 % Only records with a similarity score above the threshold become candidates. A higher value returns fewer, more similar candidates; a lower value returns more candidates, also less similar ones.
Text Normalization On Cleans and standardizes the values before they are compared, as described below.

Step 1. Set the Similarity Threshold with the slider, from 0 to 100 %.

Step 2. Turn Text Normalization on or off.

Step 3. Choose Review.

The Matching step with the similarity threshold and text normalization

With Text Normalization on, each analysis value is changed before it is compared:

  • Letters with accents and letters of other alphabets are written with Latin letters, and capital letters become small letters.
  • & becomes and, and punctuation is removed.
  • Words that consist only of digits, and words of a single character, are removed.
  • Legal forms and similar words in company names are removed: LLC, Ltd, Inc, Corp, Corporation, Company, Co, GmbH, AG, AS, AB, Oy, Sp. z o.o., SA, SARL, SAS, BV, NV, SRL, SL, Lda, OOO, ZAO, OAO, AO, Holding and Group.
  • Technologies, Solutions, Systems and Logistics become singular.
  • A word that occurs more than once is kept once, and the words are sorted, so their order does not matter.

For example, Vistula Logistics Solutions Sp. z o.o. is compared as logistic solution vistula.

Turn Text Normalization off when digits or the exact spelling matter, for example in tax numbers, phone numbers or IDs. With normalization on, a value made only of digits has nothing left to compare. With Text Normalization off, the values are compared as they are, without leading and trailing spaces.

The review page shows the name, the data sources, the key and analysis fields of each data source, and the matching settings. Edit next to a part takes you back to its step.

Step 1. Choose one of these:

  • Create: saves the analysis with the status Not Started, so that you can run it later.
  • Create & Run: saves the analysis and starts its run.

The project page opens.

The review page of the wizard with the data sources, their key and analysis fields and the matching settings

Cancel leaves the wizard without saving, after you confirm with Discard.

Step 1. Open the project from its card and choose Run Analysis. After Create & Run, the run has started already.

If the project has results, a warning says that running the analysis again replaces its candidate groups and all decisions made on them. Choose Run Analysis to go on, or Cancel to keep them. If you need the decisions, export the results first.

Step 2. Follow the run on the project page. Status shows In Progress, and Current Step shows the step the run is in, such as Generating Embeddings (5 of 7). Under Duplicate Candidates, a progress bar and a checklist show the steps done, the current step and the steps still to come.

The project page during a run, with the current step, the progress bar and the checklist of the steps

The run goes on when you leave the page. Open the project again to follow it.

Step 3. When the run has completed, the message Analysis completed shows its Analysis Summary. Choose Review Results to go to the candidate groups.

The Analysis completed message with the summary of the run

Step What happens
Getting Metadata The fields of the tables and their descriptions are read from the SAP system, when the analysis is created or changed.
Loading Source Data The records of the data sources are read from the SAP system.
Preparing Data The key and analysis values of each record are put together.
Normalizing Text Fields The analysis values are normalized when Text Normalization is on. Records without analysis values are left out.
Generating Embeddings The embedding model turns the analysis values of each record into numbers.
Searching Duplicate Candidates Each record is compared with every other record, and the pairs above the similarity threshold are kept.
Preparing Result Dataset The similar records are put into candidate groups.
Status What it means What you can do
Not Started The project has not run yet, or its last run was interrupted. It has no results. Run Analysis, Edit, Delete
In Progress A run goes through its steps. Interrupt Analysis Run
Interrupting You have interrupted the run, and it is stopping. On the Analysis Projects page, it is counted under In Progress. Wait until the project is Not Started
Completed The run has finished, and its candidate groups are ready for review. Review the groups, Export Results, Run Analysis, Edit, Delete
Failed The run stopped with an error. Its candidate groups cannot be reviewed. Run Analysis, Edit, Delete

Edit and Delete are not available while a run is in progress or interrupting.

Step 1. Choose Interrupt Analysis Run, and confirm with Interrupt Run.

Until the run stops, the page shows Interrupting the run. Processing stops, and no results are saved. with a busy indicator. The project is then Not Started. An interrupted run saves no results, and results of an earlier run do not come back: the run replaced them when it started.

The project page while a run is being interrupted

When a run fails, the message Analysis Failed shows Records Processed, the Runtime, the Last Completed Step, the Failed Step and the Error Details. After you close it, the project page keeps them under Duplicate Candidates, and the checklist marks the failed step. The candidate groups of a failed run cannot be reviewed.

The project page of a failed run with the failed step, the last completed step and the error details

Step 1. Read the Error Details, and remove the cause. See Troubleshooting.

Step 2. Choose Run Analysis, or Edit to change the configuration first.

The header of a completed project shows the numbers of its last run:

Field What it shows
Records Processed The records the run compared. Records without a value in any of their analysis fields are not counted.
Candidate Groups The number of candidate groups.
Records in Groups The records in all candidate groups together.
Open Groups The groups that still have unreviewed records.
Runtime How long the run took.

Under Duplicate Candidates, the groups are listed with their number. Each group shows:

  • its title: the analysis values of its first record;
  • its status, and the number of its records with how many are unreviewed, confirmed or not a duplicate;
  • its records, with their Key Values, Data Source, Analysis Values and Decision.

A group shows its first 20 records. More shows the next ones.

The candidate groups of a completed project with the numbers of its last run and two open groups

  • Status: shows only the groups with the selected status. Each status shows its number of groups.
  • Search: shows the groups whose key or analysis values contain the text you enter, regardless of capital or small letters. In a group with very many records, only the values of its first records are searched.
  • Sort: sorts the groups by Status, Group Title, Records or Unreviewed Records, ascending or descending. By default, the groups are sorted by status, with the open groups first.
  • Expand All and Collapse All: open or close all groups.

The Status list of the candidate groups with the number of groups for each status

Your decisions are saved at once.

  • One record: choose Confirm if it is a duplicate, or Not a Duplicate. Reset sets a decided record back to Unreviewed.
  • Selected records: select the records, also in different groups, and choose Confirm as Duplicate, Not a Duplicate or Reset Decision in the toolbar above the groups.
  • A whole group: choose Confirm All, Reject All or Reset All in the header of the group.

A Partially Confirmed group with records confirmed as duplicates and records that are not duplicates

The decision of a record:

Decision Meaning
Unreviewed No decision yet.
Confirmed as Duplicate The record is a duplicate.
Not a Duplicate The record is not a duplicate.

The status of a group follows the decisions of its records:

Status When
Open At least one record is Unreviewed.
Confirmed Every record is Confirmed as Duplicate.
Rejected Every record is Not a Duplicate.
Partially Confirmed Every record has a decision: some are Confirmed as Duplicate and some are Not a Duplicate.

If no records reach the similarity threshold, the run completes without candidate groups. Duplicate Candidates shows No duplicate candidates found, and Export Results is not available. To find more candidates, lower the Similarity Threshold with Edit, and run the analysis again.

Step 1. On a completed project, choose Export Results.

The browser downloads a CSV file with all records of the candidate groups and their decisions, the records of each group together. The file is named after the project and the time of the export, such as Supplier names_duplicate_candidates_2026-12-02_0915.csv. Characters that file names cannot contain are replaced by _.

Column Content
Project Name The name of the project.
Tenant ID The tenant of the project.
SAP Destination The destination of the record’s data source.
Table The table of the record.
Group ID The ID of the candidate group.
Keys The values of the key fields, separated by |.
Fields The values of the analysis fields, separated by |.
Decision ID Empty for Unreviewed, D for Confirmed as Duplicate, N for Not a Duplicate.
Decision Name Unreviewed, Confirmed as Duplicate or Not a Duplicate.

The values are separated by commas and put in double quotes. The file is in UTF-8 with a byte order mark, so that spreadsheet programs show letters such as ä or é correctly. A value that starts with =, +, - or @ gets an apostrophe in front, so that a spreadsheet keeps it as text and does not run it as a formula.

Edit opens the configuration on one page, with Sources, Fields and Matching as in the wizard. Choose Save to keep your changes, or Cancel.

If the project has results, Save first warns that Existing results will become outdated. After you save, the results stay: Results Outdated appears under the status, and a notice above the groups says These results are outdated: the configuration changed after the last run. Run the analysis again to replace them. The next run replaces the results, and the mark is removed.

A completed project after an edit, with Results Outdated under the status and the outdated notice above the groups

If the destination or the table of a saved data source no longer exists, the edit page marks the data source with the reason. Save is available again once you select another destination or table, or remove the data source.

Delete removes the project with its candidate groups and decisions, after you confirm. This cannot be undone: export the results first if you need them.

Symptom Cause What to do
Analysis projects could not be loaded, with Retry Duplicate Detection cannot be reached. Choose Retry. If the message stays, ask your administrator to check that the applications of Duplicate Detection are started.
No SAP destination of this tenant has a data source yet. when you choose Create Analysis No destination of the tenant has discovered data sources. Set up a destination with Data Source Discovery, and have the tables discovered, as Before you start describes.
In Sources, The fields of this table can’t be loaded: … The data source has no field list, or its field list cannot be read. Select another data source. Check the fields of the data source in Data Source Management.
On the edit page, The destination “…” no longer exists. or The table “…” is no longer a data source of “…”. The destination was deleted, its System Description was changed in Destination Management, or the table is no longer discovered for it. Select another destination or table, or remove the data source. Then choose Save.
Records Processed is lower than the number of records in the tables Records without a value in any of their analysis fields are not compared. With Text Normalization on, a value made only of digits or punctuation counts as no value. Select other analysis fields, or turn Text Normalization off.
The run fails at Loading Source Data The SAP system returned no records for a data source, a key or analysis field is no longer in the table, the user of the destination may not read the table, or the SAP system cannot be reached. Read the Error Details. Remove the cause, or change the data source with Edit, then run the analysis again.
The run fails at Normalizing Text Fields None of the records has a value in its analysis fields. Select other analysis fields, or turn Text Normalization off, then run the analysis again.
The run fails at Generating Embeddings Duplicate Detection cannot load its embedding model, for example because it has no access to Hugging Face. Ask your administrator to allow the access, as Deploy Duplicate Detection describes.
The run of a large project fails at Searching Duplicate Candidates The project has more records than a run can compare, about 60,000. Remove data sources from the project, so that it has fewer records.
The run fails with The run stopped without finishing … A service of Duplicate Detection restarted, or could not be reached, during the run. Run the analysis again. If it fails again, ask your administrator to check that the applications of Duplicate Detection are started.
There is no run to interrupt: the run has already ended. The run ended while you confirmed the interrupt. Nothing: the page shows how the run ended.
This project can’t be edited while a run is in progress or being interrupted., This project can’t be deleted … or This project already has a run in progress or being interrupted. A run was started after you opened the page, for example in another browser tab. Reload the page, and wait until the run has ended.
Interrupt Run, Run Analysis or Export Results shows an error with an HTTP status, such as The results could not be exported: the server answered with HTTP status 503. Duplicate Detection could not be reached. Try again. If the error stays, ask your administrator to check that the applications of Duplicate Detection are started.