SAP BOM migration: create and change material bills of material
Bills of material connect materials, plants, usages, alternatives and change numbers, so a BOM migration fails quickly if any dependency is missing or out of order.
Part of SAP S/4HANA migration, PLM data migration, Mass data maintenance
What has to exist before a BOM
A BOM references change numbers and materials, so those load first. One VeloXm project runs all three in this order, with one log.
Load 01
Change master- Change number
- Valid-from date
Load 02
Material master- Header material
- Component materials
Load 03
Material BOM- Header: material, plant, usage
- Items
- Item long texts
Why it's hard
- BOM header and item structures with many optional fields per usage and plant.
- Dependencies on materials and change numbers that must exist first.
- Values that must be converted to SAP internal format (leading zeros, upper case, lengths).
- Item long texts and large BOMs with many lines.
- No test-run mode in the standard SAP BOM interface, so every run changes data in the target system.
How VeloXm handles it
VeloXm maintains SAP material BOMs record by record from any source. Combined with the Material Master and Change Master plugins in the same project, you can load the materials, the engineering change numbers and the BOMs that reference them in a single, repeatable run.
- Header, item and long-text tables exposed as mappable fields
- Per-field settings: default value, upper case, leading zeros, truncate
- Full SAP error text in the log, including ABAP exception long texts
- Works alongside Material Master and Change Master in one project
Migration scenarios
Where teams use VeloXm for bills of material.
SAP ECC to SAP S/4HANA
Read BOM headers and items from ECC tables with the SAP Read Table plugin, adjust what differs in the target, and load them into S/4HANA.
Legacy ERP or PLM to SAP
Start from Excel exports or database tables. Several source rows for one BOM become its items, so flat item lists load as they are.
Engineering changes in bulk
Create the change master first, then change the BOMs with that change number, in the same project and the same log.
Mass maintenance after go-live
Change existing BOMs from a spreadsheet. A BOM is created if none exists for the material, plant and usage, and changed otherwise.
What you can migrate
What the VeloXm plugin loads, and what stays outside the load.
Included in the load
- BOM headerMaterial, plant and BOM usage; created if missing, changed if it exists
- BOM itemsSeveral source rows give several items
- Item long textsLoaded as text lines with the item
- Change numbersLoad the change master first with the Change Master plugin
- Values returned by SAPWrite them back to Excel or pass them to the next plugin
Outside the load
- Test run (simulation)The SAP BOM interface has no test mode; test in a non-productive system
- Creating missing materialsLoad header and component materials first with the Material Master plugin
How the migration works
The same project runs every test cycle and the final cut-over.
Read the source BOMs
Excel, a database, an SAP table read or a Python data source.
Map header and items
Pick the import fields, structures and tables (items, long texts) and map them with drag and drop.
Chain dependencies
Put Material Master and Change Master plugins before the BOM plugin to create what the BOM needs.
Load with full logging
Each record is converted to SAP format and sent; SAP messages, including ABAP exception long texts, are logged per row.
VeloXm vs. standard SAP options
How the usual ways to load bills of material compare. More comparisons
| Criterion | LSMW (batch input) | S/4HANA Migration Cockpit | Custom ABAP program | VeloXm |
|---|---|---|---|---|
| Material BOM object | Recording or standard input program | Standard migration object | Yes | Yes |
| Programming needed | No, but recordings break when screens change | No, for the standard object | ABAP development | No |
| Test before saving | No | Simulation | If you build it | No test run: use a non-productive system |
| Message per record | Batch input log | Yes | If you build it | Yes, the full SAP message text |
| Change numbers, materials and BOMs together | Separate projects | Separate objects in one project | If you build it | One project, run in order, one log |
| Sources | Files | Templates or staging tables | Whatever you program | Excel, databases, SAP tables, Python |
General guidance. Capabilities of SAP tools depend on your release and configuration. SAP does not recommend LSMW on S/4HANA.
For the technical evaluation
VeloXm uses standard SAP interfaces wherever they exist and logs the SAP result for every record. Configuration, fields and run-time behavior are in the plugin documentation.
Questions SAP teams ask
Something else? Ask us directly.
How do I migrate BOMs to SAP S/4HANA?
Read the BOMs from ECC, a legacy system or Excel, map header, items and item long texts to the Material BOM plugin, and load them after the materials and change numbers they reference. The same project runs again for every test cycle and the cut-over.
Does VeloX support BOM migration to S/4HANA?
Yes. The Material BOM plugin uses a standard SAP interface that is available in both SAP ECC and SAP S/4HANA.
In what order should BOM data be loaded?
Change masters first, then the header and component materials, then the BOMs. If your BOMs contain document items, load those document info records before the BOMs too.
Does the load create new BOMs or change existing ones?
Both. SAP creates a BOM when none exists for the material, plant and BOM usage, and changes the existing BOM, header and items, otherwise.
Can I test a BOM load first?
The standard SAP BOM interface has no test-run mode, so test BOM loads in a non-productive system first. Every record is logged with the SAP result.
Can I simulate the other objects in a project that loads BOMs?
Not in the same run. A project with the BOM plugin always saves to SAP, for every target in it. To simulate materials or change masters, run them in a separate project without the BOM plugin.
Can BOMs be created with a change number?
Yes. Create or update the change master with the Change Master plugin in the same project and map the change number into the BOM.
What does the log show when a BOM fails?
The SAP message for that record, including the full long text of ABAP exceptions, plus every value sent to SAP and returned by it.
Which SAP authorizations does the load user need?
RFC access and authorization to create and change material BOMs for the plants and BOM usages you load.
Objects that usually move together
Change masters (ECN)
Create and update engineering change numbers in ECC or S/4HANA, ready for BOM and document loads that depend on them.
Material master
Create or update materials across views, including classification, with test-run simulation and automatic rollback on errors.
Document info records (DMS)
Create or update DIRs with object links, classification, originals and long texts, even for documents in blocking statuses.
Planning a bills of material migration?
Tell us about your systems and data volumes. We'll show you VeloXm on a scenario like yours.