SAP BLOG Full guide and answers for using migrate your data app in S4hana 2020

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,580
Tepki puanı
7
Puanları
6
Introduction

In this Blog post we will explain how to use a new migration app ( Migrate your data app ) using demo system S4hana 2020

In SAP S/4HANA 2020 and later versions, you need to use Migrate Your Data Fiori App instead of LTMC, you can still use LTMC in S4Hana 2020 but those projects will not be changed using Migrate Your Data app you can only display it.

Blog content

  1. How to create project using Migrate Your Data app
  2. How to create filed mapping using download and upload function
  3. How to upload your data using XML file
  4. How to transfer your project to another system
  5. How to move your project between clients
  6. Important information for production system
  7. Important information for non production system



How to create project using Migrate Your Data app

Click on migrate your data app

2021-10-04_16-05-57.png


in our example we will use migrate data using staging table to upload the data using XML file format

Click on create project using staging table

2021-10-04_16-05-57-1.png


choose you project name and mass transfer ID that will help you later to transfer your project between your clients

then click on step 2

2021-10-04_16-05-57-3.png


you will be transferring to migration object screen, you need to search for specific object then select it

in my case i will choose open sales order object

2021-10-04_16-05-57-4.png


select the migration object and click on move bottom to include the object to your project

Note : you can include more than one migration object in your project

2021-10-04_16-05-57-5.png


then click on review

then below message will appear asking for your permission to add another related object ? in my case I will choose do not add

2021-10-04_16-05-57-7.png


below screen will show you overview of your project and migration object

click on create project

2021-10-04_16-05-57-8.png


now your project is created with your migration object and ready to download your template file and proceed to migrate your data

2021-10-04_16-05-57-9.png


How to create field mapping using download and upload function

in this section we will explain how to map the value you inserted in the XML file with SAP value

click on created project

2021-10-04_16-05-57-11.png


you will find that there is an open mapping tasks

2021-10-04_16-05-57-12.png


select the object and click on mapping tasks

2021-10-04_16-05-57-13.png


here you have 2 options to do mapping, you can download the fields you need to map then edit that field in XML then upload it again or you can do the field mapping directly in the project

now we will see the option of create mapping directly in the project

in our case we need to map the number range for sales order if it external or internal, click on mapping task.

2021-10-04_16-05-57-14.png


below screen will open, in the left side you will see the mapping task and you can change or confirm it on the right side of the screen.

2021-10-04_16-05-57-15.png


click on customizing and choose the right mapping as per you requirement

2021-10-04_16-05-57-16.png


in my case I will select internal numbering

2021-10-04_16-05-57-17.png


status changed to revised, then confirm to continue

2021-10-04_16-05-57-18.png


status changed to confirmed

2021-10-04_16-05-57-20.png


second option is to do mapping using XML file then upload it again with the mapping value

this option will help you to keep all mapping tasks in one file to upload it again in another client

Select mapping task and click on download value then go to monitoring to download the XML file

2021-10-04_16-05-57-22.png


choose mapping project and click on download file

2021-10-04_16-05-57-23.png


after download the file edit the data in the XML file then upload it again

2021-10-04_16-05-57-24.png


2021-10-04_16-05-57-25.png




How to upload your data using XML file

open migrate your data app then select your project as below

click on project name

2021-10-04_16-05-57-40.png


select your migration object and choose download template

2021-10-04_16-05-57-41.png


after downloading the template you can open it and fill the data as per your requirement then save the file

2021-10-04_16-05-57-42.png


and click on upload file

2021-10-04_16-05-57-43.png


below screen will open > click on upload then choose your file location

2021-10-04_16-05-57-44.png


wait until uploading is finish, the uploaded file will appear in the below section

2021-10-04_16-05-57-45.png


then wait until the file is transferred

2021-10-04_16-05-57-46.png


go back and select simulate

2021-10-04_16-05-57-47.png


wait until simulation is done, if there is an error you will find it as below

there is an error in task mapping we will map it as we discussed in the previous section in this blog

click on mapping task

2021-10-04_16-05-57-48.png


then map and confirm all tasks as explained in the above section of this blog

2021-10-04_16-05-57-49.png


after confirming all task needed you can go back and simulate again, you will see that there is no error in simulation

2021-10-04_16-05-57-50.png


click on migrate to start migrate your data

2021-10-04_16-05-57-51.png


after completing the migration you will see that your data is migrated successfully

2021-10-04_16-05-57-52.png




How to transfer your project to another client

Go to source system for example DEV system ( which you create a project on it )

Execute t-code SE38

Execute report /LTB/MC_PROJ_Q2P

2021-10-04_16-05-57-26.png


click on export, then insert your mass ID you have inserted when you create the project

2021-10-04_16-05-57-28.png


choose the location to save the project file

2021-10-04_16-05-57-31.png


Then go to the target system ( for example production system ) and Import the project file that you save earlier

go to Se38 > insert program : /LTB/MC_PROJ_Q2P > execute > then choose import, select an option of local sap s4hana database

2021-10-04_16-05-57-32.png


then execute and choose the program file you have saved earlier from source system

2021-10-04_16-05-57-33.png


project will transfer successfully and you can use it in production server

NOTE : instead of using se38 and execute the program, you can do the same from LTMOM it will transfer you to the program directly to export and import your project



how to move your project between clients

you have an option in LTMOM to move the project from client to another client, for example you want to move you project from DEV 100 to DEV 110, this option will help you do that and remove the project from DEV 100

Go to T-code: LTMOM in target client > choose your project > Go to > use project in different client

2021-10-04_16-05-57-34.png


then execute

2021-10-04_16-05-57-36.png


below screen will open, click on continue

2021-10-04_16-05-57-37.png


the project will be moved from the source client to the target client

2021-10-04_16-05-57-38.png




Important information for production system ( non modifiable system )

It is not possible to create or modify projects in production system. You cannot, for example, remove a migration object. If you need to make such changes, you can change the project in the source system and transfer it again to the target, creation option will not be available in production system

Example: You transfer a project that contains migration objects A, B, and C to the target system. In the source system you remove object C. You transfer the project again to the target. The project in the target system will now contain objects A and B only.

below screen from production system, as you see there is no option to create a new project

2021-10-04_16-05-57-10.png


Additional Information for non-Production Systems​


You can create and modify projects in any system that is not a production system. If you add an object in the target system, it will not be removed if you transfer the project again.

Example: You create a project with migration objects A, B, and C. You transfer this project to a non-production target system. In the target system, you add object D. The project in the target system contains objects A, B, C, and D. In the source system, you remove object C, and then transfer the project again to the target system. The project in the target system now contains object A, B, and D.

below screen from non production system ( DEV ), as you see there is no option to create a new project

2021-10-04_16-05-57-39.png




Conclusion:

now you can create and edit your project and migration objects, transfer and move your migration project between your systems

if you have any questions let me know in the comment box

Thanks & Regards

Okumaya devam et...
 
Üst