Use With this function module you can implement the calculation of the totalvolume of a measurement. The function module is also available as a reference function module forthe definition of the interface of the user exit category IHS_MJTVOL. Preconditions The user exit name MJ_TVOL must exist in Customizing for Basic Dataand Tools> and a function module must be assigned to it. To be able to calculate the total volume, you must have entered the flowand planned duration of a measurement method in Customizing forMeasurement Management> under Specify and Assign MeasuringDevice Types and Measurement Methods>.Features The data required to calculate the total volume is passed with therecord X_MJ_IOREC to the user exit. This data includes the actualduration of the measurement that can be entered on the interface and theflow that was entered in Customizing for a measurement method. The flowis not available via the interface, but can be determined fromCustomizing via the passed measurement method. The implementation of the user exit as supplied with the standard systemprovides the following functions: To calculate the total volume, the actual duration of the measurement inminutes is multiplied with the flow entered in Customizing for themeasurement method used. The units are converted accordingly beforemultiplication. The calculated total volume is converted to liters. The total volume is calculated only if the corresponding field on theinterface is initial. This means that if a value was entered or changedmanually, no calculation is performed. You can force a new calculation if you delete the content of theTotal Volume> field.Notes INCLUDE EHS_CBIH_USER_EXIT_HINT OBJECT DOKU ID TX |