Start of Content Area

Background documentation Service Provider for Records  Locate the document in its SAP Library structure

The service provider for records provides all activities relevant to records in the Records Browser. In the service provider concept, the record is an element like any other element. For this reason it is possible that the record contains elements but at the same time can be included as an element in another record. Records can therefore be nested at any level.

Connection Parameters

See Back End of the Generic Service Provider. Additional connection parameters:

MODEL_ID

Enter the document ID of a record model. This determines that all records with this element type are based on this record model. The connection parameter MODEL_ID is obligatory and can have multiple values assigned to it. If you enter more than one record model, these are displayed in a dialog box for selection when the user creates a record.

You can use the input help for entering the document ID of the record model. (A document ID consists of the name of the LOIO class of the content model and of the object ID in the form of a GUID. You can call up this Information in the activity Information on the record model.) The selection dialog box lists all the record models created in the service provider for record models. After a record model has been selected, the system enters the document ID automatically as a value for the connection parameter MODEL_ID.

Note that the service provider of the specified record model must be entered in the service provider for records as a template service provider. The default setting is that the default service provider for record models (SRM_SP_MODEL) is entered as the template service provider. If you use a different service provider for your record models, you enter this as a template service provider. You make this entry in the service provider for records on the tab page Properties.

STATE_PROFILE_ID

As the value, assign the name of a status profile that you created in the IMG activity Define Status Profile. If the user then creates a record of this element type, he or she can maintain the attribute Status in the dialog box for attribute maintenance. For more information, see the online documentation in the IMG for customizing status management.

TEMPLATE_REC_PRINT

This parameter refers to the print functions of the record. When a record is printed, the structure of the record, and all printable documents including their attributes are printed, too. Enter the name of Smart Form. This form is used for printing the record. If you do not enter a name, the system uses the default form SRM_RECORD_PRINT_FORMULAR.

If you want to create your own form, we recommend that you copy the default form and make changes to the copy as you require. Note that the interface must be the same as the interface of the default form.

Context Parameters

CURRENT_ACTIVITY

Not relevant for Customizing.

MODEL_ID

The context parameter MODEL_ID is related to the connection parameter of the same name.

You can assign values to the context parameter MODEL_ID when creating a record model (this is optional), if you have created a model node to which you have assigned an element type of the service provider for records. It is only useful to assign values to this context parameter if you have entered multiple values for the connection parameter MODEL_ID when creating this element type.

By entering values for this parameter in the record model, you establish the following: When users create records using this model node, the records created are always based on the record model that you entered as a value for the context parameter MODEL_ID. Users cannot choose between several different record models.

Enter the document ID of a record model. You can only enter the ID of a record model that you have also entered in the connection parameter MODEL_ID of the corresponding element type. The document ID is composed of the document class of the record model (name of the LOIO class of the content model) and the object ID (GUID) of the record model. To find out this information, you can choose the Information activity for the record model.

 

End of Content Area