This How To describes the Customizing steps for creating an object type for document storage.
The object type works together with the document management functionality of SAP "Business Document Services" (BDS).
Define Technical Objects for Object Types
Customizing → Objekttypes → Technical Objects
Feld  | Feldinhalt  | 
|---|---|
Tech Obj.  | DOCUMENT  | 
Objekttypen Klassen  | /SCT/QP_CL_DOC  | 
ViewKlasse  | /SCT/QP_CL_DOC_VIEW  | 
View Report  | /SCT/SAPLQP_OBJTYP_VIEW  | 
View Dynpro  | 5000  | 
Define Object type
Customizing → Objecttypes → Object Types
Field  | Field content  | 
|---|---|
Object type  | <arbitrary>  | 
Object type Text  | <arbitrary>  | 
Use object type  | as a tab  | 
Technical type  | DOC  | 
Tech Obj  | DOCUMENT  | 
The BDS class name is fixed to "/SCT/"QP" and the class type is fixed to "OT", thus the documents are stored locally in the system and no further customizing is necessary.
If other class names or class types are required, a new class must be created and assigned as a subclass of the standard class "/SCT/QP_CL_DOC".
Customizing Archive:
When storing on a different system or connecting to an archive system, a corresponding content repository must be defined and assigned to a content category. These settings are made in Customizing of the Knowledge Provider.
Knowledge Provider Einstellungen
SPRO → SAP NetWeaver (ABAP Platform)→ Application Server → Basis-Services → Knowledge Provider
Define content repositories( TA: OAC0 )
Define Content Categories( TA: OACT )
BDS settings
SPRO → SAP NetWeaver (ABAP Platform) → Application Server → Basis-Services → Business Document Service
Maintain storage categories(TA: SBDSV2)


