Ansicht
Dokumentation

CBIH_LB62_UE_MJ_TVOL_CALC - EHS: User Exit - Calculation of Total Volume of a Measurement

CBIH_LB62_UE_MJ_TVOL_CALC - EHS: User Exit - Calculation of Total Volume of a Measurement

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Use

With this function module you can implement the calculation of the total volume of a measurement.

The function module is also available as a reference function module for the definition of the interface of the user exit category IHS_MJTVOL.

Requirements

The user exit name MJ_TVOL must exist in Customizing for Basic Data and Tools and a function module must be assigned to it.

To be able to calculate the total volume, you must have entered the flow and planned duration of a measurement method in Customizing for Measurement Management under Specify and Assign Measuring Device Types and Measurement Methods.

Features

The data required to calculate the total volume is passed with the record X_MJ_IOREC to the user exit. This data includes the actual duration of the measurement that can be entered on the interface and the flow that was entered in Customizing for a measurement method. The flow is not available via the interface, but can be determined from Customizing via the passed measurement method.

The implementation of the user exit as supplied with the standard system provides the following functions:

To calculate the total volume, the actual duration of the measurement in minutes is multiplied with the flow entered in Customizing for the measurement method used. The units are converted accordingly before multiplication. The calculated total volume is converted to liters.

The total volume is calculated only if the corresponding field on the interface is initial. This means that if a value was entered or changed manually, no calculation is performed.

You can force a new calculation if you delete the content of the Total Volume field.

Example

Notes

Further information





Parameters

E_FLG_ERROR
I_FLG_WITH_MESSAGE
X_MJ_IOREC

Exceptions

Function Group

CBIH_LB62

TXBHW - Original Tax Base Amount in Local Currency   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2208 Date: 20240523 Time: 091038     sap01-206 ( 50 ms )