SAP Forecasting and Replenishment for Retail, add-on for ... · PDF fileAdministration Guide...

44
Administration Guide Document Version: 1.2 – Released to Customer Date: January 24, 2017 PUBLIC SAP Forecasting and Replenishment for Retail, add-on for fresh products

Transcript of SAP Forecasting and Replenishment for Retail, add-on for ... · PDF fileAdministration Guide...

Administration Guide

Document Version: 1.2 – Released to CustomerDate: January 24, 2017

PUBLIC

SAP Forecasting and Replenishment for Retail,add-on for fresh products

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh products, fresh productforecasting add-onConfiguration Guide – Version: 1.0 – Final

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 2

Typographic Conventions

Type Style Description

Example Words or characters quoted from the screen. These include field names, screen titles,pushbuttons labels, menu names, menu paths, and menu options.

Textual cross-references to other documents.

Example Emphasized words or expressions.

EXAMPLE Technical names of system objects. These include report names, program names,transaction codes, table names, and key concepts of a programming language when they aresurrounded by body text, for example, SELECT and INCLUDE.

Example Output on the screen. This includes file and directory names and their paths, messages,names of variables and parameters, source text, and names of installation, upgrade anddatabase tools.

Example Exact user entry. These are words or characters that you enter in the system exactly as theyappear in the documentation.

<Example> Variable user entry. Angle brackets indicate that you replace these words and characters withappropriate entries to make entries in the system.

EXAMPLE Keys on the keyboard, for example, F2 or ENTER .

Administration Guide PUBLIC

, SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Final

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 3

Document History

Version Status Date Change

1.0 Final 2016-11-25

Administration Guide PUBLIC

, SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Final

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 4

Table of Contents

1 About This Document ......................................................................................... 71.1 Purpose and Scope ..................................................................................................................... 71.2 Target Audience.......................................................................................................................... 71.3 Glossary ..................................................................................................................................... 71.4 Related Information ..................................................................................................................... 91.5 Important SAP Notes................................................................................................................... 9

2 Solution Overview ............................................................................................. 102.1 System Landscape.................................................................................................................... 10

3 Implementation and Configuration ................................................................... 123.1 Add-On Time Series Settings .................................................................................................... 12

3.1.1 Creating Key Figure Parameters ................................................................................. 123.1.2 Defining Time Series .................................................................................................. 13

3.2 SAP Forecasting and Replenishment for Retail Standard Customizing Settings .......................... 143.2.1 Define the Time-Based Scheduling Message Type...................................................... 143.2.2 Define the Internal Qualifier ........................................................................................ 153.2.3 Set the Goods Processing Time in Hours .................................................................... 153.2.4 Time Series Interface ................................................................................................. 163.2.5 Time Series Settings .................................................................................................. 163.2.6 Exception Management .............................................................................................. 173.2.7 Dispatcher Profile ....................................................................................................... 18

3.3 Add-On Customizing Settings .................................................................................................... 253.3.1 Master Data ............................................................................................................... 263.3.2 Fresh Product Identification ........................................................................................ 263.3.3 Demand Influencing Factors ....................................................................................... 263.3.4 Interfaces................................................................................................................... 263.3.5 F&R Processor .......................................................................................................... 273.3.6 Intraday Functions...................................................................................................... 27

3.4 BAdI Implementations ............................................................................................................... 333.4.1 BAdI /FRE/IF_CON_BADI_009................................................................................... 343.4.2 BAdI /FRE/IF_CON_BADI_003................................................................................... 343.4.3 BAdI /FRE/FU_CON_BI_BADI2 .................................................................................. 343.4.4 BAdI /FRE/FU_FRP_BADI_002 .................................................................................. 353.4.5 BAdI /FRE/FU_FRP_BADI016 .................................................................................... 353.4.6 BAdI /FRE/FU_TS_BADI_007 .................................................................................... 363.4.7 BAdI /FRE/UI_RWB_BADI_002 .................................................................................. 363.4.8 BAdI /FRE/UI_RWB_BADI_004 .................................................................................. 373.4.9 BAdI /FRE/IF_CON_BADI_007................................................................................... 373.4.10 BAdI /FFIS/BD_SELLING_PROF................................................................................ 38

Administration Guide PUBLIC

, SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Final

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 5

4 Security ............................................................................................................ 39

5 Operations ........................................................................................................ 405.1 Monitoring ................................................................................................................................. 40

5.1.1 Alert Monitoring .......................................................................................................... 405.1.2 Error Logs .................................................................................................................. 405.1.3 Background Job Monitoring ........................................................................................ 41

5.2 Administration and Management ............................................................................................... 415.2.1 Starting and Stopping ................................................................................................. 415.2.2 Technical Configuration .............................................................................................. 415.2.3 Load Balancing and Scalability ................................................................................... 42

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh products, fresh productforecasting add-onConfiguration Guide – Version: 1.0 – Final

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 6

Table of Figures

Figure 1: New time series ...................................................................................................................................... 13

Figure 2: Time series definition .............................................................................................................................. 13

Figure 3: Time series assignment .......................................................................................................................... 14

Figure 4: Qualifier definition ................................................................................................................................... 15

Figure 5: Time series interface settings .................................................................................................................. 16

Figure 6: Time Series Profiles ............................................................................................................................... 16

Figure 7: Time Series Profile Parameters ............................................................................................................... 17

Figure 8: High Level Exceptions ............................................................................................................................ 17

Figure 9: FRP Sequence /FFIS/DEFAULT ........................................................................................................... 21

Figure 10: FRP Sequence /FFIS/ACTIVATION ................................................................................................... 22

Figure 11: FRP Sequence /FFIS/ACTIVATION ................................................................................................... 22

Figure 12: FRP Sequence /FFIS/OUTBOUND ....................................................................................................... 23

Figure 13: FRP Sequence /FFIS/AUTO_REPL_AND_OPRM ................................................................................... 24

Figure 14: FRP Sequence /FFIS/INBOUND ......................................................................................................... 24

Figure 15: FRP Sequence /FFIS/CLEANUP ......................................................................................................... 25

Figure 16: FRP Sequence /FFIS/ACTIVATION ................................................................................................... 25

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 7

1 About This Document

1.1 Purpose and Scope

The administrators guide provides a central starting point for the technical implementation and configuration of SAPForecasting and Replenishment for Retail, add-on for fresh products. It describes everything you have to do toimplement and configure SAP Forecasting and Replenishment for Retail, add-on for fresh products. In addition, thisconfiguration guide provides security and operations information.

SAP Forecasting and Replenishment for Retail, add-on for fresh products supports the following processes:

· Identification and configuration of fresh products

· Forecasting and automated replenishment for fresh products

· Automated stock corrections for fresh products at relevant expiration date (calculation of projected waste andshrinkage)

· Multiple order, delivery, and availability times per day

1.2 Target Audience

This document is intended for the following target audiences:

o Consultants

o Partners

o Customers

o System administrators

1.3 Glossary

Term Abbreviation Definition

Demand influencing factor DIF An external factor that describes everything whichinfluences the demand. It can be assigned on aproduct or a location level.

ERP Core Component ECC Also known as ERP Central Component, the core ofSAP ERP.

Expiration date of an item n/a Date by which the product has to be sold. The dateitself is the last day the item can be sold. At the endof this day, remaining items have to be written off.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 8

Term Abbreviation Definition

First in first out FIFO The item that was delivered first will be sold first.That means the consumer always picks the piecethat has the shortest remaining time until expirationdate.

Forecast calculation n/a The forecast calculation (also known as forecasting)for fresh products consists of the following mainprocess steps:

