Setting Up the Material Flow System
Use
To be able to connect up a programmable logic controller (see Programmable Logic Controller (PLC)) to SAP Extended Warehouse Management (SAP EWM), you must make the following settings.
Procedure
Customizing Settings
-
Define PLC interface types.
PLC interface types facilitate the settings for controls of a similar nature (for example, several stacker cranes with an identical interface). For more information, see Customizing for Extended Warehouse Management under .
-
Define a PLC in SAP EWM for each real PLC with which SAP EWM is to communicate.
For more information, see Customizing for Extended Warehouse Management under .
-
Define one or more communication channels (see Communication Channel) for each PLC.
For more information, see Customizing for Extended Warehouse Management under .
-
Define communication point types.
Consider whether you need special processing for different communication points when telegrams of a certain type arrive. For more information, see Customizing for Extended Warehouse Management under .
-
Define communication points (see Communication Point).
Each point in the system that is not a final storage bin and which SAP EWM is to take into account as an interim step must be a communication point. For more information, see Customizing for Extended Warehouse Management under .
-
Define communication point dependencies if you want to limit the capacity of communication points in SAP EWM or record the status at communication points in SAP EWM.
In doing so, you define which other communication points are checked by SAP EWM with regard to handling units (HUs) waiting there if a communication point is relieved or its status changes to Ready. For more information, see Customizing for Extended Warehouse Management under .
-
Define conveyor segments (see Conveyor Segment) if you want to check their status or capacity in SAP EWM.
For more information, see Customizing for Extended Warehouse Management under .
-
Define conveyor segment group types if you use conveyor segments and want to treat them jointly with regard to their status, for example.
For more information, see Customizing for Extended Warehouse Management under .
-
Define conveyor segment groups if you want to treat conveyor segments jointly.
For more information, see Customizing for Extended Warehouse Management under .
-
Assign the conveyor segments to the conveyor segment groups.
For more information, see Customizing for Extended Warehouse Management under .
-
Assign an MFS-relevant storage type role to the storage types that represent the warehouse regulated by the controls.
The following MFS-relevant storage type roles are available:
-
Prestorage area: H – Automatic Storage Retrieval (Material Flow Control)
-
High-rack storage area: J – Automatic Warehouse (Controlled by MFS)
For more information, see Customizing for Extended Warehouse Management under .
-
-
Define storage groups for layout-oriented storage control.
The storage control allows you to group together storage bins with regard to route determination. This is done by means of storage groups. For more information, see Customizing for Extended Warehouse Management under .
-
Define interim destinations for the transportation of HUs within your warehouse.
You do this according to the principle: from A to Z via B, from B to Z via C. This point represents the core of your Customizing activities. You can specify source and destination either roughly (storage type only) or finely (with storage group). It is also possible to do entirely without one of the two. For example, everything from aisle 1 - irrespective of final destination - via the intermediate location CP13 (stock removal station of aisle 1). You can also specify different paths for full, partly full, or empty HUs. For more information, see Customizing for Extended Warehouse Management under .
-
Define suitable activity areas.
You use activity areas to control the assignment of warehouse tasks to queues. The controls defined in each case process the queues. For more information, see Customizing for Extended Warehouse Management under .
-
Define an MFS queue for each PLC.
For more information, see Customizing for Extended Warehouse Management under .
-
Define a resource category for each resource type used.
For more information, see Customizing for Extended Warehouse Management under .
-
Define abbreviations for MFS actions and define function modules that the system is to start in the case of these actions.
For more information, see Customizing for Extended Warehouse Management under .
-
Clarify the telegram structures (record structure, telegram types) with the person responsible for the PLC and create the corresponding record structures in the ABAP dictionary.
You can use the Object Navigator of the ABAP Workbench for this purpose, for example.
-
Define which telegram IDs the PLC expects or uses for the intended message types and which record structures it uses in each case.
For more information, see Customizing for Extended Warehouse Management under .
-
Define which action modules are to be started for which PLC telegrams.
For more information, see Customizing for Extended Warehouse Management under .
-
Define the required exceptions.
For more information, see Customizing for Extended Warehouse Management under .
-
Assign PLC errors to the relevant telegram errors.
For more information, see Customizing for Extended Warehouse Management under .
System Settings
-
Create storage bins for the communication points and assign these to the communication points.
In doing so, ensure that the storage bins each have the correct storage group. The system determines the storage group via the interim storage bins. On the SAP Easy Access screen, choose .
-
Define sorting rules for the new storage bins.
The system assigns warehouse tasks to warehouse orders. In the MFS, this is always a 1:1 assignment. Nevertheless, an activity-related sort sequence is necessary for data-technical reasons. On the SAP Easy Access screen, choose .
-
Create a resource for each stacker crane and assign a queue to the resource.
On the SAP Easy Access screen, choose .
-
Set up the communication layer between MFS in SAP EWM and external data sources such as PLCs or rack feeders.
To use ABAP Push Channels (APC) to communicate between SAP EWM and external data sources, configure SAP EWM to communicate directly with PLCs. For more information, see Setting Up ABAP Push Channels.
To use SAP Plant Connectivity (PCo) to communicate between SAP EWM and external data sources, set up PCo agents to transfer the data. For more information, see Setting Up SAP Plant Connectivity as the Communication Layer.
-
Start the communication channels.
On the SAP Easy Access screen, choose .
-
You can define MFS server groups at warehouse-number level to have MFS processes in your SAP EWM system run on defined application servers only.
All processes started by the MFS then run on the assigned servers. To define the server groups, on the SAP Easy Access screen choose .
If you want to determine a server group to be used for PLCs when processing subsequent MFS processes, you can specify the server group in Customizing for Extended Warehouse Management under . If server groups for MFS processes at warehouse level is sufficient for your requirements, you do not need to implement this BAdI.
Result
The MFS is configured. SAP EWM can communicate warehouse tasks affecting the area of responsibility of the defined PLC to the latter and in this way control the relevant area in the warehouse without operator intervention.

