‎2011 Apr 20 3:13 PM
Good aftenoon,
we want to transfer phisically attachments between two SAP using GOS functionalities.
Is it possible? Can Someone help me to understand how manage these files?
Thanks Melissa
‎2011 Apr 20 6:58 PM
GOS attachments are not stored as the files but rather as some sort of raw data.
A while ago I worked on an ABAP function module that received the PDF attachment data in internal table (TABLES) and built a GOS attachment to a travel document in SAP. This FM was exposed as a web service to an external (non-SAP) system. The same way would work for another SAP system, I believe.
There might be some better options (Document Management?), this is just from the top of my head.
My code was based on a well-known SDN blog for GOS attachments, just Google it.
‎2011 Apr 21 11:44 AM
Hi Jelena,
can you indicate me the link where I can find informations?
Thanks Melissa
‎2011 Apr 21 12:49 PM
Hi,
Check this one:
/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
Regards,
Ernesto.
‎2011 Apr 21 9:41 PM
Thanks, Ernesto - this was the blog that I was mentioning.
Interesting point by Sandra. I was under the impression from the original post that the transfer meant to be performed regularly (i.e. something like an interface), but I might be wrong. Live and learn...
‎2011 Apr 21 1:42 PM
Hi Melissa,
I guess your GOS attachments are stored in a content repository (by default it's not), and you want to move them to another content repository.
This is called "relocation", and explained here : http://help.sap.com/saphelp_nw70/helpdata/en/ae/ba9f3879b9bb42938c5bad14587648/frameset.htm
You can do it as a whole, or partially with a program you can customize (see SAP notes indicated in the doc above)
BR
Sandra