Optimization: Determines optimum modelparameters so that the model explaining the historicsales best fits the model.

Estimation: Determines model coefficients

Prediction: Calculates the forecasts by applying themodel coefficients in the future.

Forecast Replenishment Processor FRP

SAP Forecasting andReplenishment for Retail

SAP F&R

Fresh product n/a Perishable goods

Goods receipt GR List of the quantity of items already delivered to thetarget location.

Last in first out LIFO The principle that the item that is delivered last willbe sold first. This means that the consumer alwayspicks the piece that has the longest remaining timeuntil expiration date.

Outlier n/a A demand quantity for a specific time period thatdeviates sufficiently from the norm for it to beclassified as irregular.

Planned goods receipt PGR List of open order quantities for the target locationon the delivery date. Planned goods receipts in thepast (back orders) only are considered if they arestill within the past horizon for back orders.

Projected waste n/a A term used in place of spoilage

Scheduling Groups n/a

Shelf life n/a The maximum number of days a product can besold starting from the delivery date in the store. Asdelivery has no time definition, the delivery dateitself already is counted as the first day.

Shrinkage n/a A reduction of stock prior to expiration date due tobad quality, damage or physical shrinkage.

Supply Chain Management SCM

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 9

1.4 Related Information

In addition to this guide, the following documents are available:

· Application help

The software and documentation are available for download on SAP Service Marketplace athttps://support.sap.com/swdc → Software Downloads → Installations and Upgrades → By Alphabetical Index (A to Z)→ F.

1.5 Important SAP Notes

Make sure that you have installed the required software before you start the implementation process. You can findthe required installation information in the SAP Notes listed in the table below.

RecommendationMake sure that you have read the SAP Notes before you start implementing the software. These SAP Notescontain the latest information about installation as well as corrections to the installation information.

Also make sure that you have the up-to-date version of each SAP Note, which is available on SAP ServiceMarketplace https://support.sap.com/notes.

SAP NoteNumber

Title Description

2405382 Release Note. SAP Forecastingand Replenishment for Retail,add-on for fresh products – FRPEnhancement – 1.0.0

Release note

2375716 ABAP add-on FFISCM 702:Installation, Upgrade, CSPs

Installation note

2368802 FRP_BAdI_003: Interface-Enhancements

This note must be implemented before you install SAPForecasting and Replenishment for Retail, add-on for freshproducts. This note provides BAdI enhancements

2316913 Change documents are notcreated for location products

You must implement this to ensure enhanced functionality

2398914 Delete Sales Items AppendStructure

This note must be implemented to avoid FRP abort errormessage.

2401175 Standard FRP run aborts afterfresh products add-oninstallation

This note must be implemented to avoid implementationerror.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 10

2 Solution Overview

Fresh products such as vegetables, fruits, meat, fish, and convenience foods are essential for grocery retailersbecause they contribute significantly to margin and revenue. Typically, fresh products are items that are delivered atleast 4 times a week with delivery times less than or equal to 2 working days. In addition, they have shortreplenishment cycles, strong trends, and sell quickly during the week. The SAP Forecasting and Replenishment forRetail, add-on for fresh products is integrated into SAP F&R as an add-on. This solution helps customers reducespoilage and increase availability of this kind of product category.

The add-on supports the following processes:

· Identification and configuration of fresh productsTo use the improved forecast calculation for fresh products, this product type must first be identified. This add-oncontains rule-based determination functionality to prepare fresh products for subsequent processing during theinterface processing of new products.

· Forecasting and automated replenishment of fresh productsAn enhanced forecast calculation for fresh products is part of this add-on. Several features, for example, forecastcalculation on a daily granularity or automatic detection of seasonal patterns are implemented to optimize theforecast and replenishment for fresh products.

· Automated stock corrections for fresh products at relevant expiration date (calculation of projectedwaste and shrinkage)

Due to the included projected waste and shrinkage calculation, the shelf life information of the product is used tocalculate potential stock reductions and considers them during demand calculation.

· Intraday FunctionsTo allow more accurate processing of fresh products, you can implement intraday availability calculations,multiple order and delivery times, and intraday scheduling and order split functions. Intraday functions can alsobe implemented independently of the fresh product forecasting functions. Intraday functions can be used for alltypes of products.

2.1 System Landscape

The SAP Forecasting and Replenishment for Retail, add-on for fresh products is implemented as an enhancement ofSAP F&R. Enhanced core modules for fresh product specific improvements are realized in Java. The followingsystem components are required as minimum:

o SAP SCM 7.02 and higher

o SAP F&R 5.2

o SAP JVM 7

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 11

Note The functionality that enables the system to identify and configure fresh products is only available if productmaster data has been received from SAP ECC.

RecommendationSAP recommends that you use a minimal system landscape for test and demo purposes only. For reasons ofperformance, scalability, high availability, and security do not use a minimal system landscape as yourproductive landscape. For more information about creating productive system landscapes, see SAP ServiceMarketplace at https://service.sap.com.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 12

3 Implementation and Configuration

This chapter describes the mandatory settings in SAP F&R standard Customizing as well as the necessary entries inthe system table for time series. These settings are a prerequisite for using the functions provided by SAPForecasting and Replenishment for Retail, add-on for fresh products. Settings to switch on or off the fresh product-specific calculations and to fine tune single functions and features can be made in the new Customizing for SAPForecasting and Replenishment for Retail, add-on for fresh products SAP Forecasting and Replenishment for Retail,add-on for fresh products.

NoteThe Customizing settings and system table entries are also available in the add-on installation. The figuresdisplayed in 2.2 are used for illustration purposes and refer to default Customizing settings.

RecommendationSAP recommends that, after installation, you manually create transport requests with default settings andimport these client-specific default Customizing settings into each add-on client. If you do not do this, thesettings must be made manually in each individual add-on-relevant client.

3.1 Add-On Time Series Settings

SAP Forecasting and Replenishment for Retail, add-on for fresh products introduces four time series. The key figureparameters for the time series are:

· /FFIS/CONS_DATA – Fresh product additional consumption dataIn this time series the consumption data is saved for at least two years with a daily granularity.

· /FFIS/FCST – Calculated fresh product forecastThis time series contains the forecast results calculated with the enhanced forecast module.

· /FFIS/PROJWASTE – Calculated projected waste· /FFIS/SHRINKAGE – Calculated shrinkage

The result of the projected waste and the shrinkage calculation is saved in these two time series.

3.1.1 Creating Key Figure Parameters

You create the following key figure parameter for the time series in table /FRE/TSKPRM (transaction SM30 –TimeSeries Parameters) with the technical settings displayed in Figure 1 and Figure 2:

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 13

Figure 1: Time series

Figure 2: Time series definition

RecommendationSAP recommends using exactly the same key figure parameter names as mentioned in Figure 1 and Figure2 to prevent conflicts during the import of support packages and notes.

3.1.2 Defining Time Series

After creating the key figure parameters for the time series of SAP Forecasting and Replenishment for Retail, add-onfor fresh products, the time key figure parameters must be assigned to physical database tables. For each key figureparameter an assignment to a database table for a daily granularity as well as for a weekly granularity is mandatory.Therefore, you have to make the following entries in system table /FRE/CDM_DEF (transaction SE16 – Define CDMTime Series Types):

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 14

Figure 3: Time series assignment

NoteThe database tables for the time series are part of the add-on installation.

3.2 SAP Forecasting and Replenishment for RetailStandard Customizing Settings

