Application Development and Automation 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: 
Read only

Transfer attachment between two SAP

Former Member
0 Likes
941

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

5 REPLIES 5
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
796

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.

Read only

0 Likes
796

Hi Jelena,

can you indicate me the link where I can find informations?

Thanks Melissa

Read only

0 Likes
796

Hi,

Check this one:

/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background

Regards,

Ernesto.

Read only

0 Likes
796

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...

Read only

Sandra_Rossi
Active Contributor
0 Likes
796

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