Ansicht
Dokumentation

/FRE/FU_FRP_SAFOUT_DIF_PREDINP - Get Predictors for SAF synchronization

/FRE/FU_FRP_SAFOUT_DIF_PREDINP - Get Predictors for SAF synchronization

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Returns all FRP-relevant DIF Occurrence data with location and product, which must be mapped to SAF predictors for a given time horizon and for one location and a set of products.

Features:

  • Packet Processing for products: To reduce memory consumption, processing of the set of products passed to the function can be split up into several sequential packets of a defined number of products. The resulting list of single packets is collected and returned to the caller.
  • Range or single product access: The database access for a set of products is faster when selecting with a range of products (BETWEEN <first_product> AND ) instead of selecting with all individual product numbers in a loop (FOR ALL ENTRIES IN access is not possible due to too many other selection conditions). You can determine whether the access for all products (within a packet) is done via range or via single object access. Choose range access if all products of a location are requested in one call or the function is called with packets of sorted product IDs (that is, the packets are not overlapping with regard to the sorting sequence of product IDs).
  • For range access, products that have been selected but are not part of the requested set are can be filtered out before further processing. This may avoid unnecessary data load in the synchronization if many products are not relevant for replenishment but have DIF assignments.
  • Delta handling: The function supports delta handling on location level. The inport parameter can control whether or not the requested time interval is internally restricted by existing delta records.
  • Initial data load: If an initial data load is required, use the import parameter to switch off the relevant past horizon for changes of the DIF definition.
NOTE: In case of initial data load, the delta handling can be switched off as well.
  • Reference handling: DIF data of the consumption reference is copied to a location/product that has a consumption reference assigned in master data. The valid-to date and multiplier of the consumption reference are taken into account. Initial load for single location/products is possible if there was a change in the consumption reference.

Example

Notes

Further information





Parameters

ET_PREDICT
IT_MATLOCID
IT_MATLOCID_REF
I_ALL
I_BYPASS_BUFFER
I_DELTA_HANDLING
I_LOCID
I_ONLY_REFERENCE
I_ONLY_REQUESTED
I_PACKET_SIZE
I_PAST_HORIZON
I_PLANTP
I_RANGE_ACCESS
I_REFRESH_BUFFER
I_TIME_FROM
I_TIME_TO

Exceptions

/FRE/CX_DB_DIF_READ_DELTA_ERRO
/FRE/CX_FU
/FRE/CX_FU_DIF_ASS_GEN_RESOLV
/FRE/CX_FU_DIF_CONFIG_ERROR
/FRE/CX_FU_DIF_DEF_ER
/FRE/CX_FU_DIF_EXTDATARESOL_ER
/FRE/CX_FU_DIF_RESOLV_OVERL_ER
/FRE/CX_FU_DIF_RESOLV_RECUR_ER
/FRE/CX_FU_DIF_SAFOUT_PREDINP
/FRE/CX_FU_DIF_VIEW_ERROR
/FRE/CX_FU_WRONG_PARAM
CX_STATIC_CHECK

Function Group

/SAPLFU_FRP_SAFOUT_DIF

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

Length: 3535 Date: 20240425 Time: 071203     sap01-206 ( 81 ms )