Migrate your data with LTMC & LTMOM
Migrate your data with LTMC & LTMOM
The matrix below shows tools available in various data migration scenarios:
SAP ERP SAP Information Steward For SAP S/4HANA Cloud Private
Option, usage of Migration
SAP Rapid Data Migration content Object Modeler is also available
The LSMW (Legacy System Migration Workbench) function is still available within SAP S/4HANA, (on
premise edition) but not considered as the migration tool. LSMW might propose incorrect migration
interfaces that cannot be used in SAP S/4HANA anymore.
The Legacy System Migration Workbench (LSMW) should only be considered as a migration tool for SAP
S/4HANA for objects that do not have interfaces or content available after carefully testing for each and
every object. The use of LSMW for data load to SAP S/4HANA is not recommended and at the customer’s
own risk.
• To transfer data using the SAP S/4HANA migration cockpit, role SAP_CA_DMC_MC_USER is
required. To use the SAP S/4HANA migration object modeler (transaction LTMOM),
role SAP_CA_DMC_MC_DEVELOPER is required.
• For additional considerations, find below details of SAP Note 2481235. SAP S/4HANA Migration
Cockpit (on-premise) - restrictions and extensibility of pre-delivered migration objects.
• Refer SAP note: 2537549 for collective details for data migration cockpit where we can find all
the SAP note details which are required to be checked as a part of pre-requisite check.
• RFC connection to be established using SM59 Transaction in case of DMC using Direct SAP
Extraction from Source system.
• DBCO – DB Connection to be established for HANA DB and Data migration cockpit connection.
Note: We should not have Staging SCHEMA user name same as any other Schema User name which is
already created (Eg. SLT Staging Schema cannot be used as DMC Schema) else Start Transfer will not be
executed and conflict happens.
• At end of this document there are also few more SAP Note details and Error list which are
commonly found in Data migration cockpit
T Code: LTMC
Preconfigured content and mapping for each migration object, e.g. Customer, Bank Master,
etc…
Predefined templates (Microsoft Excel XML files) for each object
Automated mapping between template and target structure
Migration programs are automatically generated – no programming required by the customer
Available for private and public cloud and on-premise versions
T Code: LTMOM
- Custom objects
Process:
Steps :
2. Downloading templates
• Once you Create new Project, you will have object list which are available in LTMC
• Once Uploaded, we will have to activate the file using Activate Button. Without
activation the file won’t be available for Start Transfer
a. Validate Data
b. Convert Value
c. Simulation Import
d. Execute Import
In the step Validate Data, the system checks the consistency of the files. If the system detects
any inconsistent values. (for example, if mandatory values are missing), you must correct them
before proceeding to the next step.
Step : Convert Values
Some data may need to be converted before it can be transferred to SAP S/4HANA. In this
step, you can convert such data.
• Simulate Import
In this step, the target system validates the data. No data is posted to the target
system.
• Execute Import
Execution Log will also be displayed in Notification are which can be downloaded as excel for further
audit purpose.
You can create your own custom object which is not available in LTMC. Currently SAP provided only 53
objects (in 1709) so using LTMOM you can migrate other objects too.
Process is similar to what we had seen in Extending pre-Delivered objects. You will need Function
Module (not necessarily Z).
Steps
Give an Object id(No Z_ required, example MYOBJ) and description. Currently only the option Migration
from File by calling Function Module is supported.
Parameter for the Return is the Table-Parameter which contains the BAPIRET2-Error Messages (see
/NSE37)
Parameter for Simulation see Function Module Description, usually there is an option like TESTRUN,
where ‘X’ means no Update.
In the Section ‘Source Structure’ it is possible to add new Fields to existing structure and add new
Structures.
choose ‘Add Field’ to add fields at the end of the structure. choose ‘insert Field’ to insert the field at the
cursor position.
Foreign Key Relationship: You can maintain foreign Keys for Key fields like MATNR or KUNNR.
for example, if we want to add custom fields to the Material BAPI. The BAPI has an Input Parameter for
Customer Fields which matches the Structure BAPIE1PAREX.
Enter Field name, Datatype and Length and Description (Description is shown in generated Excel
Template). i usually use CHAR Fields for the Excel/Input Structure and they also can be longer than the
target SAP Field.
next Time you Generate an Excel Template in LTMC, you will also see the new fields.
Target Structure
This comes from the assigned Function Module so there is nothing to be changed here.
Structure Mapping
Each target structure you want to use/fill needs to be assigned to at least one source structure (can also
be more than one). this is done by drag and drop.
Field Mapping
Some BAPIs have ‘X’ Field Structures, where you have to Mark the Used Fields with an ‘X’. here you can
select from a list of existing mapping rules, or create a new mapping rule. For each Value-Mapping in
LTMC, there is a Rule available.
Mapping Rule
Your Custom Object in Migration Cockpit is now ready to be used for migration.
Go to LTMC, you will see new object is added in projects Object list.
Now Start Data Transfer using Transfer button in a same way which we perform for a standard
Objects.