Show TOC

Function documentationBO_Info Classes Locate this document in the navigation structure

 

The main function of a BO_Info class is to check the authorization for a document. In addition to the authorization check at hierarchy level (for more information, see Maintaining Authorizations for WebDAV Hierarchies), an authorization check is carried out by the BO_Info class at business object level. It is checked whether the user is allowed read the business object to which the document is assigned.

So, for example, when formatting the search results, an authorization inquiry for each document found is sent first of all to the WebDAV server after a search in the SAP NetWeaver Portal. This is then answered by a method in the appropriate BO_Info class. The document is displayed in the search results list only if the inquiry supplies a positive result.

For each business object type, there can be a maximum of one corresponding BO_Info class.

Features

BO_Info classes are ABAP classes that supply information for an instance of a specific business object type (for example, BUS1006). These are:

  • Display name

  • Key words

    The properties that characterize the object, for example, address

  • Reading permission

    Whether the user may see the business object

A new BO_Info class must fulfill the following conditions:

Interface IF_CRM_PRT_KM_DAV_BO_INFO has been implemented.

The name of the class is derived in the following way: ZCL_PRT_KM_DAV_BOI_<business object type>.

The name of the BO_Info class for the type BUS1234 is ZCL_PRT_KM_DAV_BOI_BUS1234.

Activities

BO_Info classes for accounts and products have already been implemented. For additional types, implement your own classes.

If you want to implement a BO_Info class quickly, we recommend that you derive it from class CL_PRT_KM_DAV_BOI and overwrite the methods in accordance with your requirements.