Entering content frameBackground documentation Service Provider for Business Objects Locate the document in its SAP Library structure

The service provider for business objects can integrate business objects from all SAP application systems into Records Management.

Business objects are instances of business object types. Business object types are administrated in the Business Object Repository (BOR). The BOR is the cross-client repository for business object types, and contains their definition and implementation. It identifies and describes the available business object types, and uses a programming interface to provide information about their structure and metadata (key attributes, method names, method parameters, data types of a parameter, and so on). The runtime environment of the BOR, the Business Object Broker, is responsible for the addressing, and for calling the methods. The BOR contains business object types and organizational types (for example, company code, sales organization) and more technically oriented object types such as text, note, or work item.

SP POID Parameters

BOR_OBJECT_ID: Business object ID

BOR_OBJECT_TYPE: Business object type

Connection Parameters

BOR_OBJECT_TYPE

Business object type (obligatory)

Enter the full name of a business object type. An element type always relates to exactly one business object type. For an overview of all existing business object types, see the Business Object Browser (transaction SWO3). The business object types are organized by component.

LOGICAL_SYSTEM

Logical system (obligatory)

Enter the full name of the logical system. The logical system identifies the system in which the business objects of the selected business object type are stored. To determine the name, ask your system administrator or create the logical system yourself. For more information, see Creating a Logical System and an RFC Destination.

If you want to integrate business objects from the local system, enter the value NONE for the connection parameter LOGICAL_SYSTEM.

SUBTYPE

Subtype of the business object (optional)

METHOD_BOR_OBJECT_CREATE

Method Create (optional). Enter the full name of the method.

METHOD_BOR_OBJECT_DELETE

Method Delete (optional). Enter the full name of the method.

METHOD_BOR_OBJECT_DISPLAY

Method Display (optional). Enter the full name of the method.

METHOD_BOR_OBJECT_EDIT

Method Edit (optional). Enter the full name of the method.

Note Prerequisites for the methods:

If the business object type does not support one of the methods specified above, but you need one of these methods, you have the following options:

FUNCT_PUBLISH_CUSTOM

Function module for publishing activities (optional)

Implementing this function module provides a user exit that you can use to enhance the standard activities or add new activities. Enter the name of a function module. For an example implementation, see the function module MY_PUBLISH_CUSTOM_TEST.

The SP for business objects calls this function module when the context menu of activities is structured. The SP for business objects transfers a range of parameters that you can use as decision criteria in the function module when deciding which activities you want to offer. The function module returns a list of activities to the SP for business objects.

Import parameters of the function module:

Export parameters of the function module:

FUNCT_EXECUTE_CUSTOM

Function module for executing activities (optional)

Implementing this function module provides a user exit that you can use to enhance the standard activities, or add new activities. Enter the name of a function module that is responsible for executing the previously published activities. For an example implementation, see the function module MY_EXECUTE_CUSTOM_TEST.

The SP for business objects calls this function module when the user calls an activity that has been published using the connection parameter FUNCT_PUBLISH_CUSTOM. The SP for business objects transfers a range of parameters to which you can assign values for executing the activity.

Import parameters of the function module:

The following import parameters refer to the record containing the business object for which the activity is to be executed. You need these parameters if you want to manipulate the record, for example, using a BAPI.

Export parameters of the function module:

RETURN, TYPE BAPIRET2: Table with the following error message:

Note Manipulation of the record using BAPIs can only be carried out when the record is not being processed.

RFCDEST_CUSTOM

RFC destination of the SAP system containing both the function modules that you have defined under FUNT_PUBLISH_CUSTOM and FUNC_EXECUTE_CUSTOM (optional).

Context Parameters

ANCHOR

A marker in the record model.

Enter a character string of your choice. This is a marker for the model nodes for business objects.

Leaving content frame