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

ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Functionality

In this function module, the assigned references for a reference module are analyzed and an artificialhistory 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 referencemodule 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   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.


Length: 1629 Date: 20120524 Time: 133839     triton ( 59 ms )