05-07-2018 9:18 PM - edited 02-04-2024 2:48 AM
We're migrating data from a legacy SAP ECC system to a newly implemented one. Many SAP business objects, such as materials, maintenance plans, functional locations and FI documents, have documents attached to them via the Generic Object Services (GOS). The documents are stored in the legacy system's database.
What's the best way to migrate these GOS attachments along with the SAP business objects? Are there really no standard tools for that?
Note 389366 and KBA 2365781, as well as many Q&A posts describe how to use report RSIRPIRL to migrate the documents from one content repository to another. However, in that scenario the ECC system stays the same. If we migrate the attachments to an external content repository while the business objects are in the legacy system, can we somehow ensure the integrity of the links when we migrate to the new system?
For custom development scenarios, philip.johnston posted a nice blog about uploading and downloading GOS attachments. In it's comments, he proposes using the tools for a migration scenario, too.
One post quoted an anonymous source: Migration of GOS attachements is challenging. Nothing ready for use exists in SAP to do it. '
Is that really the case?
Interesting topic. As the documents are stored independently, it's "just" a matter of recreating the links 🙂
My approach would be something like:
It won't be an afternoon's job, but I think it should be doable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mike, I'm not sure I understand your idea. Why would there be duplicates?
My idea is along the lines of
OK, I thought RSIRPIRL just copied, wasn't aware that it would also repoint the GOS references, my second step was to create the link to the new copy, hence you'd have seen a duplicate.
Nevertheless, the principle remains the same: As long as you have a list of the links, you can recreate them, it should be the same relations as in the old system. You will have to dig deep into CL_BINARY_RELATIONS and the underlying tables.
In this thread https://archive.sap.com/discussions/thread/1534174 it looks like jrgen.lins company bought a program from SAP. Interesting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cool! As SAP has already developed it a couple of years back, we should get it with a discount 😉
Our source system is ECC 6.0 on NW 7.0, so the link table SRBCSBREL Jürgen mentions is there.
Much as I like coding, I think building the solution from scratch is a Conan the Barbarian solution. One would think there has been a need for it hundreds of times already.
User | Count |
---|---|
65 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.