Ansicht
Dokumentation

/SAPCE/IUUA_DISC_TIME - Ukraine: Get the disconnection time to calculate the losses for elements

/SAPCE/IUUA_DISC_TIME - Ukraine: Get the disconnection time to calculate the losses for elements

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Use this function module to calculate the time for which an installation was not connected (working).

If an installation has not been connected for a time period then the system should not calculate power loss for that period. The Get Disconnection Time for an Installation (/SAPCE/ISU_DISC_TIME_UA ) BAdI calls this function module to calculate the time for which an installation was not connected (working).

The function module calculates the time for which an installation was not connected based on the following parameters:

  • Working hours (A) - The system by default considers working hours as 00:00:00 to 24:00:00
  • Working days (B) - Number of working days in a time period. The system by default considers Monday to Saturday as working days.
  • Public holidays (C) - Number of holidays in the time period
  • Disconnection time (D) - Time period for which the installation was disconnected

Installation not connected time = A+B+C+D

Example

Consider that you have maintained the following values:

  • Working Days - Monday to Friday
  • Working Time - 09:00:00 to 18:00:00
  • Disconnection time - 09/03/2014 (07:00:00) to 11/03/2014 (22:00:00)

Now suppose the installation is disconnected from 09/03/2014 (07:00:00) to 11/03/2014 (22:00:00), then system will calculate not connected time as follows:

A= Days (Apart from working days with in a period) * 24 Hrs

B= Public Hoilidays (if any in between on the working days) * 24Hrs

C= Total number of Hrs in the working days which are not considered as working time

D= Disconnection time Hrs (Calculated using the total disconnection period which is overlapping with the actual working days and excluding public holidays)

Installation disconection time = A + B + C + D

Notes

Further information





Parameters

EV_DISC_TH
EV_DISC_TP
IT_DISC_OBJ_HIS
IV_FACTORY_CAL_ID
IV_FROM_DATE
IV_FROM_TIME
IV_TO_DATE
IV_TO_TIME
IV_WRK_DAY_FROM
IV_WRK_DAY_TO
IV_WRK_TIME_FROM
IV_WRK_TIME_TO

Exceptions

Function Group

CE/SAPLIUUA_LOSSES

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

Length: 2885 Date: 20240426 Time: 102206     sap01-206 ( 42 ms )