Show TOC Start of Content Area

Procedure documentation Managing the Business Rules List  Locate the document in its SAP Library structure

Use

The business rules list consists of business rules.

Each of these rules groups together:

      Access control list (ACL) – a set of principals and permissions for access to some of the business object life cycle operations

      Conditions list – a set of conditions that define the situations for which the permissions are valid

More information: Composite Application Service Security

Prerequisites

      You have selected a business object.

      Your user is assigned to the roles SAP_CAF_ADMIN and SAP_CAF_DEVELOPER CAF roles.

Procedure

Creating a New Rule

...

       1.      Choose New Rule.

A new entry named Ruleis added to the business rules list.

       2.      Follow the instructions for modifying an existing rule below.

Modifying an Existing Rule

...

       1.      From the Business Rules List, choose the entry you want to modify.

       2.      To change the name of the rule, click with the primary mouse button inside the column Name of the selected entry and enter a new name.

       3.      Configure the Access Control List and the Conditions List.

More information:

       Managing Access Control List

       Managing Conditions List

       4.      To confirm the changes you have made, choose Save Business Rules.

Note

The <current_user> is given fullcontrol by default.

Deleting an Existing Rule

..

       1.      From the Business Rules List, choose the entry you want to delete.

       2.      To delete the rule, choose This graphic is explained in the accompanying text with the quick info text Remove.

The rule is removed from the list.

       3.      Choose Save Business Rules to confirm the changes made.

Exporting Business Rules

...

       1.      Choose Export Business Rules.

       2.      Select the business rules you want to export.

       3.      Enter a name for the exported configuration.

       4.      Choose Export to Configuration.

The configuration is created by the development component sap.com/caf~UI~ptn~authorization.

When the configuration is created it can be downloaded and then uploaded on another server. To do this, use the applications Repository Backup and Repository Restore.

Importing Business Rules

...

       1.      To import a previously exported configuration of business rules, choose Import Business Rules.

       2.      From the dropdown box, select the configuration you want to import.

       3.      If in the imported configuration there are rules with the same names as existing ones, you can do the following:

       To preserve the business rules, disable the Overwrite if Business Rule Already Exists checkbox.

       To replace the existing rules with the imported ones, enable the Overwrite if Business Rule Already Exists checkbox.

       4.      Choose Import from Configuration.

The imported business rules are added to the list.

       5.      Choose Save Business Rules to confirm the changes made.

End of Content Area