Where-Used List
Use
Where-Used List in BRF Tables
The BRF can execute a where-used list for the BRF objects Expression and Action in the tables of the BRF. The main tables involved are:
-
TBRF200 (Expression in Expression)
-
TBRF240 (Expression in Event, Action in Event)
-
TBRF259 (Expression in Action)
-
TBRF290 (Expression in Rule Set, Action in Rule Set)
The where-used list always works in these tables.
Where-Used List in Application Tables
To be able to execute a where-used list of the BRF objects Expression and Action in application tables as well, you must ensure the following:
-
The application searches in the application tables to see if they contain BRF objects.
-
The application returns any hits that are found to the BRF.
Proceed as follows:
-
Implement the WHERE_USED method of interface IF_APPLCLASS_SERVICES_BRF in a class.
The WHERE_USED method must provide the following information:
-
Table with the usages
-
Field catalog to display the results in an ALV tree control
-
Table with sort criteria
-
-
Store the class of the WHERE_USED method on the maintenance screen of the application class.
Proceed as follows:
-
Double-click to select the application class in the navigation tree of the BRF.
-
Enter the class in the Details section in the General Services field.
-
In the same section, set the Where-Used List Implemented indicator.
-
If you now call the where-used list in the BRF (see Where-Used List for an Expression or Action), the BRF also considers the tables of the application.