Programme SAP BRF_REPAIR - Repair of Dependent BRF Tables (TBRF200 and so on)

Purpose
You can use this report to create the contents of dependent tables ofthe Business Rule Framework (BRF) and therefore correct any existingerrors that may exist.

Prerequisites
You want to apply this report to an existing application class.

Selection

Section Basic Data
Enter the relevant application class.

Section Namespace
Specify the namespace (SAP namespace or customer namespace)

Section Selection
Specify which new BRF objects should be created. You have the followingoptions:

  • 0PM001: Pattern recognition

  • The system creates new expressions of expression type Truth Table(implementing class 0PM001).
    • 0RL001: Rules

    • The system creates the rules that are saved in the table TBRF210.
      Notes:
      With this selection, the above-mentioned namespace is of nosignificance, that is to say the rules are created in both the SAPnamespace and the customer namespace
      If you save your rules in your own table (in other words, not in tableTBRF210), you cannot create the rules anew. In this case, check whetherthe application provides an analogous report and execute this report.
      • 0RS001 Rule sets:

      • The system creates the rules in the rule sets that are saved in tableTBRF310.
        Notes:
        With this selection, the above-mentioned namespace is of nosignificance, that is to say the rules of the rule sets are created inboth the SAP namespace and the customer namespace.
        If you save your rules of the rule sets in your own table (in otherwords, not in table TBRF310), you cannot create the rules of the rulesets anew. In this case, check whether the application provides ananalogous report and execute this report.
        Deletion of orphaned entries:
        In the tables TBRF210, TBRF240 and TBRF310, the system deletes anyentries in which the corresponding event no longer exists.
        In the text tables TBRF110T, TBRF150T, TBRF170T, TBRF180T and TBRF280T,the system deletes any entries in which the corresponding BRF object nolonger exists.
        Caution: If you use this report to delete entries from tableTBRF310, you must start the report again to set up the dependent tableTBRF290 correctly again. The second time the report is run, set the flag0RS001 Rule Sets.
        • Expressions in expressions:

        • The system enhances the missing expression usages in TBRF200 and at thesame time transfers the entries of the obsolete table TBRF260 toTBRF200. The system deletes the entries in TBRF260 and also removes anyorphaned entries.
          • Adjust dependent tables:

          • The system saves those BRF objects for which message BRF263 "No errorsfound, but dependent tables will be changed" is output in the BRFoverall check. In this way, the system corrects the entries in thedependent tables. Message BRF263 is then no longer displayed.
            Note: In this selection, the above-mentioned namespace has norelevance, meaning that the system changes the BRF objects in both theSAP namespace and the customer namespace.
            Then specify whether the process should only be simulated, or whether itreally should be executed.
            In the Customizing client you then need to assign a suitable transportrequest.
            You can add other options during the course of product maintenance.

            Output
            The system displays a list of how many entries have been added, changed,or deleted, for each table.
            If you select the option Adjust Dependent Tables, the systemdisplays a list indicating which tables can be changed for which BRFobject.