You are on page 1of 34

Welcome to the Business Rule Framework lesson for SAP BusinessObjects

Access Control 10.0.


1
Business Rule Framework is the second lesson in the Workflow
Configuration Unit.
2
After completing this lesson, you will be able to perform the actions listed
above.
3
Accessing Workflow Configuration Settings for Access Control:
Using the SAP GUI Interface:
In Back-End SAP System Execute Transaction: SPRO Customizing Edit
Project
Click the SAP Reference IMG button
Open Governance Risk and Compliance Folder
Open Access Control Folder
Open Workflow for Access Control
This lesson will cover the following configuration activities:
Define Workflow Related MSMP Rules
Define Business Rule Framework
Maintain Notification Messages
4
Define Workflow Related MSMP Rules
In this customizing activity, you can test and generate Workflow Related Rules
(such as initiator, routing, or agent determination) before plugging them into the
Multi-Stage, Multi-Path (MSMP) process configuration, in order to customize
the process definitions.
Using this activity, you can generate BRFplus rule shells (flat or non-flat) and
Function Module (FM) Based Rule Shells that are compatible with MSMP
processes. In addition, you can test whether or not a provided BRFplus, FM, or
Class Based Rule is compatible with MSMP processes.
You can choose the following testing and generating options:
If you only want to generate the rule, then select the Generate Rule option
only.
If you only want to test the rule, then select one of the options in the Test
Rule section. The rule must already exist and be active.
If you want to generate and then immediately test the rule, select Generate
Rule and then select one or more of the options in the Test Rule section.
This selection is only possible for FM based rules, because they are generated
and activated immediately. BRFplus rules must be manually activated after
generation.
5
Define Workflow Related MSMP Rules
In the MSMP Process ID field, choose an MSMP process ID. Use the Search
function to choose the correct process (Example: Access Request Approval
Workflow or Mitigation Control Maintenance Workflow)
In the Rule Type field, select a rule type from the dropdown list. Available
choices are BRFplus Rule, ABAP Class Based Rule, BRFplus Flat Rule (Line
Item by Line Item) and Function Module (FM) Based Rule.
In the Rule Kind field, select a rule kind from the dropdown list:
Agents Rule determines Approvers/Recipients for Workflow;
Initiator Rule determines the Workflow Initiator to execute;
Routing Rule determines the Workflow Detour routing to execute;
Notification Variables Rule determines available notification variables to be
used in notification(s).
In the Rule ID field, enter the name of the rule. This can be user defined or
chosen from a search list.
In the Application/Function Group Name field, enter the name of the application
or function group that this rule should be associated with. This can be user
defined or chosen from a search list.
6
Define Workflow Related MSMP Rules
In the Generation of Options section, select the generation options:
Generate Rule
Generate Result Work-area (BRF+)
You can choose to enter text in the Override BRFplus Application and
Override BRF+ Function Text fields.
By default the application generates technical descriptions. You can
choose to provide your own text for a clearer
text description.
7
Define Workflow Related MSMP Rules
In the Test Rule section, select the test rule options. This can be executed at the
same time of rule generation for FM Rules, or can be executed for activated BRF
Rules:
Validate Rule Execution - This test checks for rule signature compatibility and
is the primary validation test. The other test options are provided for
additional testing.
Validate with Internal Structure - This test only performs validations at the
internal level. It skips the mapping classes that are used to perform the
internal to external conversion. If Validate Rule Execution fails, but
Validate with Internal Structure passes, it may indicate issues in the
mapping class.
Execute Rule with Empty Input - This test executes the rule and invokes the
rule logic.
Add Initial Line to Line Items - In certain scenarios, the rules apply to the
header structure only, and in others they apply to the header and the table
of the line items. To be able to check the line item scenarios, the test
generates one new empty line in the line item table. This ensures that the
table contains data when the rule is executed, and thus, implements the
internal loop on the line items.
After selecting Test Rule Click Execute
8
Define Workflow Related MSMP Rules
If all rule information in the Log Display screen appears with a green icon, you
may continue with this procedure.
Click the Return to Previous Screen icon (round, green icon with a white arrow
in the center of the icon, pointing to the left-side of the screen) in order to return
to the previous screen: Generate MSMP Rule for Process. This icon may be
found at the top of the screen and to the right of the SAP Command Box.
If any rule information in the Log Display screen appears with a yellow or red
icon, click the Return to Previous Screen Icon. This icon will return you to the
Generate MSMP Rule for Process screen. Correct any input errors and repeat
the process, as directed in the previous screens, until all of the Log Display
screen line items appear with a green icon.
9
Define Business Rule Framework
To begin the process of defining Business Rule Framework, go to your SAP
Back-End System and into the IMG. Follow one of the two methods to
open/access the BRFplus Workbench, as described on the above screen.
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
You should now be able to perform the actions listed above.
33
34