A product storage definition in SAP SCM is a separate business object assigned to a source of supply (SOS). The allowed storage resource alternatives, along with their priorities, are defined for each product storage definition.
You have defined the following before creating a product storage definition:
A source of supply, for example, a production process model (PPM) or production data structure (PDS)
A container resource
The following conditions have been met in order to automatically integrate product flow data with the product storage definition when generating the PDS or PPM:
Enhancement package 4 for SAP ECC 6.0 is available.
The recipe for a material is present in SAP ERP. Product flow maintenance in the recipe is optional; if product flow is not maintained, only a blank storage definition will be created in SAP SCM during PDS or PPM generation.
You have created an active integration model to send recipe data as PDS or PPM.
To create a product storage definition, complete the following steps:
On the SAP Easy Access
screen, choose .
On the selection screen, enter one or any combination of a source of supply (PPM or PDS), product, or location, then choose Execute
.
Note
If in display mode, switch to editing mode by choosing Display/Change
.
Select a source of supply and choose Display Storage Materials
.
Choose the Assign Product to SOS
.
Select one or more products and choose OK
.
Set the consumption type.
Select one of the newly added products from the list in the Products for Source of Supply
screen area of the Product Storage Definition
screen, and choose Display Resource Alternatives
or double-click
the product name.
Choose Assign Resource Alternatives
in the Alternative Resources
screen area.
In the Resource
column, enter one or more storage-capable container resources with the same location as the source of supply.
Assign a priority to each alternative resource.
Save the data.
Integrating Product Flow Data with Product Storage Definition During PDS or PPM Generation
You have defined product storage data as product flow in the recipe in SAP ERP. Use the BAdI as described below to automatically integrate this data with the product storage definition in SAP SCM when generating the PDS. Note that this integration works only in the direction from SAP ERP to SAP SCM.
On the SAP Easy Access
screen, go to .
Select the BadI Name
option.
Enter /SAPAPO/CURTO_CREATE in the BAdI Name
field.
Choose Create
from the Enhancement Implementation
menu.
Enter an implementation name, then choose Continue
.
Enter a short description in the Implementation Short Text
field, and go to the Interface
tab screen.
In the list of methods, double-click CREATE_STORAGE_DEF
, or select it and then choose .
Save the data.
Proceeding to the Class Builder
screen, set method parameter EV_TRUE to X
.
To automatically integrate the product flow data with the product storage definition when generating the PPM, complete the following steps:
Activate the BAdI method in Customizing for SAP SCM under
(/SAPAPO/PPM_INBOUND → CREATE_STORAGE_DEF).Proceeding to the Class Builder
screen, set method parameter EV_TRUE to X
.
Note
When the BAdI is activated, direct creation of product flow in PPM is not allowed and produces warning and error messages if ignored.