/FRE/FU_HIST_CALC_CONSIDER_PER - Calculate consideration period for artificial history

Addresses (Business Address Services)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Functionality

In this function module, the analysis period of the artificial history is calculated and the time periodfor which the artificial history is to be created is determined. To do this, the forecast profiles forthe individual references are read from the table of location products and analyzed using function module/FRE/DB_MATLOC_READ. The forecast profiles themselves are read by function module /FRE/DB_PROFCST_READ.The information as to which forecast profile is assigned to the individual references is returned tothe caller by interface table CT_REF_ITEMS and the forecast profile itself is returned by interfacetable ET_PRFCST. The start of the analysis period, the start of the recalculation period, and the mostrecent equivalent reference module are returned in the interface structure CS_REF_MODULE. If there isno equivalent reference module that can be used, the beginning of the recalculation period is set to the beginning of the analysis period.

If errors occur inside the module, F&R exceptions are generated.

Example

Notes

Further information


Parameters

CS_REF_MODULE
CT_REF_ITEMS
ES_EXCEPT
ET_PRFCST
I_BUILD_UP_DATE

Exceptions

/FRE/CX_DB_NO_ENTRIES_FOUND
CX_STATIC_CHECK

Function Group

/SAPLFU_HISTORY

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


Length: 1398 Date: 20120524 Time: 133545     triton ( 107 ms )