Ansicht
Dokumentation

/FRE/FU_DIF_OCC_OVRLP_RESOLVE - Resolves overlapping DIF Occurrences

/FRE/FU_DIF_OCC_OVRLP_RESOLVE - Resolves overlapping DIF Occurrences

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function combines overlapping DIF Occurrences into one DIF Occurrence with a unique value for the overlapping period of time. The function is required for FRP outbound processing, displaying DIF data in the user interface, and the check report for overlapping occurrences.

All imported occurrences are assumed to be valid for the same location or location/product.

The main purpose of the function is to obtain unique values for the correct periods of time for a DIF. The occurrence number and other occurrence attributes are copied from one of the overlapping occurrences, so it is not possible to see from the result which actual DIF Occurrences were merged into one for an overlapping period of time.

Features:

  • The function can be called with a list of occurrences of the same DIF that have already been checked for overlaps outside of the function (that is, the resolution itself is done within the function) or a list of DIF Occurrences belonging to different DIFs that have not yet been checked for overlaps (the function builds packets of overlapping occurrences sorted by DIF and validity period).
  • Different check modes are supported.
  • Option to set the validity period of the occurrences to a given start and end time. This can be done globally or by DIF. The finest available level is taken.
  • A start time and end time can be passed to the function. All occurrences beginning before the start time are set to begin at the start time and all occurrences ending after the end time are set to end at the end time.
  • The function allows you to create F&R exceptions for overlapping occurrences (only for DIF types 'Boolean', 'Value', 'Metric', 'Correction Factor' and 'Ignore'). For the creation of F&R exceptions, location and product ID (depending on assignment level) must be provided by the caller.
  • The function allows you to suppress the creation of overlapping exceptions for Metric DIFs. This is because they have no validity end date and therefore they always overlap.
  • Customer-specific handling of overlaps is possible via BAdI.

Example

Notes

Further information





Parameters

ET_DIF_OCCURR
ET_DIF_OCC_OVERLAP
IT_DIFID_TIME
IT_DIF_OCCURR
I_CHECK_MODE
I_CREATE_EXCEPTIONS
I_CREATE_METRIC_EXCEPTIONS
I_EXC_LOCID
I_EXC_MATID
I_TIME_FROM
I_TIME_TO

Exceptions

/FRE/CX_FU
/FRE/CX_FU_DIF_DEF_ER
/FRE/CX_FU_WRONG_PARAM
CX_STATIC_CHECK

Function Group

/SAPLFU_DIF_SERVICE

Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3026 Date: 20240420 Time: 101047     sap01-206 ( 61 ms )