Why specifications are hard to move
A specification is not a flat record. One real substance can carry identifiers in several languages, regulatory list assignments, inheritance relationships, a composition built from other specifications, and many value assignment instances whose characteristics are filled with phrases. Each of these sits in its own table, and many of them point at other objects that must already exist.
That structure creates the problems most projects run into:
- Deeply nested data: header, specification objects and sub-objects such as instance value assignments.
- Phrase-based characteristics, where source texts have to become phrase IDs.
- Identifier and user-defined texts longer than 132 characters, which must be split into long-text lines.
- Multi-language identifiers and duplicate value assignment instances.
- Header status checks and status changes during the load.
- Dependencies between specifications: components must exist before the compositions that use them.
Decide the target data model first
On SAP S/4HANA you can keep the classic specification data model used by SAP EHS Product Safety and the classic Product Compliance functionalities, or move to the new SAP S/4HANA for product compliance data model, which is built around compliance views managed in SAP Fiori apps and is structured differently.
This is the first decision, because it changes the target structures, the mapping and the tools you can use. A conversion to the classic model on S/4HANA keeps the specification workbench (transaction CG02BD) as the target. A move to the new model is a redesign of the data, not a copy.
Scope: migrate, regenerate or leave behind
Sort every part of your specification data into one of three groups.
| Data | Usual treatment |
|---|---|
| Phrase library and phrase sets | Harmonize and load first, before any specification |
| Specification headers, identifiers, value assignments, compositions | Migrate |
| Regulatory list and material assignments, references, inheritance | Migrate, after the objects they point to |
| User-defined texts, transport and packaging data | Migrate |
| Dangerous goods master data | Usually regenerated in SAP after the load |
| Report templates and generated reports | Handled separately from the specification load |
| Listed-substance data from a regulatory content provider | Check your content license before moving it |
Also decide what to leave behind: obsolete specifications, test data and duplicates. Every specification you don't migrate is one less to map, test and reconcile.
Load order
Specifications reference each other and other SAP objects, so the order matters:
- Phrases. The phrase library must exist so that texts can be converted to phrase IDs.
- Listed and pure substances. They are the building blocks other specifications point to.
- Real substances. Headers, identifiers and value assignments.
- Compositions. Component assignments, once every component specification exists.
- Material assignments. Real substances need their materials before they are usable in safety data sheet and dangerous goods processes, so the material master has to be loaded first.
- Regenerate dependent data such as dangerous goods master data in SAP.
Change numbers add one more dependency: if you load with change numbers, the change masters have to exist before the specifications that use them.
Mapping rules that need decisions
Phrases
Source systems often store the phrase text, not the phrase ID. Decide how texts map to IDs, and treat every text without a matching phrase as an error to fix in the source or the phrase library, not something to skip.
Long texts
Identifier and user-defined texts longer than 132 characters have to be split into long-text lines. Check for malformed texts in the source before the first load.
Languages and identifiers
The language is part of the identifier key. Decide which languages you migrate and how you treat identifiers that exist only in some of them.
Validity and change numbers
Decide whether you migrate history or only the current state, and which key date the loaded data gets. When a change number is given without a valid-from date, its own valid-from date is a natural key date.
Status
Agree which header status loaded specifications get, and who releases them after the load.
Ways to load specifications
There is no standard SAP S/4HANA Migration Cockpit object for classic specifications. Teams usually choose between three approaches:
- Transfer files (transactions CG33 and CG31): no programming, but the files are built and checked by hand.
- A custom ABAP program: anything is possible, but it has to be designed, tested and maintained for each project.
- A dedicated migration tool. VeloXm loads specifications into the specification workbench on SAP ECC and S/4HANA from Excel, databases, SAP tables or Python, converts phrase texts to phrase IDs, splits long texts, simulates every record in SAP before saving, and reads specifications back for reconciliation.
Test cycles and reconciliation
Plan at least three cycles, each into a fresh copy of the target client:
- Sample cycle. A small, representative set: one specification of each type, with the hardest compositions. Goal: the mapping works end to end.
- Full-volume cycle. Everything in scope. Goal: error rates you can explain, run times you can plan the cut-over with.
- Dress rehearsal. The cut-over runbook, timed, on production-like data. Goal: no surprises left.
Simulate before each load so that SAP checks every record without saving it, and fix errors at the source or in the mapping, not by hand in the target. After each load, read the specifications back and compare them with the source:
- Counts of specifications per type.
- Identifiers per specification and language.
- Value assignment instances and their characteristic values.
- Composition components and their quantities.
- Material and regulatory list assignments.
- The list of phrase texts that did not map, which should be empty.
Cut-over and after go-live
Freeze changes to specification data in the source for the cut-over window, then run the same project used in the dress rehearsal, in the same order, with the same checks. Have the business sign off on the reconciliation before the system opens to users, and only then regenerate dependent data.
After go-live the same tooling stays useful: adding attributes to existing specifications in bulk, updating headers only, or reading specifications out of SAP for reports and comparisons.
Questions teams ask
Is there a standard Migration Cockpit object for classic EHS specifications?
No standard SAP S/4HANA Migration Cockpit object covers classic specifications, which is why teams fall back to transfer files, custom programs or a dedicated tool.
Do phrases have to be loaded before specifications?
Yes. Phrase-based characteristics reference phrase IDs, so the phrase library has to be harmonized and present in the target before any value assignment that uses it.
Should dangerous goods data be migrated?
Dangerous goods master data is usually regenerated in SAP after the specifications are loaded, rather than migrated.
Next: see what VeloXm migrates for specifications, or the wider EHS and Product Compliance migration.