Show TOC

Procedure documentationConfiguring Rule Engine Parameters Locate this document in the navigation structure

Procedure

  1. Logging In

    Make sure that the SAP NetWeaver Application Server is running.

    1. Open the browser and enter the Application Server address followed by the port number.

      You should see the SAP NetWeaver Application Server Java page as shown below:

      This graphic is explained in the accompanying text.

    2. Choose the SAP NetWeaver Administrator icon.

    3. Enter the user ID and password in the User ID and Password fields. Choose Log On.

      You should see the SAP NetWeaver Administrator page.

  2. In the Welcome Administrator page, choose the Configuration Management tab.

  3. Under Configuration Management, choose the Infrastructure tab and choose Application Modules.

    You should see the Application Modules: Overview page as shown below:

    This graphic is explained in the accompanying text.

  4. In the Module List section, under the Name column, enter brms and press Enter.

  5. Under the Name column, choose com.sap.brms.ejb.jar as shown below:

  6. You need to update Environment Entries to control the business logs.

    Rule engine bean requires the following Environment Entries to decide how the beans function at runtime:

    • In the EJB Module Details section, choose the Environment and References tab and choose maxcachesize

      Note Note

      maxcachesize: Maximum cache size pertains to the maximum number of networks to be cached. Once the maximum cache size is reached, the least recently used (LRU) older network is removed from the cache to add the newly invoked ruleset network to the cache.

      When you select maxcachesize, the value in the Full Details section is set to 100 by default.

      End of the note.
    • In the EJB Module Details section, choose the Environment and References tab and choose refreshtime.

      Note Note

      refreshtime: The refreshtime environment variable determines the frequency at which the database should be polled to retrieve a modified ruleset. The default value has been set to 5 minutes but this can be configured to the required value.

      End of the note.
Information about Business Logging

There are four levels of logging for BRM:

  1. Log level 1 : No Logging: No information will be logged and business logs will not be generated.

  2. Log level 2 : Basic (Default): This is the default log level. At this log level, basic information will be logged. Example: project name, ruleset invoked, rule fired (Rete only), RuleFlow executed.

  3. Log level 3 : Medium: This level will log all the information provided at the basic level and the following:

    • Definition value changed

    • Business object details

    • Decision Table evaluation details

    • Rule/RuleScript/Gateway evaluation details

  4. Log level 4 : Advanced: This level will log all the information provided at the medium level and all other information that can be provided including:

    • Condition evaluation details

    • Action execution details

    • Rule Script/Gateway action execution information

Here is a relevant screenshot:

This graphic is explained in the accompanying text.