To use SAP Forecasting and Replenishment for Retail, add-on for fresh products, you have to make some additionalsettings in the SAP Customizing Implementation Guide for SAP Forecasting and Replenishment for Retail.

3.2.1 Define the Time-Based Scheduling Message Type

You define a message type that is used when transferring time-based scheduling data. You also specify the packetsize for each message. This customizing is only relevant if using the intraday functions.

In the In the SAP - Implementation Guide, choose Forecasting and Replenishment -> Interfaces -> Define MessageTypes and create a new entry with the following values:

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 15

CautionBased on your system performance, you can enter any value for the maximum number of objects. However,the other data must be entered as specified to ensure the data is transferred correctly.

3.2.2 Define the Internal Qualifier

Consumption data for fresh products is saved in time series (see Add-On Time Series Settings). To ensure that thesystem updates consumption data for fresh products in separate time series in parallel, you have to create a newqualifier. This qualifier is only used internally and is not meant to receive data from the external system. You definethe qualifier by performing the following Customizing activity:

In the SAP - Implementation Guide, choose Forecasting and Replenishment -> Interfaces -> Define Movement TypeQualifiers.

Figure 4: Qualifier definition

ExampleIn the deployed default Customizing, the new qualifier 3099 POS DAILY SALES is created.

3.2.3 Set the Goods Processing Time in Hours

You can set the Goods Receipt Processing Time manually in Maintain Location Products (transaction/FRE/MASS_MATLOC) or as part of a mass maintenance in Mass Maintenance in Background (transaction/FRE/MASS_BACKGROUND).

To do this, you need first to define the field and make it editable.

Add the Definition

1. In transaction SM30, maintain table /SCMB/MDL_AT_DEF.

2. Add the following entry:

Table Name Field Name

/SCMB/MDL_LOCPROD /FFIS/GRPTH

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 16

Make the Field Editable

In the Customizing (transaction SPRO) under Forecasting and Replenishment -> Master Data -> Define MaintainableAttributes, add a new row and enter the table name and field name that you just defined in SM30. Select theMaintenance Only Using Dialogs autonomy option.

3.2.4 Time Series Interface

The qualifier that you create as described in 3.2.1 must be connected to the time series for consumption data forfresh products. You assign the qualifier to time series in the following Customizing activity:

In the SAP - Implementation Guide choose Forecasting and Replenishment -> Interfaces -> Maintain Time SeriesInterface

Figure 5: Time series interface settings

3.2.5 Time Series Settings

For the four time series introduced with the add-on, you define the parameters in the following SAP F&R standardCustomizing activity:

In the SAP - Implementation Guide, choose Forecasting and Replenishment -> Time Series -> Maintain Time SeriesProfiles.

Key figure parameters (time series):

· /FFIS/CONS_DATA Fresh product additional consumption data

· /FFIS/FCST Calculated fresh product forecast

· /FFIS/PROJWASTE Calculated projected waste

· /FFIS/SHRINKAGE Calculated shrinkage

o They must be assigned to the time series profile. For example, you define the time series parameters asshown in

Figure 7.

Figure 6: Time Series Profiles

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 17

Figure 7: Time Series Profile Parameters

RecommendationSAP recommends that you make sales data for fresh products available daily for at least two years (~ 740days).

Please leave the Second Granularity empty as indicated above.

3.2.6 Exception Management

The SAP Forecasting and Replenishment for Retail, add-on for fresh products provides high-level exceptions. Youfind these exceptions in Figure 8. To use these add-on specific exceptions in the exception workbench for eachmessage, you must create an entry in the following Customizing activity:

In the SAP – Implementation Guide, choose Forecasting and Replenishment -> Exception Management -> MaintainConfiguration Data for High Level Exceptions.

Figure 8: High Level Exceptions

RecommendationSAP recommends that you assign the add-on specific high-level exceptions to business area 7 (Forecast).

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 18

3.2.7 Dispatcher Profile

NoteOnly adapt the dispatcher profile if the dispatcher is activated and used as F&R Processor.

The extended dispatcher profile can be used for fresh products as well as non-fresh products.

To use the add-on-specific functionality for fresh products, you must add new tasks that provide data for enhancedforecast, projected waste, and shrinkage calculations to the dispatcher profile. In addition, you have to insert themodules, which allow the calculation to be performed and imported as time series data, into the dispatcher profile.You have to replace task SAFRUN_CRIT in the SAP F&R standard dispatcher profile with the new function to beexecuted.

You can edit the dispatcher profile, dispatcher sequences, and dispatcher tasks in the following Customizing activity:

In the SAP – Implementation Guide, choose Forecasting and Replenishment -> F&R Processor -> MaintainDispatcher Profiles.

Task Description Function to beexecuted

Restriction

/FFIS/SAFRUN_LOC_ACTIVATE

Fresh product specificenvironment checks and actions

/FFIS/FU_CL_FRP_SAFRUN_LOC_ACT

Call this task innon-criticaltime window,for example,before SAPF&R standardtaskSAFRUN_CALIB

/FFIS/SAFOUT_CONFIG_FILES

Creation of add-on specificCONFIG-/WORK.INI files

/FFIS/FU_CL_FRP_SAFOUT_UPD_INI

After task/FFIS/SAFRUN_LOC_ACTIVATE but in non-critical timeframe, forexample,before SAPF&R standardtaskSAFRUN_CALIB

/FFIS/SAFOUT_CLOSED_DAYS

Creation of file with informationabout closed sales days

/FFIS/FU_CL_FRP_SAFOUT_STCLOSE

Same asbefore

/FFIS/SAFOUT_FEAT_PARAM

Creation of file with parametersfor forecast calculation features

/FFIS/FU_CL_FRP_SAFOUT_FT_CONF

Same asbefore

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 19

Task Description Function to beexecuted

Restriction

/FFIS/SAFOUT_CALIB_ITEMS

Creation of file with locationproducts relevant for new freshproduct specific calibration

/FFIS/FU_CL_FRP_SAFOUT_CALIB

Same asbefore

/FFIS/SAFOUT_FCST_ITEMS

Creation of file with locationproducts relevant for new freshproduct specific forecastcalculation

/FFIS/FU_CL_FRP_SAFOUT_FORECAS

Same asbefore

/FFIS/SAFOUT_PRED_DATA

Creation of files with freshproduct specific informationabout DIF parameters andassignments

/FFIS/FU_CL_FRP_SAFOUT_PRDCTR

Same asbefore

/FFIS/SAFOUT_PROJ_WASTE

Creation of files with locationproducts relevant for projectedwaste as well as provision ofparameters for calculation

/FFIS/FU_CL_FRP_SAFOUT_WP

Same asbefore

/FFIS/SAFOUT_DAILY_SALES

Provision of consumption datafrom additional fresh producttime series

/FFIS/FU_CL_FRP_SAFOUT_DAYSALE

Directly beforetask/FFIS/SAFRUN_CRIT (seenext row)

/FFIS/SAFRUN_CRIT

Call of the modules in criticaltime frame enhanced withadditional calls of new freshproduct specificcalculations/steps

/FFIS/FU_CL_FRP_SAFRUN_CRIT

This taskreplaces theSAP F&Rstandard taskSAFRUN_CRIT with call of/FRE/FU_CL_FRP_SAFRUN_CRIT

/FFIS/SAFIN_FRESH_PROD_FCST

Import of calculated freshproduct forecast from file astime series

/FFIS/FU_CL_FRP_SAFIN_EXT_FCST

After task/FFIS/SAFRUN_CRIT (seeabove) andjust before thecleanup tasks

/FFIS/SAFIN_PROJECTED_WASTE

