Skip to Content
Product Information
Author's profile photo Sagar Shridhar Bhide

Migration of the documents from ECC to S/4

Dear Reader,

Moving forward with migrations , We are supporting our customers on their way to SAP S/4HANA to take advantage of best in class innovations and get ready for the new world of challenges and opportunities.

You all must be aware of the SAP S/4HANA Migration Cockpit, which allows you to move your ERP data to SAP S/4HANA.

For our customers the attached documents are an important part of a successful data migration. With the SAP S/4HANA Migration Cockpit we are now able to support the migration of Document info record (DMS). Please find the object documentation here.

The optimal way was always a question for us and here is what we decided

The boundary condition is that the storage location of the documents remains as it is – physical migration of the documents is not in scope of the migration. In case you would like to use a new storage, e.g. new content server from a new vendor, you should change it in your ERP source system (best case). The second option is to do it as a post migration activity in your SAP S/4HANA system (next best). The business documents will be migrated with the SAP S/4HANA Migration Cockpit and in addition the related attachments will be RELINKED with same attachment ID to the NEW Business Document number of your SAP S/4HANA system.

This migration also does not allow or covers changing the documents from one document type to another. e.g. changing the GOS attachments in DMS and vice versa.

This migration currently ONLY covers DMS attachments, but we are working to support also GOS attachments in the future.

Why we decided to keep the actual migration of the documents outside the scope of the Migration cockpit ?

Covering the document migration within the migration scope, the process would have become very slow. Further the migration complexity incl. issue handling would increase the migration process considerably. With this proposed approach we are going to minimize the impact on your business processes after migration.

What you should do ?

Before performing the migration you should  create all the content repositories (OAC0) and storage categories (OACT) in S/4 System. You use the same repository as in your ERP source system.

Afterwards use the SAP S/4HANA Migration Cockpit and migrate your DIRs (DMS).

Results :-

Your DIR details would change but actual documents (Attachment) would remain in the same Content Repository / Storage category.


FAQ :- 

1.What if you want to like to migrate the attachments ?

Ideally you should do it as a separate project before / after performing S/4 migration. This will make sure that you are sure that this will not cause issues in the migration and will execution time for your actual migration.

2.What should you do if you are using Repository of type SAPDB ?

You can

  1. Copy the content table directly from your source system to target system.
  2. You can follow SAP Note 685521. Then use your Pre-migration SAP system as a source for your document.



Vote-of-Thanks before I finish.

This post wouldn’t have been possible without inputs from Devyani Mahapatra and Claudia Gemm . So Thank you for your inputs. 

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Shweta Chavan
      Shweta Chavan

      Hi Sagar,

      I have been following your blogs on Documents migration & content sever etc. these are good blogs for the beginners like me. 🙂

      We have similar requirements where my client is moving from ECC to S4 and wants to move their DIRs & GOS attachments.  Could you help with GOS migration here? I am a little confused about GOS migration. Do GOS Attachments reside in the content server only? If so, will the content server data copy/migration will be sufficient here? how the link established with attachment and SAP document like Vendor for example.

      Your answers will be helpful.





      Author's profile photo HP Basis L III
      HP Basis L III

      Nice post, thank you for share! In terms of migration from ECC to S/4 move documents from Content Server back to ERP, migrate and then after migrate to S/4 would be an option? If yes, do you see any risk associated or backwards (besides additional space needed during the process)?


      Warm Regards.

      Author's profile photo Sagar Shridhar Bhide
      Sagar Shridhar Bhide
      Blog Post Author

      Dear HP,

      I will not do it if I am using Migration Cockpit. I will connect the existing Content server to S/4 system as well.

      If you any ways want to move away from the Content Server to SAP System Storage, You can do that after the migration to S/4. You can also look at my Migration Blog Content Repository Migration in mind ? | SAP Blogs for more details on Migration.



      Author's profile photo Ritesh Inamdar
      Ritesh Inamdar

      Hi Sagar,

      I working on migration & for this I am a beginner.

      We have similar requirement where we are moving data from ECC to S4 and wants to move conditional data for the specific company code. while creating migration project the company code selection from ECC is available but we are unable to choose conditional data while executing very first process "Select Data". Are there any possibilities to select specific data from ECC?

      Your answer will be helpful to me.

      Best Regards,