Ansicht
Dokumentation
FMCA_BRF_GENERATE_XML_REQUEST - Generate Expressions for Form Fields
ABAP Short Reference PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Purpose
You can use this program to generate expressions for form fields. This enables you to further process these fields using the Business Rules Framework (BRF).
Integration
Prerequisites
You have created an application class in the BRF using your implementing class in which runtime class CL_FMCA_XML_REQUEST_BRF is defined. If you are using application class TRM_TEMPLATE_FORM as the basis of your application class, you can use implementing class 0TRMRX001.
Features
Enter the name of the application class and if necessary the name of the group in which the expressions should be created. Enter the scenario and if necessary the version of your form.
The screen that appears displays all form fields although the different views are not included. By default the program proposes the name of the form field without the prefix as the expression name for the view. The program derives proposals for the result category, length, number of decimal places, and short text of the expression in the BRF from the data element that you defined for the field name as dictionary reference. All default values can be changed.
You can save the data so that they are displayed the next time the program is started for the same application class and the same form data. If you choose generate, the program creates all expressions in the selected application class and the corresponding implementing class. In the simulation run it only checks whether all expressions have been created without errors.
Activities
Note that the expression name in the BRF can only be a maximum of 20 characters. If the name of the form field is longer than 20, the last characters are cut off when the expression name is proposed. This can cause the same expression names to be proposed for different fields. If this is the case, change the proposed name.
If you have defined a checkbox on your form for which a character-type data element is defined as dictionary reference, it is advisable to change the result category in BRF to B (Boole).
Example
CL_GUI_FRONTEND_SERVICES - Frontend Services TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2340 Date: 20240520 Time: 091617 sap01-206 ( 60 ms )