Ansicht
Dokumentation

GRFNMW_DEV_RULES - Define Workflow-Related MSMP Rules

GRFNMW_DEV_RULES - Define Workflow-Related MSMP Rules

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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 Ruleoption only.
Note: You can choose to create BRFplus decision tables as part of the rule generation activity. When you select the Generate Rulecheckbox, the application displays the Generate Decision Table area, and checkboxes for Headerand Item.
  • If you only want to test the rule, then select one of the options in the Test Rulesection. The rule must already exist and be active.
  • If you want to generate and then immediately test the rule, select Generate Ruleand then select one or more of the options in the Test Rulesection. This selection is only possible for FM based rules, because they are generated and activated immediately. BRFplus rules must be manually activated after generation.

To define the workflow-related MSMP rules:

  1. In the MSMP Process IDfield, choose an MSMP process ID.
  2. In the Rule Typefield, select a rule type from the dropdown list.
  3. In the Rule Kindfield, select a rule kind from the dropdown list.
  4. In the Rule IDfield, select a rule kind from the dropdown list.
  5. In the Application/Func. Group Name field, select an application or function group name from the dropdownlist.
  6. In the Generation Options section, select the generation options.
  • Select only the Generate Ruleoption, 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 Rulecheckbox, the application displays the Generate Decision Table area, and checkboxes for Headerand Item.

  • If you only want to test the rule, then select one of the options in the Test Rulesection. The rule must already exist and be active.

  • If you want to generate and then immediately test the rule, select Generate Ruleand then select one or more of the options in the Test Rulesection. 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 Textfields. By default the application generates technical descriptions. You can choose to provide your own text.
  1. 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.

  1. Choose Execute.






CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 5777 Date: 20240523 Time: 200038     sap01-206 ( 106 ms )