Tuesday 29 October 2013

How to create a transportable BRF+ flat initiator rule for MSMP in GRC 10.0

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.


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


The  button "Activate" needs to be clicked:  .
 

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.

Same with initial attributes for the decision table as e.g. “Business Process”:
 

Finally the generation is to be started via “F8”.
The log should reflect the previous input.
 
Step 5 - Creation of a decision table:
Back to transaction BRF+.
 
In case the decision table is not yet generated a click on “Top Expression” and
Create” needs to be performed.
 
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”.


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.

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