BRF Log
Use
All rules-based actions executed for a business transaction are stored in the log of the Business Rule Framework (BRF). The BRF log is available as an additional tab page in a business transaction at header or item level. You can use it to find out which BRF events, actions, and expressions have been processed for a business transaction.
Prerequisites
You have made the following settings in Customizing for Customer Relationship Management in the application you use under
-
You have set the indicator Log Active for your required event.
-
You have assigned the controller class CL_CRM_CONTROLLER_BRF to your required event.
-
For the application class in field Runtime Mode, you have chosen the option “Interpreter Mode incl. Trace Functionality“. You then always get all information for printing in the log.
-
You have used the following implementing classes when creating events, rules, and rule sets:
-
Event: 0CRM_EVENT CRM
-
Rules: 0CRM_RULES CRM
-
Rule sets: 0CRM_RULESET CRM
-
-
You have used the following implementing classes when creating expressions:
-
0CRM3O001
-
0CRMAO001
-
0CRM_TAG_EXP
-
0CRMRE001
-
0CRMCE001
-
0CRMCF001
-
0CRMCN001
-
0CRMDI001
-
0CRMFB001
-
0CRMFR001
-
0CRM3PM001
-
0CRMRV001
-
0CRMSM001
-
0CRMTB001
Alternatively, you have specified customer-specific implementing classes that fulfill the following prerequisites:
-
You have redefined the following methods:
-
PROCESS_BEGIN
-
PROCESS_SPECIFIC
-
PROCESS_END
-
TOUCH
-
-
You have implemented the calls for updating the log with class CL_CRM_BRF_LOG.
-
Features
The BRF log is available at header or item level of the business transaction depending on the assignment of the BRF event. The log is displayed as an ALV grid control, and you can change the layout if required. The BRF log provides the following functions:
-
Display processed CRM events with their related actions and expressions and the corresponding results. Since the history is not displayed, you can only see the last execution of the event (for example a change to the transaction header).
-
Switch between the overview and detailed display. You can choose whether you want to display the expressions.
-
Switch between the display of the technical names and short descriptions of BRF objects.
-
If you have activated cross-item processing for an event, the BRF log is always displayed at header level of the transaction irrespective of the assignment of the event.
-
There is no differentiation between expressions and gate expressionsin the BRF log display.
-
The authorization object in User Management that provides authorization to use the BRF log is CRM_BRF_RT.
-
You can use a Customizing include to add your own fields to the BRF log.
Restrictions
When using the BRF log, note the following restrictions:
-
The data from the BRF log is not saved with the business transaction. For this reason it is not possible to archive the log.
-
The BRF log does not support versioning of BRF events, actions, and expressions.
-
Rules that are part of a rule setare executed, and the release expression of the rule set is also checked and logged. However, you do not see in the BRF log that the rules are from a rule set.
-
Information about the time dependency of rules is not displayed in the BRF log.

