Ansicht
Dokumentation

/FRE/FU_HIST_CALC_HIST_DATA - Artificial history: Calculate historical data for one reference module

/FRE/FU_HIST_CALC_HIST_DATA - Artificial history: Calculate historical data for one reference module

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

Functionality

In this function module, the assigned references for a reference module are analyzed and an artificial history is calculated from the reference values that remain after the analysis. The DIFs determined during the analysis and the artificial histories calculated are saved to the database.

If the artificial history is totally recalculated, all product/locations referring to the reference module are updated with field CONSINIT = X in order to start an initial transfer of time series to the F&R processor again.

The reference module header receives the current date in field LAST_TS as the current status.

The function module calls the following function modules one after the other:

  • /FRE/FU_HIST_HAND_OVER_INTERFACE_TABLES
  • /FRE/FU_HIST_FILTER_DATA_FOR_LISTING
  • /FRE/FU_HIST_FILTER_DATA_FOR_DIFS
  • /FRE/FU_HIST_CALC_WEIGHTED_AVERAGE
  • /FRE/FU_HIST_WRITE_TS
  • /FRE/FU_HIST_WRITE_DIF
  • /FRE/FU_HIST_MATLOC_FRP_UPDATE
  • /FRE/DB_REFMOD_POST

Example

Notes

Further information





Parameters

ES_EXCEPT
IS_REF_MODULE
IT_DIF_OCCUR
IT_EQUI_DIF_OCCUR
IT_EQUI_TIME_SERIES
IT_HIST_DIF_DELETE
IT_LISTING_DATA
IT_REF_ITEMS
IT_TIME_SERIES

Exceptions

/FRE/CX_DB_CHANGE_FAIL
CX_STATIC_CHECK

Function Group

/SAPLFU_HISTORY

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1757 Date: 20240426 Time: 160819     sap01-206 ( 33 ms )