MES-Driven Repetitive Manufacturing
MES-Driven Repetitive Manufacturing
2 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
1 Business Scenario
In a modern manufacturing plant, you implemented SAP S/4 HANA, EWM in SAP S/4HANA, and a
manufacturing execution system (MES) such as SAP Digital Manufacturing (DM).
The process goes as follows:
1. Planned order is firstly replicated to MES.
2. After detailed planning based on the production resource capacity and the overview of production
requirements, MES creates a shop order, similar to a manufacturing order in SAP S/4HANA ERP,
which is for manufacturing execution process.
3. The requirement for staging is triggered from MES.
4. EWM receives such staging requirements and fulfills them on time to make sure production process
continues without any delay.
5. Confirmation, backflush, and unplanned goods issue is triggered from MES along with
manufacturing operations.
6. EWM updates stock according to the information sent from MES and then communicates such
goods movements to SAP S/4HANA Repetitive Manufacturing and SAP S/4HANA Inventory
Management.
1.1 Prerequisite
You are running an MES that is connected to SAP S/4HANA ERP using Repetitive Manufacturing and EWM
in S/4HANA. Minimum release of SAP S/4HAHA is 2023 FPS00.
3 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Status Profile /SCWM/INT_WMR_STANDARD
FldContProf /SCWM/INT_WMR_STANDARD
FldContProf /SCWM/INT_WMR_DLV_PS
4 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
2.1.3 Assign Document Type and Item Type
IMG Menu SCM Extended Warehouse Management- > Extended Warehouse Management ->
Internal Warehouse Processes -> Delivery Processing -> Stock Transfer ->
Warehouse-Number-Specific Settings -> Define Document and Item Type
Determination for Internal Stock Transfer
Transaction Code SPRO
Assign document type and item type to your EWM warehouse number as follows:
Warehouse Number Business Process Doc Type Item Type
e.g. W001 Internal Stock SPS SDPS
Transfer for
Repetitive
Manufacturing
Note:
Alternatively, you can assign document type and item type in the following configuration.
IMG Menu SCM Extended Warehouse Management- > Extended Warehouse Management ->
Internal Warehouse Processes -> Delivery Processing -> Stock Transfer ->
Warehouse Request for MES-Driven Staging -> Define Document and Item Type for
MES-Driven Staging
Transaction Code SPRO
Assign document type and item type to your EWM warehouse number as follows:
Warehouse Number Doc Type Item Type
e.g. W001 SPS SDPS
Description e.g. Staging for Production e.g. Reverse Staging for Production
5 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
2.1.5 Determine Warehouse Process Type
IMG Menu SCM Extended Warehouse Management- > Extended Warehouse Management ->
Internal Warehouse Processes -> Delivery Processing -> Stock Transfer ->
Warehouse Request for MES-Driven Staging -> Determine Warehouse Process
Type for MES-Driven Staging
Transaction Code SPRO
ProTypeDet N.A.
Del.Prio. N.A.
Note:
(Optional)You can define a process determinator under SCM Extended Warehouse Management- >
Extended Warehouse Management -> Cross Process Settings -> Warehouse Task -> Define Control
Indicator for Determining Warehouse Process Types, and assign it to your product under warehouse data
view using /SCWM/MAT1.
(Optional)You have defined production supply areas using LPK1. If you want to differentiate staging
processes for different PSA, you can maintain PSA in the determination of warehouse process types.
6 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
You have defined production supply areas in transaction PK05.
Easy Access Logistics -> SCM Extended Warehouse Management -> Extended Warehouse
Management -> Master Data -> Production Supply Area(PSA) -> Assign Bin to
PSA/Product/Entitled in Warehouse Number or Assign Bin to Product/Entitled in
PSA
Transaction Code /SCWM/PSASTAGE or /SCWM/PSASTAGE2
Product Group
MES-Relevant X (selected)
IMG Menu SCM Extended Warehouse Management- > Extended Warehouse Management ->
Cross-Process Settings -> Delivery – Warehouse Request -> Actions->Change
Action Profiles and Actions->Define Action Profiles and Actions
Transaction Code SPRO
Sort Order 0
7 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Inactive (Leave it unchecked)
IMG Menu SCM Extended Warehouse Management- > Extended Warehouse Management ->
Interfaces -> MES Integration -> Define Warehouse Number-Dependent Settings
Transaction Code SPRO
Field Value
Warehouse Number e.g. W001
8 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Field Value
Active (IMG) X
Active (Impl.) -
Active (Impl.) -
9 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Message Level Security None
4.2 Choose icon Open WSDL document for selected binding or service
10 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Logical Port is Default X
11 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Authentication Settings User ID/Password
12 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
3.1.1 REM Profile
IMG Menu SAP Customizing Implementation Guide -> Production -> Repetitive Manufacturing -
> Control -> Define Repetitive Manufacturing Profiles
Transaction Code SPRO
Define a repetitive manufacturing profile (two examples are given: one with reporting point confirmation, and
one without.)
Field Value Value
REM Profile e.g. ZD01 e.g. ZD02
REM Profile Final Backflush with COGI Report. points with COGI
Name
Production PKMN PKMN
Type
GI backflush at - -
GR posting
RP - X
Confirmation
Mandatory - X
RP - X
Confirmation
w/o Kanban
Automatic GR - -
posting at last
RP
Process Control - -
Create X X
cumulated
postprocessing
records
Also create X X
individual
postprocessing
records (This
flag is needed
to get entries in
COGI)
Execute - -
correction in
dialog mode
Mandatory - -
Optional X X
Post - -
Synchronously
to Bin
13 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Conf. and GMs X X
Received from
EWM
Comment Confirmation w/o reporting points. Errors Confirmation using reporting points. No
in COGI automatic GR! Errors in COGI
Define the storage type in a way that the putaway warehouse task is created automatically or that it is
dependent from the warehouse process type.
Four examples are given:
• Direct automatic WT creation without HUs
• Direct automatic WT creation with HUs
• Automatic WT creation is dependent from the warehouse process type
• No automatic WT creation
Field Value Value Value Value
Warehouse W001 W001 W001 W001
Number
Storage Type e.g. Z909 e.g. Z917 e.g. Z918 e.g. Z919
Description Goods Receipt No Goods Receipt for Goods Receipt for Goods Receipt for
HU - Ptwy Manual HU - Immediate HU – WPT Decides HU – No Ptwy
Ptwy
Auto WT 1 (Always Auto 1 (Always Auto 2 (WPT Decides) - (Never Auto WT)
Indicator WT) WT)
HU Y (HU not Allowed) X (HU Required) X (HU Required) X (HU Required)
Requirement
14 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Transaction Code SPRO
Define the warehouse process type about whether to automatically create putaway warehouse task (some
examples are given to have automatic WT creation or not. If you want to have automatic putaway warehouse
tasks, you can do this via the warehouse process type determination indicator in the material master to
define on material level.)
Field Value Value Value
Warehouse W001 W001 W001
Number
Warehouse e.g. P117 e.g. P118 e.g. P128
Process Type
Description Putaway – with Auto WT Putaway – without Auto HU Putaway – without
Indicator WT Indicator Auto WT Indicator
Auto WT 1 (Always Auto WT) - (Never Auto WT) - (Never Auto WT)
Indicator
Define warehouse process type determination indicators that you can assign to your materials about whether
to have automatic putaway warehouse task creation on material level or not.
Field Value
Warehouse Number W001
Determine warehouse process type based on warehouse process type determination indicator from the
material master to differentiate between automatic putaway warehouse task creation or no automatic
putaway warehouse task creation.
Field Value Value
Warehouse Number W001 W001
Document Type - -
Item Type - -
Delivery Priority - -
15 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Process Type AW -
Determination Indicator
Process Indicator 012 (Receipt of Unpacked Items from 013 (Receipt of Packed Items from
External MES) External MES
Warehouse Process P117 P128
Type
Service Description Test e.g. Repetitive Manufacturing Confirmation Request from MES
16 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Figure 2 Open WSDL Document for REM_Confirmation_Request
Service Description Test e.g. Repetitive Manufacturing Cancel Request from MES
17 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
2) Choose icon Open WSDL document for selected binding or service
18 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Appendix: Testing Steps
www.sap.com.
19 / 20
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
© 2023 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.