Import of calculated projectedwaste and shrinkage from file astime series

/FFIS/FU_CL_FRP_SAFIN_PW_RESLT

After task/FFIS/SAFRUN_CRIT (seeabove) and

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 20

Task Description Function to beexecuted

Restriction

just before thecleanup tasks

/FFIS/SAFRUN_CLEANUP

Cleanup of fresh productspecific data

/FFIS/FU_CL_FRP_SAFRUN_CLEANUP

Final task ordirectly beforeSAP F&Rstandardcleanup task

/FFIS/DELETE_SPLIT_ITEMS_BEGIN

Deletes data from/FFIS/SPLIT_ITEM for thecurrent location and planningdate at the start of the FRP run

/FFIS/FU_CL_FRP_DEL_SPLIT_1

Execute at thebeginning ofthe FRP run

/FFIS/DELETE_SPLIT_ITEMS_END

Deletes Data from/FFIS/SPLIT_ITEM for thecurrent Location & PlanningDate at the begin of the FRPRun)

/FFIS/FU_CL_FRP_DEL_SPLIT_2

Execute at theend of the FRPRun (after thecreation ofOrderproposals)

/FFIS/SAFOUT_ENHANCE_DSX_FILES

Enhances FRP Standard DSXfiles with additional used fieldsfor fresh products

/FFIS/FU_CL_FRP_SAFOUT_DSX

Execute aftercreating thestandard DSXfiles

/FFIS/SAFOUT_ENHANCE_DATADICT

Enhances file DATADICT.xml /FFIS/FU_CL_FRP_SAFOUT_DDICT

Execute aftercreating thestandardDATADICT.xml File

/FFIS/SAFOUT_DELIVER Deletes file DELIVER.saf andrenamesZ_FFI_DELIVER_AVAILTIME.saf as DELIVER.saf

/FFIS/FU_CL_FRP_SAFOUT_DELIVER

Execute at theend of SAFOUTand beforeSAFRUN

(sequence/FFIS/OUTBOUND)

/FFIS/SAFOUT_OPENORDER

Deletes file OPENORDER.safand renamesZ_FFI_OPENORDER_AVAILTIME.saf as OPENORDER.saf

/FFIS/FU_CL_FRP_SAFOUT_OPORDER

Execute at theend of SAFOUTand beforeSAFRUN(sequence/FFIS/OUTBOUND)

/FFIS/SAFOUT_SALESITEMS

Deletes file SALESITEMS.safand renames

/FFIS/FU_CL_FRP_SAFOUT_SALESIT

Execute at theend of SAFOUTand before

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 21

Task Description Function to beexecuted

Restriction

Z_FFI_SALESITEMS.saf asSALESITEMS.saf

SAFRUN(sequence/FFIS/OUTBOUND)

/FFIS/SAFOUT_INTMORATES

Creates the fileIntradayMovementRates.saf

/FFIS/FU_CL_FRP_SAFOUT_INTMORT

Execute insequence/FFIS/OUTBOUND

/FFIS/TIME_BASED_SCHEDULING

Sets the value of class attribute/FFIS/CL_IM_SCHEDULING=>GV_FRP_RUN toABAP_TRUE

/FFIS/FU_CL_FRP_INTRADAY_SCHED

Execute at thebeginning ofthe FRP Run

/FFIS/SAFRUN_CALIB Calibration in non-crit. timeframe

/FFIS/FU_CL_FRP_SAFRUN_CALIB

Execute innon-criticaltime frame

The following figures show the default add-on dispatcher settings:

Dispatcher Profile /FFIS/DEFAULT:

Figure 9: FRP Sequence /FFIS/DEFAULT

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 22

FRP Sequence /FFIS/MD_AND_TECH_SYNCH:

Figure 10: FRP Sequence /FFIS/ACTIVATION

FRP Task Function to be executed Dispatcher Task Text

/FFIS/TIME_BASED_SCHEDULING /FFIS/FU_CL_FRP_INTRADAY_SCHED FP: Time BasedScheduling/IntradaySol.

/FFIS/DELETE_SPLIT_ITEMS_BEGIN /FFIS/FU_CL_FRP_DEL_SPLIT_1 FP: Reorganization forsplit item table

/FFIS/SAFOUT_ENHANCE_DATADICT /FFIS/FU_CL_FRP_SAFOUT_DDICT FP: EnhanceDATADICT.xml

/FFIS/SAFOUT_ENHANCE_DSX_FILES /FFIS/FU_CL_FRP_SAFOUT_DSX FP: Enhance DSX Files

/FFIS/SAFOUT_SALESITEMS /FFIS/FU_CL_FRP_SAFOUT_SALESIT FP: Cr.SALESITEMS.saf file

FRP Sequence /FFIS/ACTIVATION:

Figure 11: FRP Sequence /FFIS/ACTIVATION

Task Function to be execute Dispatcher Task Text

/FFIS/SAFRUN_LOC_ACTIVATE /FFIS/FU_CL_FRP_SAFRUN_LOC_ACT FP: Module call for locationactivation

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 23

FRP Sequence /FFIS/OUTBOUND:

Figure 12: FRP Sequence /FFIS/OUTBOUND

Task Function to be execute Dispatcher Task Text

/FFIS/SAFOUT_CONFIG_FILES /FFIS/FU_CL_FRP_SAFOUT_UPD_INI FP: Cr. specific CONFIG-/WORK.INI-files

/FFIS/SAFOUT_CLOSED_DAYS /FFIS/FU_CL_FRP_SAFOUT_STCLOSE FP: Cr. closed days file

/FFIS/SAFOUT_FEAT_PARAM /FFIS/FU_CL_FRP_SAFOUT_FT_CONF FP: Cr. feature parametersfile

/FFIS/SAFOUT_CALIB_ITEMS /FFIS/FU_CL_FRP_SAFOUT_CALIB FP: Cr. calibration items file

/FFIS/SAFOUT_FCST_ITEMS /FFIS/FU_CL_FRP_SAFOUT_FORECAS FP: Cr. forecasting items file

/FFIS/SAFOUT_PRED_DATA /FFIS/FU_CL_FRP_SAFOUT_PRDCTR FP: Cr. pred. assignment andparameter files

/FFIS/SAFOUT_PROJ_WASTE /FFIS/FU_CL_FRP_SAFOUT_WP FP: Cr. PW items, parameterand data files

/FFIS/SAFOUT_DELIVER /FFIS/FU_CL_FRP_SAFOUT_DELIVER FP: Cr. deliver file with AVAILtimes

/FFIS/SAFOUT_INTMORATES /FFIS/FU_CL_FRP_SAFOUT_INTMORT FP: Cr.IntradayMovementRates.saffile

/FFIS/SAFOUT_DP Fill /FRE/FRP_DP for Intraday Reset the detailedtimestamps of the IntradaySolution back to dates toensure a right data accessduring the standard orderforecast function.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 24

Task Function to be execute Dispatcher Task Text

/FFIS/SAFRUN_CALIB /FFIS/FU_CL_FRP_SAFRUN_CALIB FP: Calibration in non-crit.time frame

FRP sequence /FFIS/AUTO_REPL_AND_OPRM:

Figure 13: FRP Sequence /FFIS/AUTO_REPL_AND_OPRM

Task Function to be execute Dispatcher Task Text

/FFIS/SAFOUT_DAILY_SALES /FFIS/FU_CL_FRP_SAFOUT_DAYSALE FP: Cr. daily sales (cons.data) file

/FFIS/SAFRUN_CRIT /FFIS/FU_CL_FRP_SAFRUN_CRIT FP: Module calls in criticaltimeframe

