Ansicht
Dokumentation

/FRE/FU_HIST_FILTER_DIFS - Artificial history: Filter time series by DIF periods

/FRE/FU_HIST_FILTER_DIFS - Artificial history: Filter time series by DIF periods

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

In this function module, the references assigned to a reference module are analyzed and the DIF occurrences that apply to all references are collected in table ET_HIST_DIF_OCCURR.

All the reference values for the days in the recalculation period having a DIF occurrence of type 'Ignore' on the relevant days are removed from the internal table CT_INT_TIME_SERIES.

The other DIF occurrences are analyzed one by one (loop over table IT_DIF_OCCURR) to find out whether they apply to all remaining references.

  • If the DIF occurrence is valid for all references, it is entered in table ET_HIST_DIF_OCCURR.
  • If the DIF occurrence is only valid for certain references, the entries in table CT_INT_TIME_SERIES are given a DIF indicator for all days within the validity of the DIF occurrence.

Next, all entries that have a DIF indicator are deleted from table CT_INT_TIME_SERIES (loop over table CT_INT_TIME_SERIES).

The DIFs for the equivalent reference module are transferred from table IT_EQUI_DIF_OCCURR into table ET_HIST_DIF_OCCURR with the current reference module number.

Example

Notes

Further information





Parameters

CT_INT_TIME_SERIES
ET_HIST_DIF_OCCUR
IS_REF_MODULE
IT_DIF_OCCUR
IT_EQUI_DIF_OCCUR
IT_REF_ITEMS

Exceptions

CX_STATIC_CHECK

Function Group

/SAPLFU_HISTORY

BAL_S_LOG - Application Log: Log header data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1616 Date: 20240328 Time: 202835     sap01-206 ( 31 ms )