Show TOC Anfang des Inhaltsbereichs

Hintergrunddokumentation Maintaining Content Repositories and Storage Categories  Dokument im Navigationsbaum lokalisieren

If you created a new document area for your documents you will usually also want to store them in dedicated content repositories that contain only documents of this area.

You can create content repositories for the documents of your area directly from the DMWB: Choose Environment   Content repository systems Administration.

Alternatively, you can use the IMG activity Knowledge Management > Settings in the Knowledge Warehouse System > Content Management Service > Define Content Repositories (transaction oac0).

As different types of repositories are used for storing content objects and structures you will usually need two content repositories for a document area.

Repository for Structures

The Knowledge Warehouse, like several other applications, uses the SAP Structure Repository for storing its structure objects. If the content maintained in your document area comprises structure objects, you need a repository for them in the SAP Structure Repository.

A pre-defined repository named CUSTSTRUCT is delivered with the Knowledge Warehouse. This repository will be used for storing structure objects, provided you derived the structure object class from the class KW_TEMPL_STRUCT_SRC in area KWCA. If you derived the class from KW_TEMPL_STRUCT_SRC then it has the storage category CUSTSTRUCT as a standard property. And this storage category is already mapped to a content repository of the same name, i.e. CUSTSTRUCT, so all structures are directed to this repository. Thus, you do not have to do any configuration for storing structures.

Use the IMG activity Knowledge Management > Settings in the Knowledge Warehouse System > Content Management Service > Define Content Categories (transaction oact) to inspect the mappings of storage categories to content repository.

Repository for Content Objects

Content objects are generally stored in an HTTP archive on the SAP Content Server.

No pre-defined repository of this type is delivered with the Knowledge Warehouse. The repository specification includes the name and port of the content server, and these data, of course, depend on your local system environment. Therefore, you must create a repository for content objects.

Define Repository in SAP System

...

       1.      Choose Environment   Content repository systems Administration in the DMWB.

The list of content repositories is displayed.

       2.      Choose Workbench  Create.

       3.      Enter a repository name (e.g. Z_CUSTCONT) and a description.

       4.      Leave the Document Area field empty.

       5.      In the Storage type field select HTTP content server.

       6.      In the Version no. field select 0046.

       7.      In the HTTP server field enter the name of the content server.

       8.      In the Port no. field enter the port number.

       9.      In the HTTP script field enter ContentServer/ContentServer.dll

   10.      Save your entries.

With this activity you configured the Knowledge Warehouse SAP System so it can communicate with the HTTP content server and can request that documents be stored and retrieved from a particular repository on this server. To actually make this possible you need to set up that repository on the HTTP content server itself.

Set up Repository on HTTP Content Server

...

       1.      Choose Environment   CS Admin on the screen Change Content Repositories: Detail.

The screen Content Server Administration - Change is displayed

       2.      On the Create tab page press the Create repository button.

The repository is created and the Details tab page is displayed.

       3.      Select the Certificates tab page and press the Send certificate button.

Certificate data are displayed in a table.

       4.      Select the row containing the certificate data and press the Enable button

The certificate is set to state Active.

Now that you have set up the repository you need to make it the storage location for your content objects. You do this by mapping the storage category of the content object classes to the repository.

If you derived your content object classes from KWCA classes (e.g. from KW_TEMPL_DOCSRC, KW_TEMPL_PPTSRC, etc.) then they have the storage category CUSTCONT as a standard property. To store content objects in the repository you created you need to map the storage category CUSTCONT to this repository.

Map Storage Category to Content Repository

...

       1.      Choose Environment   Content repository systems Maintain storage categories in the DMWB.

On the screen Change View "Maintenance Categories": Overview the list of storage categories is displayed.

       2.      Select the category CUSTCONT and choose Details.

       3.      Leave the Document Area field empty.

       4.      In the field Content repository enter the name of the repository you created, using the possible values help.

       5.      Save your entries.

Alternatively, you can use the IMG activity Knowledge Management > Settings in the Knowledge Warehouse System > Content Management Service > Define Content Categories (transaction oact) to map a storage category to a content repository.

 

Ende des Inhaltsbereichs