Skip to main content

Data Mapping for Product Data: Spec Template and Test Rows

Map a supplier file onto your article model: source, target and rule per field, value maps, units, a copyable spec template and the rows to test first.

Diego Nijboer

Data Mapping for Product Data: Spec Template and Test Rows

Data mapping is the decision, written down for every field, of where a value from a source file goes in your target system and what happens to it on the way. In product data that usually means a supplier's price list or article file on one side and your own article model on the other: the column `EAN` goes to GTIN, `Gewicht (g)` goes to weight in kilograms, and `C-Char.` becomes the value C in your tripping characteristic list.

A good product data mapping has three parts per field: the source (column name and position), the target (your field, its type and unit) and the rule (copy, clean, split, convert, look up or translate a value). Write those three down in a mapping spec, test it on a handful of chosen rows, and save it so the next delivery from the same supplier lands the same way. The rest of this guide shows each step on one illustrative supplier file, with a spec template you can copy.

Source, target and rule: one supplier row taken apart

Take a German manufacturer that sends a Dutch electrical wholesaler an Excel file for its miniature circuit breakers. One illustrative row reads: `Art.-Nr.` 0012345, `EAN` 9506000134352 (the example GTIN from GS1's documentation), `Bezeichnung` "LS-Schalter 1P C16 6kA", `Nennstrom` "16A", `Charakteristik` "C-Char.", `Gewicht (g)` 125, `Farbe` "grau", `VPE` "12 St.".

The wholesaler's article model wants something else: a supplier article number as text, a GTIN whose GS1 check digit is correct, a Dutch short description, the ETIM 10.0 class EC000042 (Miniature circuit breaker (MCB)), the feature EF000227 Rated current as a number in amperes, the release characteristic EF000889 as a coded value, weight in kilograms and a pack quantity as a whole number. Nothing in the supplier row is wrong. It is just written for a different model.

Mapping closes that gap. Some fields copy straight across. Others need a rule: `16A` has to lose its unit before it fits a numeric feature, `125` grams has to become 0.125 kg, `12 St.` has to become 12, and the German colour word has to match a value in your own list. The data mapping rules entry in our dictionary covers the vocabulary; this guide stays with the work itself.

Nine mapping rules that cover almost every product file

General data mapping guides split the field into manual, semi-automated and automated mapping, and Wikipedia's data mapping article adds data-driven and semantic approaches. For product files it helps more to name the rule each field needs. Almost every column in a supplier file falls into one of these:

  • Copy: the value moves unchanged, for example a brand name that already matches your brand list.
  • Clean: trim spaces, fix encoding, normalize case, strip HTML from a description field.
  • Format: read the source notation correctly, such as a decimal comma in `0,125` or a date written as 23.11.2026.
  • Split: one source column fills several targets, such as `230V 50Hz` into voltage and frequency.
  • Merge: several source columns fill one target, such as series and type into a model name.
  • Value map: a source value becomes one of your allowed values, such as `J`, `ja` and `x` to yes.
  • Unit conversion: grams to kilograms, centimetres to millimetres, with a stated factor.
  • Lookup: a supplier product group or code points to your category or ETIM class.
  • Constant or default: every new article from this file gets status pending, or the supplier name.

Naming the rule matters because each one fails differently. A copy fails loudly when a column is missing. A value map fails quietly: a new spelling such as `C-Charakteristik` simply goes unmatched, and unless someone set a policy for unknown values it ends up empty or as free text in a field that should be coded.

Run the rules in a fixed order

When one field needs several rules, the order decides the result. A sequence that works for most supplier columns: clean first (trim, fix encoding), then read the notation (decimal comma, date format), then split or merge, then convert units, then apply the value map, and only then check the result against the target type. Run a value map before cleaning and ` C-Char.` with a leading space misses its entry. Convert before reading the notation and `0,125` kg becomes 125 kg. Write the order into the spec once, so every field follows it.

A mapping spec template for supplier article files

The mapping spec is a table with one row per target field. It is the document you and the supplier both read, and the one you go back to when a delivery looks different. Keep it next to the supplier onboarding paperwork, not in someone's head.

Mapping spec template: one illustrative circuit breaker file

Supplier article numberArt.-Nr.Copy as text, keep leading zeros00123450012345Yes
GTINEANText, 8, 12, 13 or 14 digits, check digit must pass95060001343529506000134352Yes
Short description (nl)BezeichnungTranslate, max 70 characters, no brandLS-Schalter 1P C16 6kAInstallatieautomaat 1P C16 6kAYes
ETIM classWarengruppeLookup in a supplier group tableLS-SchalterEC000042Yes
Rated current (EF000227)NennstromSplit number from unit, unit A16A16Yes
Release characteristic (EF000889)CharakteristikValue map to ETIM valueC-Char.EV000084 (C)Yes
Weight (kg)Gewicht (g)Convert g to kg, divide by 10001250.125No
ColourFarbeValue map to own colour listgraugreyNo
Pack quantityVPEExtract integer12 St.12Yes
Status(none)Constant for new articlespendingYes
Showing 10 of 10 rows
Each row names the target field, where it comes from, the rule and a before and after value, so a tester can check the result without reading code.

Three columns earn their place. Example in and Example out turn the spec into a test you can run by eye. Required tells the importer, and the supplier, which gaps block a row and which only lower its quality. Add a version and a date at the top of the spec so a later delivery can be checked against the right one.

Fields a spec often forgets

Language is the first one. A Dutch and a French description in two columns map to the same field in two languages, not to two fields. The second is the identifier you match on: decide whether an update finds the existing article by supplier article number, by GTIN or by both, and write it in the spec. The third is the empty cell. A blank `Gewicht (g)` can mean "unknown" or "remove the weight we had", and the two need different handling.

Value maps for colours, characteristics and yes or no fields

Most of the hours in a mapping project go into value maps, not column matching. ETIM shows why: according to ETIM International's model information, an alphanumeric feature has a fixed list of possible values, a logical feature is a yes or no question, and numeric and range features always need a unit. A supplier who writes `C`, `C-Char.`, `Typ C` and `C-Charakteristik` across four files is giving you one value four ways, and the ETIM classification of the article only works if all four land on the same coded value.

Build each value map as a two-column list: source value on the left, your value on the right. Then set a policy for values that are not on the list yet. There are three sensible choices: add the new value to your list, add it and flag it for review, or leave the field empty and report the row. Pick per field. Adding new colours automatically is usually harmless; adding new tripping characteristics automatically is not.

Units, decimal commas and identifiers that Excel damages

Units go wrong in three places: in the header (`Gewicht (g)`), inside the value (`16A`, `0,8 kW`) or nowhere at all (a bare `125`). Your spec should state the unit of every numeric target field and the factor for every conversion. If you exchange data with partners who use coded units, write the code too, for example KGM for kilogram and GRM for gram from the UN/ECE Recommendation 20 code list. Our unit of measure guide covers base units and conversions in more depth.

Number notation is the next trap. A German or Dutch file writes `1.234,56` where an English one writes `1,234.56`, so a mapping must state the source notation per file, not guess it per cell. Identifiers are the third. Microsoft's Excel documentation says Excel removes leading zeros and keeps only 15 significant digits, so an article number 0012345 becomes 12345 and a long code can turn into scientific notation. Map every identifier as text, and ask suppliers for a file that was never opened and saved in Excel, or read our notes on converting Excel to CSV without losing them.

Twenty test rows that prove a mapping works

Do not test a mapping on the first 20 rows of the file. Those are usually the cleanest. Pick rows on purpose, run them through, and compare the result with the Example out column of your spec.

Test rows to pick before importing a full supplier file

0 of 8 done0%

If any test row comes out different from the spec, fix the rule, not the row. A hand-corrected row is correct once; a corrected rule is correct for every delivery after it.

Automapping and AI suggestions: which matches to trust

Most import tools now suggest a mapping. They match exact column names first, then similar names, and some ask an AI model to guess the rest from headers and sample values. Exact matches on standard names such as `EAN` or `SKU` are safe. Fuzzy matches deserve a look at the sample values: `Breite` and `Bruttogewicht` both start with B, and a header called `Gewicht` says nothing about the unit.

Treat every suggestion as a proposal and confirm it against two or three real values from the column. The confirmed mapping then becomes the spec for that supplier, and the next file should not need suggestions at all. Our older post on automating attribute mapping shows the same review step for attributes.

When the supplier adds, drops or renames a column

A mapping that worked in March breaks in June because the supplier's ERP export changed. The usual changes are a new column at the end, a column that disappears, columns in a new order, and a renamed header such as `Gewicht (g)` becoming `Nettogewicht`. Mapping by column name instead of position survives a reorder. The other three need a person.

Handling a repeat delivery from the same supplier

Loading diagram
A changed column sends the file through a review before the saved mapping is applied, so a renamed header never maps itself to the wrong field.

Renames are the dangerous one. A tool that silently matches `Nettogewicht` to the old weight field may be right, or it may be mapping net weight where you stored gross weight. Treat a renamed column as a new column plus a missing one until someone confirms it, then update the spec version and tell the supplier what you changed. Agree in writing that column changes are announced before the file arrives, not discovered after.

Keep the old spec versions. When a customer asks in September why an article's weight changed in June, the version history of the mapping answers it in a minute: the supplier renamed a column, you mapped net weight from that delivery on, and the note says who confirmed it.

Saving supplier mappings in WISEPIM's file importer

Every column is mapped and nothing required is missing. The Repeat supplier delivery bar reuses an accepted profile and shows what changed since the last file.

In WISEPIM the spec lives in the product file importer. Automapping matches columns by exact name, then by similar name, and falls back to AI suggestions that you review before importing. Map values lets you choose what each unknown value means, or add it as a new option of the field. Saved import profiles keep the column mappings and value choices, and a supplier profile compares each delivery with the last one: it lists added and missing columns, and possible renames always need an explicit choice.

If you want a second pair of eyes on one real supplier file first, the data readiness check is a free review by a person who goes through the file with you on a call.

Diego Nijboer

CTO and Co-Founder at WISEPIM, building AI-powered solutions that transform product data management for e-commerce businesses. Over 10 years of experience solving complex technical challenges in e-commerce and PIM systems.

Frequently asked questions

Still have questions?

Can't find the answer you're looking for? Please get in touch with our team.

Contact Support

A data mapping template is a table with one row per target field: the source column, the target field with its type and unit, the rule that turns one into the other, an example value before and after, and whether the field is required. For supplier files it also records the match key, the source number format and how unknown values are handled.

Mapping decides which source field feeds which target field. Transformation is what happens to the value on the way: cleaning, splitting, converting units or translating a value through a value map. In practice a mapping spec contains both, because a column match without its rule still lands the wrong value in the right field.

The receiver owns the mapping, because it maps onto the receiver's model. The supplier owns the file format and should announce changes to it. A short written spec shared with the supplier makes both sides responsible: the supplier knows which columns and values you rely on, and you know what to expect in each delivery.

AI can suggest matches from headers and sample values, and it handles unusual names well. It cannot know your business rules, such as whether a weight is net or gross or which tripping characteristic code you use. Use suggestions as a starting point, confirm each against real values, and save the confirmed result so later deliveries do not depend on guesses.

Map by column name rather than position, save the mapping per supplier, and compare each new delivery's columns with the previous one before importing. Treat a renamed column as one new and one missing column until a person confirms it, then update the spec version and tell the supplier.

Keep exploring

Hand-picked next steps to go deeper.

Better product data, better results.Get more sales.

4.7