How to create a transportable BRF+ flat initiator rule for MSMP in GRC 10.0
Source: http://www.mariewagener.de/Notes.January.2012
How to create a transportable BRF+flat initiator rule for MSMP in GRC
10.0
The BRF (Business Rule Framework)+ is a strong tool when it comes to the
definition of ABAP rules to reflect business scenarios.
In the GRC 10.0 MSMP (Multi-Stage Multi-Path) workflow a business rule
can be utilized for different purposes as in the following example where we want to create a transportable initiator rule.
Step 1 -Creation of a development package:The transaction SE21 is to be called and a desired name for the new package
to be entered. The development package is to be associated with a transport layer.
The creation results in a workbench request.
The software component is GRCFND_A.
![](http://www.mariewagener.de/files/Image/SE21.jpg)
Step 2- Creation of an application:In transaction BRF+ the path --> Workbench --> Create Application is to be selected.
The desired name needs to be entered, and a link of the application to the respective "Development Package” needs to be established.
![](http://www.mariewagener.de/files/Image/Application.jpg)
After clicking on „Create And Navigate To Object“ a prompt for a transport request will appear.
Step 3 - Activation of an application:
After creation the application is inactive. The application needs to be activated
for utilization.
![](http://www.mariewagener.de/files/Image/Application_activation.jpg)
The button "Activate" needs to be clicked: .
![](http://www.mariewagener.de/files/Image/Activated.jpg)
Step 4 - Generate MSMP Rule for process:
In transaction GRFNMW_DEV_RULES the relevant MSMP process ID
(here SAP_GRAC_ACCESS_REQUEST) can be selected.
Same with rule type BRFplus Flat Rule (Line item by line item), and rule kind
Initiator Rule.
The entered Rule ID name should be self-explanatory, and the name of the
application that was previously created needs to be added.
![](http://www.mariewagener.de/files/Image/Generate_Rule.jpg)
Same with initial attributes for the decision table as e.g. “Business Process”:
![](http://www.mariewagener.de/files/Image/Header_rule.jpg)
Finally the generation is to be started via “F8”.
The log should reflect the previous input.
![](http://www.mariewagener.de/files/Image/Log_Rule.jpg)
Step 5 - Creation of a decision table:
Back to transaction BRF+.
![](http://www.mariewagener.de/files/Image/BRF.jpg)
In case the decision table is not yet generated a click on “Top Expression” and
“Create” needs to be performed.
![](http://www.mariewagener.de/files/Image/Decision_table.jpg)
There the appropriate Type is to be selected and the desired naming information
to be added.
The step is to be accomplished via a click on “Create And Navigate To Object”.
![](http://www.mariewagener.de/files/Image/Rule_table_setting.jpg)
The “Result Data Object” requires double-check, and the mandatory
“Result Columns” for this particular rule need to be inserted, as well as the
“Condition columns” for the business scenario.
Step 6 - Finalize business rule:
In a last step the desired rule and result scenario need to be maintained, and
the function to be activated.
![](http://www.mariewagener.de/files/Image/Business_rule.jpg)
Finally the rule id is to be associated to the MSMP process id.
Note!Make sure that for every result a corresponding path is considered in MSMP.
The BRF (Business Rule Framework)+ is a strong tool when it comes to the
definition of ABAP rules to reflect business scenarios.
In the GRC 10.0 MSMP (Multi-Stage Multi-Path) workflow a business rule
can be utilized for different purposes as in the following example where we want to create a transportable initiator rule.
Step 1 -Creation of a development package:The transaction SE21 is to be called and a desired name for the new package
to be entered. The development package is to be associated with a transport layer.
The creation results in a workbench request.
The software component is GRCFND_A.
![](http://www.mariewagener.de/files/Image/SE21.jpg)
Step 2- Creation of an application:In transaction BRF+ the path --> Workbench --> Create Application is to be selected.
The desired name needs to be entered, and a link of the application to the respective "Development Package” needs to be established.
![](http://www.mariewagener.de/files/Image/Application.jpg)
After clicking on „Create And Navigate To Object“ a prompt for a transport request will appear.
Step 3 - Activation of an application:
After creation the application is inactive. The application needs to be activated
for utilization.
![](http://www.mariewagener.de/files/Image/Application_activation.jpg)
The button "Activate" needs to be clicked: .
![](http://www.mariewagener.de/files/Image/Activated.jpg)
Step 4 - Generate MSMP Rule for process:
In transaction GRFNMW_DEV_RULES the relevant MSMP process ID
(here SAP_GRAC_ACCESS_REQUEST) can be selected.
Same with rule type BRFplus Flat Rule (Line item by line item), and rule kind
Initiator Rule.
The entered Rule ID name should be self-explanatory, and the name of the
application that was previously created needs to be added.
![](http://www.mariewagener.de/files/Image/Generate_Rule.jpg)
Same with initial attributes for the decision table as e.g. “Business Process”:
![](http://www.mariewagener.de/files/Image/Header_rule.jpg)
Finally the generation is to be started via “F8”.
The log should reflect the previous input.
![](http://www.mariewagener.de/files/Image/Log_Rule.jpg)
Step 5 - Creation of a decision table:
Back to transaction BRF+.
![](http://www.mariewagener.de/files/Image/BRF.jpg)
In case the decision table is not yet generated a click on “Top Expression” and
“Create” needs to be performed.
![](http://www.mariewagener.de/files/Image/Decision_table.jpg)
There the appropriate Type is to be selected and the desired naming information
to be added.
The step is to be accomplished via a click on “Create And Navigate To Object”.
![](http://www.mariewagener.de/files/Image/Rule_table_setting.jpg)
The “Result Data Object” requires double-check, and the mandatory
“Result Columns” for this particular rule need to be inserted, as well as the
“Condition columns” for the business scenario.
Step 6 - Finalize business rule:
In a last step the desired rule and result scenario need to be maintained, and
the function to be activated.
![](http://www.mariewagener.de/files/Image/Business_rule.jpg)
Finally the rule id is to be associated to the MSMP process id.
Note!Make sure that for every result a corresponding path is considered in MSMP.
No comments:
Post a Comment