
There are TRM specific tools and configuration for BRFplus. Detail can be refers to IMG path: Financial Accounting → Contract Accounts Receivable and Payable → Business Transactions → Public Sector Tax Assessment → BRFplus.
Form Bundle

Note
You use the BRFplus Integration Manager for Form Bundle to make data of a form bundle available for processing in the BRFplus rules engine. After you have generated the objects, the system makes them available in the BRFplus Workbench.
Within the BRFplus workbench, you have the capability to create BRFplus applications, functions, and other objects. For efficient management, TRM offers the BRFplus Manager tool, simplifying the creation and updates of BRFplus applications, functions, and data objects for TRM application. Certain BRFplus objects, like data objects linked to Internal Service Request (ISR) scenarios, must be generated using this tool to enable the use of TRM Action Table Forms.
To access BRFPlus Manager, follow the IMG path: Financial Accounting → Contract Accounts Receivable and Payable → Business Transactions → Public Sector Tax Assessment → BRFplus → Define BRFplus Objects for Form Bundles. Alternatively, you can directly call transaction code BRFPLUS_MANAGER.
The creation of BRFplus objects via BRFplus Manager involves the following steps:
- BRFplus Application Creation: Start by creating a BRFplus application. Depending on the ISR scenario associated with a form bundle you intend to process using the BRFplus rules engine, you'll create Data Objects, Functions, or Expressions.
- Data Object Creation: If you need ISR scenario data or SAP data objects from the form bundle to be accessible in BRFplus, select the Data Object option.
- To create a data object for ISR scenario data, click the ISR Scenario push button. If your system permits filing multiple forms of the same type, consider the Table Data Object option. This is useful, for instance, if a business partner rents multiple apartments and files separate tax forms for each. For a comprehensive list of available fields in the ISR scenario, use the Object List push button.
To create a data object for data dictionary objects available for the form bundle, choose the SAP Data Object pushbutton. To enable the processing of form bundles within the BRFplus rules engine, define a processing rule in the form bundle type configuration. In this step, assign the BRFplus application and BRFplus function that you've created in the current configuration activity. SAP delivers the following SAP Data Objects:
- INTERACTION: A prerequisite for the business partner duplicate action, used in conjunction with the Tax Officer Work Center (also known as the Tax Officer Cockpit).
- FPF_HISTORY: Necessary if you want to make transaction history data available in BRFplus.
- FPF_MEMBER: Stores the relationship between contract objects, contract accounts, business partners, and tax returns. Useful for consolidated registration or joint filing.
- FORM_HEADER
- BRFplus Function Creation: To create a BRFplus function, choose the Function push button. When creating a function, the system will automatically assign the following objects to the function signature in the BRFplus workbench: SYS_FORM_BUNDLE_HEADER, SYS_CONTROL, SYS_MESSAGE.
When specifying amount fields in the ISR scenario configuration, the system must determine a currency for populating the currency field. In the default implementation, the system uses event P361 to derive the currency, which is returned as US Dollars.
Object-Based Tax

To access BRFPlus Manager for Object-Based Tax, navigate through the IMG path: Financial Accounting -> Contract Accounts Receivable and Payable -> Business Transactions -> Public Sector Tax Assessment -> BRFplus -> Define BRFplus Objects for Object-based Tax. Alternatively, you can directly call transaction code BRFPLUS_MANAGER_OBT.
This program serves as a tool for generating applications and functions within the BRFplus rules engine. These applications and functions are essential for defining business rules pertaining to tax object billing. Once you've generated the necessary BRFplus objects, you'll proceed to implement the corresponding rules directly within the BRFplus workbench.
For contract objects, facts are conveyed to the context parameter FACTS_T within the generated BRFplus function. Additionally, you have the option to choose specific facts types and fact categories associated with a particular contract object type to optimize their transfer to the BRFplus function. This transformation can be customized to include only the relevant fact types and categories aligned with your business rules. The transformed facts are then delivered to the context parameter FACTS_TRANS_T in the generated function.

