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: 

Where is my actual document stored given GOS links in table SRGBTBREL

siongchao_ng
Contributor
0 Kudos

Hi all,

I have the following entries in the table SRGBTBREL after invoking the GOS toolbar in my custom program as followed.

So may I know where is the documents actually stored? which content repository?

DATA: lr_gos_manager TYPE REF TO cl_gos_manager,

      ls_borident TYPE borident.



  ls_borident-objtype = p_bo.

  ls_borident-objkey = p_objid.

  CREATE OBJECT lr_gos_manager
    EXPORTING
      is_object      = ls_borident
      ip_no_commit   = ''
    EXCEPTIONS
      object_invalid = 1.

1 ACCEPTED SOLUTION

hohoman
Active Participant
0 Kudos

Hello,

If you're talking about standard attachments which were uploaded via GOS-Toolbox-Function "Add Attachment" (not add Business Document). The attachment is stored in the SAP-DB directly if your Admin uses the Standard repository customizing.

-> Table SOFFCONT1

Regards

Holger

3 REPLIES 3

FredericGirod
Active Contributor

the good answer will be: it depends 🙂

https://blogs.sap.com/2014/07/03/configuring-http-content-server-4-abap-code-12-read/

to know the content repository check the OAM1 transaction. But it could be without content repository.

GOS is the toolbar, ArchivLink is how you store document. GOS could be link to ArchivLink (or not).

If you want to go fast, make a SQL trace using ST05 and check if you saw table TOAxx (xx = number)

Sandra_Rossi
Active Contributor
0 Kudos

I'm not sure to be correct in saying that GOS attachments (at least the ATTA you show) are exclusively handled as SAPoffice documents. I recommend to look at note 904711 - SAPoffice: Where are documents physically stored?

hohoman
Active Participant
0 Kudos

Hello,

If you're talking about standard attachments which were uploaded via GOS-Toolbox-Function "Add Attachment" (not add Business Document). The attachment is stored in the SAP-DB directly if your Admin uses the Standard repository customizing.

-> Table SOFFCONT1

Regards

Holger