SAP ABAP IMG Activity GRFNMW_DEV_RULES (Define Workflow-Related MSMP Rules)
Hierarchy
☛GRCFND_A (Software Component) GRC Foundation ABAP ⤷GRC-AC (Application Component) Access Control ⤷GRAC_UTILITIES (Package) Access Control GRC Various helping infrastructure for ABAP
Hypertext: Object Class - Class to which a document belongs.
Document Name
GRFNMW_DEV_RULES
Use
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, to alter 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 to this, 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.
Note: You can choose to create BRFplus decision tables as part of the rule generation activity. When you select the Generate Rule checkbox, the application displays the Generate Decision Table area, and checkboxes for Header and Item.
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.
Requirements
Standard settings
Activities
To define the workflow-related MSMP rules:
In the MSMP Process IDfield, choose an MSMP process ID.
In the Rule Typefield, select a rule type from the dropdown list.
In the Rule Kind field, select a rule kind from the dropdown list.
In the Rule ID field, select a rule kind from the dropdown list.
In the Application/Func. Group Name field, select an application or function group name from the dropdownlist.
In the Generation Options section, select the generation options.
Select only the Generate Rule option, if you want to generate only the rule. Note: You can choose to create BRFplus decision tables as part of the rule generation activity. When you select the Generate Rule checkbox, the application displays the Generate Decision Table area, and checkboxes for Header and Item.
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.
You can choose to enter text in the Override BRFplus Application and Function Text fields. By default the application generates technical descriptions. You can choose to provide your own text.
In the Test Rule section, select the test rule options.
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 internal validation 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 LineItems 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 the table contains data when the rule is executed, and thus implements the internal loop on the line items.