/FFIS/DELETE_SPLIT_ITEMS_END /FFIS/FU_CL_FRP_DEL_SPLIT_2 FP: Reorganization for splititem table

FRP sequence /FFIS/INBOUND:

Figure 14: FRP Sequence /FFIS/INBOUND

Task Function to be execute Dispatcher Task Text

/FFIS/SAFIN_FRESH_PROD_FCST /FFIS/FU_CL_FRP_SAFIN_EXT_FCST FP: Import fresh prod.specific forecast

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 25

Task Function to be execute Dispatcher Task Text

/FFIS/SAFIN_PROJECTED_WASTE /FFIS/FU_CL_FRP_SAFIN_PW_RESLT FP: Import projected waste &shrinkage

FRP sequence /FFIS/CLEANUP:

Figure 15: FRP Sequence /FFIS/CLEANUP

Task Function to be execute Dispatcher Task Text

/FFIS/SAFRUN_CLEANUP /FFIS/FU_CL_FRP_SAFRUN_CLEANUP FP: Specific cleanup modulecall

FRP Sequence TD_DATA_SYNCH

Figure 16: FRP Sequence /FFIS/ACTIVATION

Task Function to be execute Dispatcher Task Text

/FFIS/SAFOUT_OPENORDER /FFIS/FU_CL_FRP_SAFOUT_OPORDER FP: Cr. OPENORDER filewith AVAIL times

3.3 Add-On Customizing Settings

This section contains the information necessary to configure the SAP system to meet customer requirements. Theconfiguration is done in the Customizing (transaction SPRO).

The SAP Forecasting and Replenishment for Retail, add-on for fresh products provides additional Customizingactivities located in the following Customizing path:

SAP - Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 26

The following chapters describe the settings to be made in Customizing for SAP Forecasting and Replenishment forRetail, add-on for fresh products. Additional information is available as system documentation in Customizing.

RecommendationThe installation of this add-on contains default Customizing settings. SAP recommends that you create acopy of these Customizing entries instead of changing the default values.

3.3.1 Master Data

SAP – Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products -> MasterData

This Customizing node contains general activities to define weekday groups, weekday group profiles, and resolutiongroups. This data constitutes the allowed values in other Customizing activities.

3.3.2 Fresh Product Identification

SAP – Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products -> MasterData -> Fresh Product Identification

This Customizing node contains activities needed to identify whether new location products entered on the interfaceare fresh products.

NoteAutomatic identification of new products as fresh products is optional. You do not need to make any settingsif you do not want to use this functionality.

3.3.3 Demand Influencing Factors

SAP – Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products ->Demand Influencing Factors

This Customizing node contains activities to define the relevance of the DIF identifier for fresh products and edit theDIF identifier.

3.3.4 Interfaces

SAP – Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products ->Interfaces

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 27

This Customizing node contains settings related to interfaces. These are general settings considered duringoutbound processing within an FRP run but also settings relevant for inbound processing of consumption data. Forfresh products, you can make different settings from SAP F&R standard to retrieve historical consumption data duringthe initial transfer from BI.

3.3.5 F&R Processor

SAP – Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products -> F&RProcessor

This Customizing node contains settings that control the FRP run. You can set the parameters for the enhancedforecast, projected waste, and shrinkage calculations. In addition to generally activating the fresh products forecastand waste calculations for SAP F&R standard forecasting profiles, you can activate and deactivate the individualenhanced forecast features. You can also define the parameters used for the calculation.

CautionThese Customizing activities determine whether the add-on's main functions are activated. When activatingthe fresh product forecast and/or projected waste calculation at forecasting profile level, the functions areactivated for all location products where the forecasting profile is (already) assigned. Then the assignment ofa suitable parameter profile is mandatory.

Finally, you can select how the system deals with back orders when calculating the projected waste. You can, forexample, choose to determine valid back orders based on the shelf life of the product. If the back order is so late thatthe products shelf life has been exceeded, the system will stop considering the products as planned goods receipts.

3.3.6 Intraday Functions

SAP – Implementation Guide -> SAP Forecasting and Replenishment for Retail, add-on for fresh products ->IntradayFunctions

The settings required to enable intraday functions are collected here. These functions enable you to providescheduling data for multiple order and delivery times and import intraday selling profiles for different locations to helpcalculate demand for products with shorter shelf lives.

When you have implemented these rely on data imported from an external system and override the dates generatedby procurements cycles.

This section provides information about the database tables provided with the intraday functionality and providesdetailed information about each of the Customizing activities that you have to perform.

3.3.6.1 Database Tables

SAP provides the following database tables which you have to fill with data from your master data system:

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 28

Name Technical Name Description

Scheduling data table /FFIS/SCHEDULES This table contains all of yourscheduling data. Once the data isimported into the BIF tables, youhave to execute Process FreshProduce BIF Data (transaction/FFIS/BIF_PROC) to copy the datato the database tables

Location opening hours table /FFIS/LOC_OPENHR This tables contains the openinghours for all of your stores. Once thedata is imported into the BIF tables,you have to execute Process FreshProduce BIF Data (transaction/FFIS/BIF_PROC) to copy the datato the database tables

Selling profiles table /FFIS/SELLPROF This table contains all your sellingprofiles. Profiles are imported byimplementing and calling BAdI/FFIS/BD_SELLING_PROF

3.3.6.2 Scheduling Data

The scheduling data table has the following structure that you can provide data for:

Component Component Type Short Text / Comment

KEY_TST /FRE/BIF_KEY_TST Key time stamp for BIF records

.INCLUDE /FFIS/BIF_SCHED_KEY_STY Key Fields of BIF Scheduling Data

LOCATION_TO /FRE/LOCNOTO Target Location

LOCATION_TO_TYPE /FRE/LOCTOTYPE Location Type of the TargetLocation

LOCATION_FROM /FRE/LOCNOFR Source Location

LOCATION_FROM_TYPE /FRE/LOCFRTYPE Location Type of a SourceLocation

SCHED_GROUP /FFIS/SCHED_GROUP Scheduling Group

ORDER_DATE /FFIS/ORDER_DATE Order Date

ORDER_CUTOFF /FFIS/ORDER_CUTOFF Order Cutoff Time

DELIVERY_DATE /FFIS/DELIVERY_DATE Delivery Date

DELIVERY_TIME /FFIS/DELIVERY_TIME Delivery Time

AVAIL_DATE /FFIS/AVAIL_DATE Availability Date

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 29

Component Component Type Short Text / Comment

AVAIL_TIME /FFIS/AVAIL_TIME Availability Time

FUNCTION /FRE/BIF_FUNCTION Function code

New data elements for this structure:

Data Element Domain Short Text / Comment

/FFIS/AVAIL_DATE DATS Availability Date

/FFIS/AVAIL_TIME TIMES Availability Time

/FFIS/DELIVERY_DATE DATS Delivery Date

/FFIS/DELIVERY_TIME TIMES Delivery Time

/FFIS/ORDER_CUTOFF TIMES Order Cutoff Time

/FFIS/ORDER_DATE DATS Order Date

/FFIS/SCHED_GROUP /FFIS/SCHED_GROUP Scheduling Group

New domain:

Field Value

Name /FFIS/SCHED_GROUP

Format CHAR(000040)

Output 000040

Value Range

This data is imported over the RFC module /FFIS/BIF_SCHED_INBOUND.

3.3.6.3 Define Attributes for Scheduling Groups

