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