Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Material Attachment Migration SAP to SAP

Former Member
0 Kudos
377

Hi experts,

Maybe you can help me with a big challenge here. I need to migrate some materials attachment (MM03), these materials have been migrated from SAP to SAP systems and now I need to put them attachments massively. The two SAP systems are connected through RFC.

I used some FM as BDS_GOS_CONNECTIONS_GET and SO_DOCUMENT_READ_API1 to get the attachment in binary mode. So at this time I don’t know how to insert these attachments in another SAP system.

Find attached the details about the steps I’ve completed until now.

...after check the attachments

So, how to insert these attachments in the corresponding material through RFC? I did not find a GOS FM to insert it.

 

Thank you in advanced

Antonio Rocha

3 REPLIES 3

gouravkumar64
Active Contributor
0 Kudos
172

Hi,

U can try once with DMS documents.

TABLE SRRELROLES  May be helpful.

http://scn.sap.com/thread/2119829

Have a look at this for help.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90402d62-cfd9-2d10-e78b-d323b71bb...

Look at this also.

Hope it helps.

Thanks

Gourav.

Former Member
0 Kudos
172

Hi Antonio,

my idea is just get the content of the documents from SAP1 to SAP2 thru custom RFC/any other functionality then create attachments in target system SAP2.

please ref my sample code to get idea on how to create attachments using BIN contents ..

http://wiki.sdn.sap.com/wiki/display/ABAP/GOS+-+Attachments+to+SAP+Documents/

regards

Prabhu

Samir_GauriLtd
Newcomer
0 Kudos
172

Hello Antonio,

Did you get the solution for this any pointers will be highly appreciated.

Thanks,

Samir