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 authorizations for access to some of the entity life cycle operations.

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

For more information, see Service Permissions.

Prerequisites

You have selected a business entity service.

Procedure

Creating a New Rule

To define a new business rule, proceed as follows:

...

       1.      Choose New Rule.

A new entry named Rule is added to the business rules list.

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

Modifying an Existing Rule

To configure an existing rule, proceed as follows:

...

       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.

For more information, see:

     Managing Access Control List

     Managing Conditions List

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

Note

If you have not assigned any permissions, the following permissions are added by default:

      Administrator with permissions for fullcontrol.

      The owner of the entity service with permissions for owner.

For more information about predefined permissions, see Predefined Permission Access Rights.

 

Deleting an Existing Rule

To permanently remove an existing rule, proceed as follows:

...

       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

You can export business to transfer business rules to another server or on deployment.

Note

You can use the Content Transport tool to transfer business rules alternatively.

For more information, see Content Transport.

To export business rules, proceed as follows:

Caution

To be able to export business rules, you must hold the CAFAdmin and CAFUIAdmin roles.

For more information, see Setting Up Roles.

...

       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

To import a previously exported configuration of business rules, proceed as follows:

...

       1.      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