Hierarchy

⤷

⤷

IMG Activity
ID | RMS_FRML_DATA_CONV | BAdI: Conversion of Formula Data to EH&S Data |
Transaction Code | S_XBK_47000026 | (empty) |
Created on | 20030812 | |
Customizing Attributes | RMS_FRML_DATA_CONV | BAdI: Conversion of Formula Data to EH&S Data |
Customizing Activity | RMS_FRML_DATA_CONV | BAdI: Conversion of Formula Data to EH&S Data |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | FRML_CALC_DATA_CONV |
Use
This Business Add-In (BAdI) is used in the Recipe Management (PLM-RM) component.
In specification management in the Environment, Health and Safety (EH&S) component, you can enter compositions of specifications with an accuracy of four decimal places. In formulas in Recipe Management, higher levels of accuracy are possible. This means there can be a loss of accuracy when formula data is transferred to specifications.
You use this BAdI to convert nutrient values and compositions with floating point accuracy to values with four decimal places, before the data is transferred to the specification for the primary output of a formula.
Standard settings
The default implementation CL_DEF_IM_FRML_CALC_DATA_CONV is supplied with the system that carries out the following actions:
- It checks whether a field overflow occurred.
- It checks whether the tolerance value was exceeded. For more information about the tolerance value, see the documentation for the function module UNIT_QUANTITY_SWITCH.
If a field overflow occurs or the tolerance value is exceeded, the function module UNIT_QUANTITY_SWITCH is called. This converts the existing value to another unit so that the field overflow or exceeding of the tolerance value no longer occurs.
The tolerance value is set to 1000 in the constructor for the class. If you want to change this value, create your own implementation and change the value.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
See also
Method
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030812 |
SAP Release Created in | 220 |