BRFplus offers a range of predefined expression types, including decision tables, search trees, and formulas. In addition to these, SAP provides action types tailored for Tax and Revenue Management to automate tasks like tax return validation and calculation. Moreover, you have the flexibility to create your own action or expression types, expanding BRFplus functionality with features not covered by SAP's delivered action types. This customization is carried out within the BRFplus workbench, where all action types, including those created by SAP and your own, are conveniently accessible via the context menu.
The design principles pertaining to TRM actions can be summarized as follows:
- Focus on Flexibility and Extensibility:
- You have the ability to define the execution sequence of actions using the BRFplus Workbench, with actions executing during BRFplus runtime.
- It's possible to include actions that rely on custom coding for added flexibility.
- Ensure that all available fields in the objects' methods are accessible.
- Focus on Usability:
- Fields and parameters can be tailored to user needs, with options to hide them through configuration and switch between simple and expert modes.
- Renaming fields and adjusting their sequence is supported.
- Fields and parameters can be designated as mandatory.
- Support for individual table line assignments is provided, particularly useful for table parameters.
- Strive for a Business Object Orientation:
- Actions are designed to cater to both updates and creations for each business object.
- Many actions require multiple exporting parameters to fulfill their purpose, simplifying complex processes.
- Some actions, although eligible to become expressions, are designed as actions to maintain simplicity.
- Enable Lean Trace:
Incorporate Lean Trace into your design. It allows logging of rules executed in BRFplus for each individual form bundle, minimizing performance impact.
You can change the TRM action delivered by SAP, you have the flexibility to make changes in three key areas: general settings, parameter settings, and field settings.
- General Static Method Settings:
To associate custom documentation with an SAP-delivered expression type, you need to override the documentation object's name provided by SAP. This can be accomplished within the Static Method Settings folder.
- Parameter Settings:
- Visibility: You can modify visibility settings for parameters within the method. For instance, you can change a field from being invisible to being visible in both simple and expert modes. It's important to note that the BRFplus workbench offers two distinct UI modes: "Simple mode" for business users and "Expert mode" for business experts or developers.
- Mandatory: When a parameter is designated as mandatory, the system will raise an error if the user fails to assign a value while configuring an action or expression in the BRFplus workbench. This prevents activation until all mandatory parameters are defined.
- Show and Show with Details: These options control how parameters are displayed in the BRFplus workbench. If neither option is selected, the user can edit this parameter after clicking the "Add Parameter" button.
- Description: To display alternative text instead of the description from the DDIC data element, structure, or table linked to the parameter, you can input your custom description.
- Field Settings:
Field settings apply solely to structure or table parameters and are not relevant for parameters linked to data elements. This is because, for single-field parameters, the parameter settings match the field settings. Additionally, field settings customization is available exclusively for importing parameters.
To define new TRM actions or update existing ones, follow the IMG path: Financial Accounting → Contract Accounts Receivable and Payable → Business Transactions → Public Sector Tax Assessment → BRFplus → Define Parameters for Static Methods of BRFplus.
Creating your expression types involves the following steps:
- Generate a class and method (using transaction code SE24) that inherits from class CL_FMCA_BRFP_FPF_PROCESS.
- In the BRFplus workbench, create a new action or expression type. For new action types, check the Action Type checkbox and specify class CL_FMCA_ACTN_STATIC_METHOD, interface IF_FDT_ACTN_STATIC_METHOD, and UI class CL_FMCA_STATIC_METHOD_UI. For new expression types, follow the same process without selecting the Action Type checkbox, and specify class CL_FMCA_STATIC_METHOD, interface F_FDT_STATIC_METHOD, and UI class CL_FMCA_STATIC_METHOD_UI.
- Associate your method and class with your expression or action type in the Assign Default Method to Expression/Action Type.
- Optionally, define parameters for your BRFplus Static Methods. General settings, parameter settings, and field settings can be customized in the current Customizing activity. These settings will be visible in the BRFplus workbench when users maintain the respective action type.
- Optionally, assign documentation to your action or expression type by creating a general text and linking it to the method. This documentation can be accessed in the BRFplus workbench under the General area by selecting "Show More" and then choosing the Documentation tab.
- The system automatically establishes default values for the method parameters.



















