Skip to Content
Product Information

SAP S/4HANA EWM <=> Advanced Production Integration => Production Orders

Integration of Extended Warehouse Management into PP

You can use SAP EWM in conjunction with the following PP application components:

  • Production Orders

  • Process Orders

  • Repetitive Manufacturing

  • Kanban

There are few important integration points to generate an PMR in EWM with Production Order.

1. Define Production Staging Areas in ERP System ( PK05)

Define new Production Staging Areas (PSA) in ERP. In general these PSA will be equivalent to the number of Work centers defined to perform the production process. The storage location

e.g.

Plant Supply Area Description Stor.Location Responsible
PL01 PSA-001 1 – Printing AFS 001
PL01 PSA-002 2 – Cutting AFS 001
PL01 PSA-003 3 – Fold lay AFS 001
PL01 PSA-004 4 –  Binding AFS 001

2. Replicate these PSA to EWM ( In case it is decentralized EWM) – (CFM1)

Use CFM1 tcode for Transferring the PSA from ERP to EWM ( in case it is an decentralized EWM).

The same will be available in /SCWM/PSASTAGE in EWM where we assign a new PSA – Bins for each work center in EWM along with other paramerters like WPT, Staging Method Type.

3. Maintaining EWM Control Cycle ( LPK1). 

With the EWM control cycle, you specify the EWM-managed storage location from which the material required for production is to be withdrawn and the production supply area in which this material is to be staged. In addition, you specify the staging type.

The following control cycle categories are possible in conjunction with SAP-EWM:

  • Control cycle for EWM

    This Control Cycle Category indicates that the source and destination that you specify in the control cycle are EWM-managed. You can use this control cycle category for production and process orders only.

  • In SAP EWM Advanced Production Integration, Staging and Consumption are two different steps for Production Planning Integration.

  • Staging and Consumption by Production orders. 

Staging and Consumption for production is performed on the basis of a production material request (PMR) in SAP EWM.

The PMR is created during WM material staging in SAP ERP and sent to SAP EWM. It represents the manufacturing order in SAP EWM.

Material Plant PSA Stor.Loc Whn Stag.Ind. Iss.Plant Stor.Loc No Container Quantity UoM Whn
PL01 PSA-001 AFS W01 5 PL01 AFS W01
PL01 PSA-002 AFS W01 5 PL01 AFS W01
PL01 PSA-003 AFS W01 5 PL01 AFS W01
PL01 PSA-004 AFS W01 5 PL01 AFS W01

 

4. Configuring ERP Integration for Production Material Request Processing.

4.1 Mapping of ERP Order Types to SAP EWM Document Type for Production

In Customizing for SAP EWM choose Extended Warehouse Management -> Interfaces -> ERP Integration -> Production -> Map Sap ERP Order Type to SAP EWM Document Type

OderTypeERP Business System Doc. Type
PI01 PMR

 4.2 Define a Product Group Type and Product Group ( Optional)

In Customizing for SAP EWM choose SCM Basis -> Master Data -> Product -> Product Groups -> Define Product Group Types

ProdGrType Description
PS Production Supply

In Customizing for SAP EWM choose SCM Basis -> Master Data -> Product -> Product Groups -> Define Product Groups

ProdGrType Product Group
PS SINGLE_ORDER
PS CROSS_ORDER
PS NO_STAGING
PS PSA_DEPENDENT
PS SILO

Mapping of ERP Order Type to SAP EWM Item Type for Production

In Customizing for SAP EWM choose Extended Warehouse Management -> Interfaces -> ERP Integration -> Production -> Map Sap ERP Order Type to SAP EWM Document Type

Item Cat. OderTypeERP Business System Product Group Doc. Type Item Type
CMP PI01 PMR PCCO
CMP PI01 PSA_DEPENDENT PMR PCSO
OCP PI01 PMR PRCV

Trouble Shootings and Checks.

  1. Upon releasing the Production Order, delivery is not created.
    1. Check the Plant and Sloc Combination in Production Order.
    2. Check the Work center and Staging Area linkage in ERP
    3. Check if the components are maintained in both ERP and EWM.
    4. Check the distribution model activation status in ERP<=>EWM Integration.
  2. Upon releasing the Production Order delivery is created but struck in Queue.
    1. Check ERP<–> EWM Document type Integration.
    2. Check ERP<–> EWM Item Type Integration.
    3. Check Goods Movement Bin determination for PMR.
    4. Check PMR Number Ranges.

hope this helps to understand Advanced Production Integration in detail.

1 Comment
You must be Logged on to comment or reply to a post.
  • Hi Sriram,

     

    I hope you can help me with an issue I’m having with Best Practice Script 1VB (“Production Integration – Component Consumption and Receipt in Warehouse”. In fact we are using a “fully activated appliance 1809”, so all BP packages for S4HANA are installed, configured and activated.

    In script 1VB I’m supposed to release production orders which then create PMRs in EWM. This works fine – The PMR is created.

    But the next step fails: The system does not create warehouse tasks when I execute /SCWM/STAGE for this order. All I’m getting is the message /SCWM/PWR504 “All staging proposal quantities are 0; no staging needed” when I enter the production order.

    Setup in transaction /SCWM/PSASTAGE has been made properly (according to BP script 2AI). The BADI /SCWM/EX_MFG_STAGE_INFO is not implemented (meaning the SAP fallback implementation is executed, which I check in debugging, it is going in there, but the exit selects nothing… (ET_ITEMS)). Stock has been uploaded to storage bins by doing an initial stock upload as described in script 1FU.

     

    When I read documentation, I find nothing about that PMRs need to be released or something before the warehouse task can be created. Correct? The PMR has (just like the script says) status “Not started” and the production status is “Released”.

     

    Can you pinpoint me to what could be missing here in the setup? Thanks in advance!