SAP Knowledge Base Article - Public

3781764 - Error: "Reference sequence does not exist" migrating object "Routing"

Symptom

During the simulation step of migration object "Routing" in the Migrate Your Data app, it fails with the following errors:
  1. No instance of object type Routing has been created.External reference: (Message Class: BAPI, Number: 001)
  2. Reference sequence does not exist (Message Class: CP, Number: 314)

Environment

SAP S/4HANA Cloud Public Edition

Cause

The Sequences sheet contains an entry for a parallel sequence, but no operations in the Operations sheet have the Sequence field populated to reference that sequence.

This inconsistency between the Sequences sheet and the Operations sheet causes the system to detect a sequence definition with no assigned operations, resulting in the simulation failure.

Additionally, no entries are required in the Sequences sheet for a standard sequence. The Sequences sheet must only be maintained when parallel or alternative sequences are used, and in that case, the corresponding operations must be explicitly assigned to those sequences via the Sequence field in the Operations sheet.

Resolution

  1. Only a standard sequence is required:

    1. Open the migration template Routing.
    2. Clear all entries from the Sequences sheet.
    3. Re-upload the template, complete the preparation step, and re-run the simulation.

  2. Parallel or alternative sequences are required:

    1. Open the migration template Routing.
    2. In the Operations sheet, populate the Sequence field for each operation that belongs to a parallel or alternative sequence, ensuring the value matches the sequence key defined in the Sequences sheet.
    3. Verify that every sequence entry in the Sequences sheet has at least one corresponding operation assigned to it in the Operations sheet.
    4. Re-upload the template, complete the preparation step, and re-run the simulation.

Keywords

Routing migration, MYD, Migration Cockpit, simulation error, No instance of object type Routing, Reference sequence does not exist, BAPI001, CP314, Sequences sheet, Operations sheet, parallel sequence, alternative sequence, standard sequence, sequence category, staging table, MYD, LTMC, PP module, routing template  , KBA , CA-GTF-MIG , SAP S/4HANA Data Migration Cockpit Content , Problem

Product

SAP S/4HANA Cloud Public Edition all versions