Skip to Content
Author's profile photo Former Member

Create Attachment issue in storing the document

 Just kidding 😉

I saw a few un-answered questions on SDN on how to create or attach documents and URL’s to store the documents and in conjunction with knowledge provider (KPro), you can store the documents either in a content server or in the SAPOffice. This blog is applicable to ABAP-based system only.  

Anyway …here we go and how you can store the documents…  

Switching Attachments – This is an overview with the flow diagram how the documents are stored.

 

  • Create content repository (CR) for attachments to be stored in (global setting).
  • Link storage category SOFFHTTP to new repository. 
  • Create class SOFFPHIO for physical document to switch from data base to repository (use transaction SKPR08).  

Create New Content Repository Folders from transaction OACT and Link Category to Content repository. See below Highlighted screen:

Update SOFFPHIO entry in table SDOKPHCL

Here, we have the option to choose STOR CAT either to SAP Office database or to external content server. The way we want to store the documents. There are 2 Options for Storage Category in SOFFPHIO class i.e. SOFFDB and SOFFHTTP.

The entry for the SOFFPHIO class is displayed in the transaction SKPR08 (Classes for Physical documents.

Class for Physical Documents

Here, SOFFPHIO will force attachments to go to the content server.  

Reference OSS notes # 904711 SAPoffice: Where are documents physically stored?

                                       530792 Storing documents in the generic object services

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sandra Rossi
      Sandra Rossi
      Good point for the references to the SAP notes. It's also important to mention the SAP Library's link (for SAP 7.0): http://help.sap.com/saphelp_nw70/helpdata/en/c0/1aca5823ee11d3a2db00a0c943858e/frameset.htm
      (this is also the link where you took the picture from)
      Sandra
      Author's profile photo Former Member
      Former Member
      yep true sandra..Picture was taken from the above link. main motive was to give the solution.