The system uses scheduling groups to classify location products that are ordered and delivered together. The groupsare a technical key used to store scheduling data at an aggregated data level. You define a scheduling group byspecifying a combination of master data attributes from your product, location product, and lane data. The systemconcatenates these fields to form the technical key and aggregate products.

In this Customizing activity, you select which master data attributes are used to define the scheduling groups in thetable /FFIS/SCHEDULES and the order that the system concatenates the attributes in. You specify one combinationof attributes for internal replenishment and a different one for external replenishment.

To define a scheduling group, you can use any combination of attributes from the following structures:

· /FRE/MATKEY

· /FRE/MATLOC

· /FRE/SOS_STY

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 30

CautionYou must perform this Customizing activity before you use the groups productively for the first time becausethe content of scheduling groups is part of the key definition of the database table /FFIS/SCHEDULES.

After you have used a scheduling group productively, you must not edit this Customizing activity. If you needto change the scheduling group definition, you must first reorganize the database content and you may haveto migrate it.

3.3.6.4 Perform Basic Settings

In this Customizing activity you select a distribution method and availability moment calculation method. This sectioncontains information about each of the options that are available and lists the requirements for each of them.

Availability Moment Calculation

The availability moment calculation method specifies how the system calculates when an ordered product is going tobe available for sale. By default, Calculate based on Goods Receipts Processing Time is selected.

To use this option, table /FFIS/SCHEDULES must contain the relevant data. To bring the data into the BIF tables,you have to configure RFC module /FFIS/BIF_SCHED_INBOUND. Finally, execute Process Fresh Produce BIFData (transaction /FFIS/BIF_PROC) to copy the data to the database tables.

Derive based on Scheduling Data TableIf you use this option, the system uses the data stored in the scheduling data table, which contains the availabilitydate and time for specific combinations of target location, source location, and scheduling group. The availabilitymoment is defined as the availability time on the availability date.

Calculate Based on Goods Receipts Processing TimeIf you use this option, the availability moments are calculated based on the delivery dates and times defined in table/FFIS/SCHEDULES and the goods receipts processing time in hours as maintained in the location product table.

The system then calculates the availability moments as Delivery Moment + Goods Receipt Processing

Time in Hours . The delivery moment is defined as the availability time on the availability date. Using this option,the system can differentiate between goods receipts processing times at location product level.

To use this option, you must first define the goods receipts processing time in hours in SAP Forecasting andReplenishment for Retail. The system cannot import this data from your master data system, for example, SAP ECC.

Distribution Methods

The distribution method specifies how the system distributes forecast values throughout the day. By default, EqualDistribution is selected.

Equal distributionIf you select this option, system assumes that the forecast values are equally distributed throughout the whole day.

To change the period of time over which the forecast values are distributed for specific locations, you import yourlocation opening times into database table /FFIS/LOC_OPENHR. When transferring location data from the masterdata system to the SAP Forecasting and Replenishment for Retail system, the add-on automatically stores thelocation opening hours in a BIF table. Execute Process Fresh Produce BIF Data (transaction /FFIS/BIF_PROC) tocopy the data to the database tables.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 31

ExampleIf a location's opening times are defined in the table as being 08:00 to 20:00 daily, the system calculates thedaily forecast values as being equally distributed over the 12 hours. If you have not imported store openingtimes, the system calculates the forecast values as being equally distributed over 24 hours.

Imported Intraday Selling ProfilesIf you select this option, the system can distribute forecast values based on selling profiles that are imported from anexternal system. The intraday selling profiles will then define how your forecast values are distributed throughout theday. The data provided in intraday profiles overrides any date that you have imported for location opening hours.

To use this option you must implement and call BAdI /FFIS/BD_SELLING_PROF to import intraday selling profiles.SAP provides an example implementation /FFIS/BD_SELLING_PROF_IMPL for the BAdI. For more information,see BAdI /FFIS/BD_SELLING_PROF. If you do not provide intraday selling profiles, for example, for a specificmerchandise category or product, the system uses equal distribution as a fallback.

This option can be used in combination with the Define Time Clusters and Merchandise Categories activity in theCustomizing (transaction SPRO) under SAP Forecasting and Replenishment for Retail, add-on for fresh products ->Intraday Functions. For more information about how these two activities interact, see Define Time Clusters andMerchandise Categories.

ExampleYou have a selling profile for a particular merchandise category or product, which defines the followingforecast value distribution:

Time of Day Percentage of Daily Sales Sold at this Time

08:00 to 11:00 40%

11:00 to 14:00 15%

14:00 to 17:00 15%

17:00 to 20:00 30%

After importing this data into the system and selecting the Import Intraday Selling Profiles option in theCustomizing, the SAP Forecasting and Replenishment for Retail system will use these values for calculatingthe forecast value distribution for this merchandise category or product. The system calculates the forecastvalue distribution for other merchandise categories and products by using equal distribution.

3.3.6.5 Activate Intraday Functions

In this Customizing activity you activate the available intraday functions. This section contains information about thefunctions themselves and the requirements for each of them.

The following functions are available:

Function Description

Time-basedscheduling

If this function is active, the system uses the order, delivery, and availability dates and timesthat are stored in table /FFIS/SCHEDULES instead of determining them from procurementcycles as in the standard solution.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 32

Function Description

Time-basedreplenishment

By using availability times and store opening times within SAP Forecasting andReplenishment, the system can consider intraday movements. Demand calculation is donebased on availability times instead of availability days only. The daily forecast values aredistributed based on predefined intraday movement rates.

If this function is active, in addition to using the order, delivery, and availability dates storedin the table, the system also uses the time that is assigned to the order, delivery, andavailability moments in the table.

Order proposalsplit

This feature allows you to see a time component to the order proposal process allowing youto specify order moments rather than just order dates. Order moments are a specific time ona specific date.

If this function is active, the system will generate more than one order proposal if there aremultiple order, delivery, or availability times for the same date. The end user can see thetimes for order and delivery moments in the Replenishment Workbench and not just thedates. This means you can have multiple order proposals per planning day for the sameproduct.

Daily demand forecast is split based the distribution method and the availability moment iscalculated based on the calculation method, both of which you select in Perform BasicSettings.

Time-Based Scheduling RequirementsYou must define scheduling groups for internal and external replenishment. You do this in the Customizing(transaction SPRO) under SAP Forecasting and Replenishment for Retail, add-on for fresh products -> IntradayFunctions -> Define Attributes for Scheduling Groups.

Table /FFIS/SCHEDULES must contain the relevant data. To bring the data into the BIF tables, you have toconfigure RFC module /FFIS/BIF_SCHED_INBOUND. Finally, execute Process Fresh Produce BIF Data(transaction /FFIS/BIF_PROC) to copy the data to the database tables.

Time-Based Replenishment RequirementsYou must activate Time-Based Scheduling and perform all of the required steps for that function.

Depending on the distribution method you have chosen, you can either import your selling profiles into the SAPForecasting and Replenishment for Retail system by implementing and calling BAdI /FFIS/BD_SELLING_PROF ifyou plan on using them or import your location opening hours. . For more information, see BAdI/FFIS/BD_SELLING_PROF.

You must select a distribution method and availability moment calculation method. You do this in the Customizing(transaction SPRO) under SAP Forecasting and Replenishment for Retail, add-on for fresh products -> IntradayFunctions -> Define Attributes for Scheduling Groups. Depending on your requirements, you could also importlocation opening times and define time clustering for your merchandise categories. For more information, seePerform Basic Settings.

Order Proposal Split RequirementsYou must activate Time-Based Replenishment and perform all of the required steps for that function.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 33

3.3.6.6 Define Time Clusters and MerchandiseCategories

