Sub topic 12
Running a simulation
This chapter assumes you can create a migration project, load a file into a migration object, and run validation and value conversion. It covers what the simulation step does, when to run it, and how to read the results.
What a simulation is
A simulation is a trial import. The migration cockpit sends your converted data through the same import logic the real migration uses, but it does not save the result to the database. It runs after validation and value mapping, and it comes before the real migration.
Validation checks your data against the rules of the migration object. These are field lengths, mandatory fields, and formats. Simulation goes further, because the S/4HANA application logic itself processes the records. That logic can reject data that passed validation, for example because of a missing customizing entry or an account that is blocked for posting.
What simulation catches
Validation cannot see the target system's configuration. Simulation can. Typical findings include:
- Customizing that is missing in the target client, such as a company code setting or a payment term.
- Values that are mapped correctly in form but are not allowed in combination, such as an account group that conflicts with a number range.
- Authorization problems of the migrating user.
- Records that fail because they depend on data that does not exist yet.
The last point matters for planning. Suppose a dependent object, such as open items, refers to master data that is not yet in the system. Its simulation can then report missing references. These errors may be correct and expected. Check the load sequence from the previous chapter before you decide that the data is wrong.
Running it
- Open the migration project and select the migration object.
- Complete validation and value conversion until no blocking errors remain.
- Choose the simulation step and start it. For file-based loads, the cockpit asks which of the uploaded data to include.
- Wait for the job to finish, then open the result and review the messages.
The result separates records into those that would succeed and those that would fail. Open each message to see the affected record and the reason.
Common mistakes
- Skipping simulation because validation passed. Validation does not check target configuration.
- Treating a clean simulation as a guarantee. The data in the system can change before the real run, and dependent objects may behave differently once their predecessors are loaded.
- Fixing errors in the cockpit result instead of in the source. Correct the source file or the mapping, upload again, and repeat validation, so that the next run uses the corrected data.
- Simulating a large volume first. Start with a small sample, fix the systematic errors, and then simulate the full set.
A practical routine
Run a small sample through the whole chain first. Group the messages by cause, because one wrong mapping often produces hundreds of identical errors. Fix the cause once, rerun, and repeat until the simulation is clean. Only then simulate the full volume and move on to migration.
Exercise
A customer file passes validation, but the simulation reports many errors saying a payment term does not exist. What is the most likely cause, and where should you fix it?
Show answer
The target client lacks that payment term in its customizing, or the value mapping points to a term that does not exist. Validation only checks the file against the object's rules, not the target configuration. Fix it by adding the customizing or correcting the value mapping, then repeat conversion and simulation. Do not edit the data in the simulation result.