Architecture of the BRF at Runtime

Use

The runtime environment of the BRF is a framework that is realized in ABAP-OO (ABAP Object-Oriented).

Integration of a Class via an Interface

Before a class can participate in the BRF at runtime, you must implement an interface.

You can implement this interface in one of the following ways:

  • Directly

    However, this usually means extensive implementation effort.

  • Indirectly

    Derive the interface from a suitable basis class.

    'Suitable' means that you can derive the interface as follows:

    • for an event - from an event base class

    • for an expression - from an expression base class

    • for an action - from an action base class

    • for a context from a context base class

      Note the following:

      • Each BRF runtime class implements the interface IF_RULE_COMPONENT_BRF.

      • In addition, events implement the interface IF_EVENT_BRF, expressions the interface IF_EXPRESSION_BRF, and (concrete) actions the interface IF_ACTION_BRF.

      • The relevant basis classes CL_EVENT_BASE_BRF, CL_EXPRESSION_BASE_BRF, CL_ACTION_BASE_BRF and CL_EVENT_CONTEXT_BASE_BRF implement the relevant interfaces.

Software Layers of Object and Database

A complete division of the software layers object and database has not been realized.

For more information, see Database Access via Class CL_DB_BRF.

Packages

All BRF development objects are in package BRF and its sub packages.