In this Customizing activity you can set time clusters for specific merchandise categories at different locations. Thesystem uses this to determine how the forecast is distributed across a location's opening hours.

NoteThese settings are used in combination with the Imported Intraday Selling Profiles distribution method thatyou can select in the Customizing (transaction SPRO) under SAP Forecasting and Replenishment for Retail,add-on for fresh products -> Intraday Functions -> Perform Basic Settings. If your imported selling profiles donot already specify time clusters, you can use the values you have specified here to apply them to the datathat you import from your external system. The settings you make here are passed to BAdI/FFIS/BD_SELLING_PROF allowing you to use them in your implementation.

Define Time Clusters

You can select how to cluster your hours by either specifying the size of the clusters for individual locations, byspecifying a unique location number and location type, or by specifying one cluster size for all locations.

If you want to define time clusters using this activity, you must perform this activity for at least the All Location entry.

The number in the field represents how many hours are in one cluster. Based on this value, the system divides thebusiness hours of a location into clusters of hours. These different clusters are used to assign a different value foreach intraday movement rate of fresh products.

Any locations that do not have a specific Single Location entry, use the cluster size from the All Locations entry bydefault.

Define Merchandise Categories

You can define merchandise categories for individual locations, by specifying a unique location number and locationtype, or for all locations.

To specify a merchandise category, select a location from the Maintain Cluster Size for Locations node and choosethe Maintain Merchandise Categories for Locations node. Any merchandise categories you now specify will only berelevant for the location you selected from the first node.

Only the merchandise categories maintained in the Maintain Merchandise Categories for Locations node consider thecluster size value stored for that location. For all other merchandise categories, the system uses equal distributionbased on store opening times for the forecast distribution.

3.4 BAdI Implementations

For SAP Forecasting and Replenishment for Retail, add-on for fresh products, BAdI implementations are used. In thissection the implemented BAdIs are listed as well as some technical information and a short description of the processrelated to the BAdI implementation.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 34

3.4.1 BAdI /FRE/IF_CON_BADI_009

The BAdI implementation of the method IF_CON_BADI_009_ENR_MATLOC is executed if location product data isreceived from the sending system. In this implementation the verification whether a location product should behandled as fresh product based on defined conditions and rules maintained in Customizing (see 3.3.2) is executedfor new products. For identified fresh products, the default forecasting profile for fresh products is set for the locationproduct.

Attribute Value

Implementation Name /FFIS/FRESHITM_IDENT

Implementation Short Text Identifies whether a product is a fresh item

Definition Name /FRE/IF_CON_BADI_009

Interface Name /FRE/IF_EX_IF_CON_BADI_009

Method IF_CON_BADI_009_ENR_MATLOC

Implementing Class /FFIS/CL_IM_FRESHITM_IDENTIFY

3.4.2 BAdI /FRE/IF_CON_BADI_003

This BAdI is called if time series data is received and right before they are written into the buffer table. In SAPForecasting and Replenishment for Retail, add-on for fresh products, an implementation is contained to duplicatereceived entries with the new qualifier before updating the buffer. The Customizing settings control which dataset withwhich qualifier are duplicated with the new qualifier (see 3.3.4).

Attribute Value

Implementation Name /FFIS/IMP_TS_BUFFER

Implementation Short Text Import consumption data into time series buffer

Definition Name /FRE/IF_CON_BADI_003

Interface Name /FRE/IF_EX_IF_CON_BADI_003

Method IF_CON_BADI_003_TSD

Implementing Class /FFIS/CL_IM_IMP_TS_BUFFER

3.4.3 BAdI /FRE/FU_CON_BI_BADI2

If the initial transfer of consumption data from BI, which is an SAP Forecasting and Replenishment for Retail standardprocess, is used, you maintain the data source to be accessed for retrieving historical consumption data in the SAPForecasting and Replenishment for Retail Customizing (Alternative Transfer of Consumption from BI - Profile). Toenable the maintenance of the divergent data source for fresh products, add-on specific Customizing is introduced(see 3.3.4). The methods RETRIEVE_CONSUMPTION and CHANGE_TS is used to overwrite the SAP F&R standard

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 35

setting for the provision of BI data with fresh product specific settings. In addition, it is used to duplicate the receiveddata with the new qualifier (similar to BAdI /FRE/IF_CON_BADI_003).

Attribute Value

Implementation Name /FFIS/IMP_TS_DIRECT

Implementation Short Text Import consumption data into time series appl. table

Definition Name /FRE/FU_CON_BI_BADI2

Interface Name /FRE/IF_EX_FU_CON_BI_BADI2

Method RETRIEVE_CONSUMPTION + CHANGE_TS

Implementing Class /FFIS/CL_IM_IMP_TS_DIRECT

3.4.4 BAdI /FRE/FU_FRP_BADI_002

The method CHANGE_PARAMETERS of this BAdI is implemented to eliminate DIF identifiers from the equationparameters in the SAP F&R standard configuration file, that is, the CONFIG.INI if the DIF identifier is set as onlyrelevant for fresh products in Customizing (see chapter 3.3.3).

Attribute Value

Implementation Name /FFIS/FRPROD_FILTER

Implementation Short Text Filter out DIFs for CONFIG.INI only relevant for fresh products

Definition Name /FRE/FU_FRP_BADI_002

Interface Name /FRE/IF_EX_FU_FRP_BADI_002

Method CHANGE_PARAMETERS

Implementing Class /FFIS/CL_IM_FRPROD_FILTER

3.4.5 BAdI /FRE/FU_FRP_BADI016

The two methods of this BAdI definition are used to filter DIF occurrences on location level as well as on locationproduct level. With this implementation it is ensured that DIF occurrences that are only relevant for fresh products arenot written into the SAP Forecasting and Replenishment for Retail standard files. Fresh product specific occurrencesare provided in add-on specific outbound files.

Attribute Value

Enhancement Implementation /FFIS/FRPDIF_FILTER

Implementation Short Text Filter DIFs for fresh product solution

Definition Name /FRE/FU_FRP_BADI016

Interface Name /FRE/IF_FRP_BADI016

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 36

Attribute Value

Method FILTER_EVENTS + FILTER_PREDICTORS

Implementing Class /FFIS/CL_IM_FRPDIF_FILTER

CautionBAdI definition /FRE/FU_FRP_BADI016 is only available after importing or installing SAP Note 2080084(Add-on for Fresh Product Forecast: BAdIs to Filter DIFs)

3.4.6 BAdI /FRE/FU_TS_BADI_007

Due to the fact that SAP Forecasting and Replenishment for Retail, add-on for fresh products allows you to calculateplanned goods issues (projected waste and shrinkage), the display of the time series of stock projection must beadjusted. This adjustment is performed using method GET_STOCK_PROJECTION of BAdI /FRE/FU_TS_BADI_007.

Attribute Value

Enhancement Implementation /FFIS/FU_TS_BADI_007_DEF

Implementation Short Text Customer stock projection (providing end of day stock)

Definition Name /FRE/FU_TS_BADI_007

Interface Name /FRE/IF_TS_BADI_007

Method GET_STOCK_PROJECTION

Implementing Class /FFIS/FU_CL_TS_STOCK_PROJ

3.4.7 BAdI /FRE/UI_RWB_BADI_002

This BAdI is implemented in case there is a requirement to show additional fields within the Order Item subscreen ofthe Replenishment Workbench.

This BAdI is implemented to display the following columns on the Order Item subscreen

· Availability Time

· Release Time

· Order Time

· Delivery Time

Attribute Value

