Creating a New Rule
- Navigate to the business object node for which you want to define business rules.
- Choose New Rule.
A new entry named Rule is added to the business rules list.
- Follow the instructions for modifying an existing rule below.
Modifying an Existing Rule
- From the Business Rules List, choose the entry you want to modify.
- 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.
- Configure the Access Control List and the Conditions List.
For more information, see Managing Access Control List and Managing Conditions List .
- To confirm the changes you have made, choose Save Business Rules.
The<current_user> is given fullcontrol by default.
Deleting an Existing Rule
- From the Business Rules List, choose the entry you want to delete.
- To delete the rule, choose with the quick info text Remove.
The rule is removed from the list.
- Choose Save Business Rules to confirm the changes made.
Exporting Business Rules
- Choose Export Business Rules.
- Select the business rules you want to export.
- Enter a name for the exported configuration.
- 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, choose Import Business Rules.
- From the dropdown box, select the configuration you want to import.
- 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.
- Choose Import from Configuration.
The imported business rules are added to the list.
- Choose Save Business Rules to confirm the changes made.