Show TOC

Function documentationLegacy: Rule Script Locate this document in the navigation structure

 

The rule script is the key link between a rule, the ERP system, and the associated rule criteria. The rule script maps to the program that executes in the ERP system when you run a rule to test or monitor a control. The rule script uses the rule criteria to determine the data to be extracted from the ERP system.

The following figure illustrates this relationship:

This graphic is explained in the accompanying text.

Features

The rule script features enable you to do the following:

  • Create new rules, called configurable rules, by browsing for a table, or a view in the backend system. Then specify your deficiencies based on the fields in the backend tables or views.

  • Specify the following analysis types for the configurable rules:

    • Change Check

      This type of analysis monitors changes to configuration and master data by automatically reconstructing change history from the change logs.

    • Value Check

      This type of analysis monitors the value of specified objects.

  • For the output report, choose the:

    • Fields

    • Sequence of the fields

  • Create a new rule by browsing for an SAP Query and importing its definition. Use the definition to specify a deficiency condition

  • Create a new rule by browsing an SAP report.

  • Create ABAP plug-ins in the SAP backend system by using a structured framework code.

    The framework allows you to create input and output structures that define filter, deficiency, and output report columns based on the business requirement. Once you develop the structures, you can create a new control by browsing for this program from the backend system. These controls are called programmed controls and they can be further divided based on the type of analysis that the program performs.

  • Restrict the output report to authorized users.

  • Create and edit rule scripts and rules in a uniform and structured way within the process control application.

  • Integrate with external programs such as SAP Business Warehouse (BW) solutions, SAP Access Control, or plug-ins.

A rule script can employ one of the following data extraction vehicles:

  • A table or a database view

  • An ABAP program

  • SAP standard reports

  • Custom scripts

  • An SAP query

  • An SAP Access Control report

The rule scripts for the Process Control 3.0 delivered rules are maintained by the system. You only create rule scripts if you choose to create custom rules.

More Information

Creating rule scripts

Rule script types

SAP Note 1329589 — Automated Rules Framework