2013 Jan 16 10:15 PM
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
2013 Jan 17 4:32 AM
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.
Look at this also.
Hope it helps.
Thanks
Gourav.
2013 Jan 17 5:53 AM
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
2013 Apr 07 4:39 PM
Hello Antonio,
Did you get the solution for this any pointers will be highly appreciated.
Thanks,
Samir