Implementation Name /FFIS/UI_RWB_INTRDAY

Implementation Short Text BAdI Implementation for Intraday Solution for RWB

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 37

Attribute Value

Definition Name /FRE/UI_RWB_BADI_002

Interface Name /FRE/IF_EX_UI_RWB_BADI_002

Method GET_ADDITIONAL_DATA

Implementing Class /FFIS/CL_IM_UI_RWB_INTRDAY

3.4.8 BAdI /FRE/UI_RWB_BADI_004

This BAdI is implemented to enhance the configuration of the Replenishment Workbench. In this BAdI, you can onlyadd the new fields to be displayed.

This BAdI is implemented to add the following columns to the order Item subscreen:

· Availability Time

· Release Time

· Order Time

· Delivery Time

Attribute Value

Implementation Name /FFIS/UI_RWB_BADI004

Implementation Short Text Implementation for Intraday solution additional fields

Definition Name /FRE/UI_RWB_BADI_004

Interface Name /FRE/IF_EX_UI_RWB_BADI_004

Method GET_OPTIONAL_ORDERITEMS_FIELDS

Implementing Class /FFIS/CL_IM_UI_RWB_BADI004

3.4.9 BAdI /FRE/IF_CON_BADI_007

Importing location opening hours handled by standard location interface. The default BAdI implementation selectsWRF1 location opening hours from the system that is assigned to the Order message type in database table/FRE/BIF_MSGTP. To import any other location opening hours, you have to implement his own BAdIimplementation.

Attribute Value

Enhancement Implementation /FFIS/BIF_LOC_HRS

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 38

Attribute Value

Implementation Short Text Implementation for Interface table - location hrs

Definition Name /FRE/IF_CON_BADI_007

Interface Name /FRE/IF_EX_IF_CON_BADI_007

Method IF_CON_BADI_007_ENR_LOCATION

Implementing Class /FFIS/CL_IM_BIF_LOC_HRS

3.4.10 BAdI /FFIS/BD_SELLING_PROF

To import intraday selling profiles from an external system, you have to be able to configure the interface between theF&R system and the external system. You use this BAdI to pull selling profiles from the external source system. ThisBAdI is called by the report /FFIS/INTRADAY_IMP.

Attribute Value

Enhancement Implementation /FFIS/BD_SELLING_PROF_IMPL

Implementation Short Text PPF selling profile BAdI import

Definition Name /FFIS/BD_SELLING_PROF

Interface Name /FFIS/IF_BD_SELLING_PROF

Method IMPORT_SELL_PROFILE

Implementing Class /FFIS/CL_SELLING_PROF_IMPL

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 39

4 Security

SAP Forecasting and Replenishment for Retail, add-on for fresh products is based on SAP F&R. Therefore, therelated guides also apply to this software.

For more information about specific security related topics, see the following resources on SAP Service Marketplaceand the SAP Community Network at http://scn.sap.com.

Topic Quick Link on SAP Service Marketplace or SDN

Security http://service.sap.com/security

http://sdn.sap.com/irj/sdn/security

Platforms http://service.sap.com/platforms

Infrastructure http://service.sap.com/securityguide

→ Infrastructure Security

Related SAP Notes http://service.sap.com/notes

http://service.sap.com/securitynotes

SAP NetWeaver http://sdn.sap.com/irj/sdn/netweaver

For a complete list of available SAP Security Guides, see SAP Service Marketplace athttp://service.sap.com/securityguide.

NoteNo new authorizations and/or roles are used by SAP Forecasting and Replenishment for Retail, add-on forfresh products.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 40

5 Operations

Designing, implementing, and running your SAP applications at peak performance 24 hours a day is vital to ensurebusiness success. This chapter contains important information about how to operate SAP Forecasting andReplenishment for Retail, add-on for fresh products.

The add-on is based on SAP F&R. Therefore, the general operations information in related operations guides alsoapplies to SAP Forecasting and Replenishment for Retail, add-on for fresh products.

For a complete list of available SAP operations guides, see the SAP Service Marketplace athttp://service.sap.com/instguides.

The operations information specific to SAP Forecasting and Replenishment for Retail, add-on for fresh products isdescribed in the following chapters. The following areas are covered:

· Monitoring

· Administration and Management

5.1 Monitoring

5.1.1 Alert Monitoring

Messages raised in add-on-specific steps when running FRP are provided to be displayed in the SAP F&R standardexception workbench. To be able to display messages in the exception workbench, you make the necessaryCustomizing settings as describe in 3.2.6.

5.1.2 Error Logs

Log files with errors and information about what occurred when executing the modules as part of FRP are written tofolder./frp/<client>/<site-GUID>/log/ffi.

The log level can be configured with the following files:

· logback-cleanup.xml

· logback-enhancedforecast.xml

· logback-projectedwaste.xml

· All add-on relevant log files are located next to the standard FRPs in/sapmnt/<SID>/global/frp/bin/FFI/lib.

The valid log levels are:

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 41

LEVEL Description

ERROR The ERROR level designates errorevents which may or may not be fatal tothe application.

WARN The WARN level designates potentiallyharmful situations.

INFO The INFO level designates informationalmessages highlighting the overallprogress of the application.

DEBUG The DEBUG level designatesinformational events of lowerimportance.

TRACE The TRACE level designatesinformational events of very lowimportance.

5.1.3 Background Job Monitoring

No add-on specific background job monitoring exists. You can also use the SAP F&R standard transaction Check ofLocation Status (/FRE/FRP_LOC_STATUS) to monitor the status of the FRP run.

5.2 Administration and Management

5.2.1 Starting and Stopping

With SAP Forecasting and Replenishment for Retail, add-on for fresh products, the FRP run is executed withadditional fresh product specific steps. If you are using the dispatcher for the F&R processor, the relevant dispatcherprofiles needs to be enhanced in Customizing (see 3.2.7) with additional tasks. If the FRP dispatcher is deactivatedand the SAP F&R standard report /FRE/FRP_MID_BASIC is used for the FRP run instead, you must use the add-onreport /FFIS/FRP_MID_BASIC. This report also executes the fresh product specific steps during the FRP run.

5.2.2 Technical Configuration

Report /FFID/INIT_NEW_FRESH_PRODUCTS allows you to initialize existing location products when someone hasmanually assigned a fresh-product-relevant forecasting profile. Therefore, you have to activate change documents forlocation products. You can do this in the Customizing (transaction SPRO) under Advanced Planning andOptimization -> Master Data -> Product -> Activate Change Documents.

Administration Guide PUBLIC

SAP Forecasting and Replenishment for Retail, add-on for fresh productsConfiguration Guide – Version: 1.2 – Released to Customer

January 24, 2017© 2014 SAP SE or an SAP affiliate company. All rights reserved. 42

In the Location Product dialog structure, select Location Product.

All other details about the technical configuration are described in the installation notes mentioned in 1.5.

5.2.3 Load Balancing and Scalability

The SAP Forecasting and Replenishment for Retail, add-on for fresh products does not replace any steps of the FRPrun. Instead, with the add-on, additional data needs to be stored and processed by the calculation modules. Forexample, you should store daily consumption data for about two years. In addition, the calculation of the freshproduct specific forecast as well as the calculation of projected waste and shrinkage is added to the standard FRPrun. As a result, load balancing and scalability must be considered and verified with the installation of this add-on.Using this add-on may require an increase in system resources.

NoteSizing information related to this add-on is available in the sizing guide for SAP Forecasting &Replenishment for Retail.

www.sap.com/contactsap

© 2014 SAP SE or an SAP affiliate company. All rights reserved.