For SAP Transportation Management (SAP TM), SAP has provided a migration tool to facilitate the migration from standalone SAP TM 9.5 or 9.6 to SAP TM for SAP S/4HANA, supporting both deployment options— Embedded and Standalone (also referred to as extra stack). You can access it through transaction /SCMTMS/2S4H.
Note
The migration tool does not transfer any transaction data. Additionally, the tool is applicable only for SAP TM 9.5 or higher versions and is not compatible with SAP TM 9.4 or earlier releases.For more details on the migration tool, please refer to SAP Note 2769186.
For SAP Transportation Management Master Data Transfer Tool: SAP Note 3048402 (Transfer Transportation Management Master Data).
If you are using SAP TM 9.4, you should begin at step 2, where you first need to upgrade to a newer release before proceeding with the migration.
If your version is earlier than 9.4, you will need to make a copy of the production system, upgrade to a newer release, and only then can you proceed with the migration.