Skip to Content
Technical Articles
Author's profile photo Yunus Yucesoy

EWM & QM integration in SAP S/4HANA 1909

For SAP S/4HANA 1909 system with embedded EWM, this blog lists provides an overview of configurations, key functionalities and limitations of EWM & QM integration

Following QM inspection types are supported with S/4HANA EWM

1701              EWM: Goods Receipt Insp. for Pur. Order

1704              EWM: Goods Receipt Insp. from production

1708              EWM: Stock transfer inspection

1709              EWM: Recurring inspection of batches

Now also standard inspection types are supported without inspection rule in SAP S/4HANA 1909  with embedded EWM

01                 Goods receipt insp. for purchase order

04                 Goods receipt inspection from production

08                 Stock transfer inspection

09                 Recurring inspection of batches

Basic Configuration & Master Data

In case of no inspection rule (EWM embedded in SAP S/4HANA 1909), inspection lot setup is set to no inspection rule.

Process oriented storage control step and quality stock status is set.

Code groups for usage decision needs to be updated for EWM usage decisions. Either new EWM codes are added to an existing code group or new code group is created with EWM codes.

Codes groups can be maintained per plant number, codes groups for plants managed by EWM and Non EWM can be differentiated using following configuration.

Please refer to OSS note 2787302 – EWM-QM integration without inspection rules when using embedded EWM

Inspection rules /scwm/qrsetup and inspection types 1701, 1704, 1708, 1709 are still available, please refer previous blog post for basic configuration steps.

Special Cases & Limitations

Inspection lots with “SKIP” status: When an inspection lot is created with “SKIP” status EWM would not update stock type but only delete inspection lot reference on stock. Therefore, if inbound delivery is created with quality stock type it would not be updated in EWM.  In this case it would be better to allow EWM to decide final stock type based on inspection rule (/SCWM/QRSETUP).

Differentiating Purchaser Orders and Stock Transfer Orders for Inspection Lot Creation:  Inspection lot setup can be differentiated for each inbound delivery type, in case delivery types cannot be for different inbound scenarios (like STO and PO case).  Business partner field in inspection rule (SCWM/QRSETUP) can be used to differentiate different business cases (STO &PO) . For STO documents usually each sender plat/storage location would be defined as one business partner, a specific inspection rule can be set in (/SCWM/QRSETUP for partner that represent plant).

Moving Inspection stock from EWM managed storage location to IM-MM managed storage location: Inspection lot related stock in EWM warehouse cannot be transferred to IM-MM managed (non-EWM) managed storage locations in 1909 S/4HANA or previous releases.

Customer returns with quality inspection: Inspection of customer returns are only supported with Advance Return Management (ARM).  When ARM is used with quality inspection document, QA32 EWM inspection or /SCWM/QINSP_S4 cannot be used for result entry. Partial inspection result entry based on handling unit is only possible with material inspection in warehouse tcode : MSR_INSPWH.  Posting changes are replicated to EWM via delivery document. Please refer to OSS note 2806070 – SAP S/4HANA 1909: Release information and restrictions for EWM in SAP S/4HANA. Help Document : Integration with Warehouse Management

Partial result entry per HU: Quality inspection result entry from EWM is possible with quality inspection work center. Quality specific packaging work center in EWM can be used to repack handling units and enter partial inspection result for handling units:   transection code /SCWM/QINSP_S4 – Quality Workload Overview. Partial decision functionality is available with S/4HANA 1709 SP01.

After QM inspection lot result entry follow-up actions can be triggered to create put away warehouse task.

Internal inspection lot creation from EWM: an inspection lot can be created for an available stock directly in EWM, for this purpose IOT5 should be activated and inspection type 1708 should be used. An inspection rule should be created in /scwm/qrsetup an generic inspection rule with owner can be used. Also, an exception code should be defined to record the requirement with following business contexts. Inspection lot creation using RF devices is also supported.

Creating internal inspection lot from EWM warehouse monitor

Acceptance Sampling with inspection rule:  Inspection lot can be created before goods receipt posting with inbound delivery creation. Following configurations are required:

In case inspection rules are in use, then a specific inspection rule has to be maintained for acceptance sampling

In case inspection rules are not in use; a quality inspection info record is needed to trigger acceptance sampling. A new inspection type should be created with source inspection type 01 and maintained in quality inspection info record. Quality inspection material master data is required to be maintained accordingly.

Following follow up action can be configured:

Accept:  Stock status would be updated to unrestricted, after goods receipt a second inspection lot is not created

Reject: Goods receipt is blocked.

Accept with reservations: Second inspection document is created after goods receipt.

With 1909 release, EWM QM integration simplified, bugs are fixed. Future improvements are expected in EWM &QM integration with new releases.

You’ve made it to the end, so feel free to comment ?

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Pierre Pruvost
      Pierre Pruvost

      Hi Yunus ,


      At first, thank you very much for this blog, we were waiting for it so much! I still have a question about the inspection without inspection rule. in the generic inspection rule you have defined, you still use the 1701, is it a requirement? Another question, in the material master and the related screenshot you are also using the 1701, could I use the 01 in this case instead, without any 17xx?

      Thanks in advance,




      Author's profile photo Yunus Yucesoy
      Yunus Yucesoy
      Blog Post Author

      Hi Pierre,


      Just updated the post,  when you set the configuration to no inspection rule, standard QM configuration and QM master data would work.




      Author's profile photo Pierre Pruvost
      Pierre Pruvost

      Hi Yunus,

      it works perfectly now. Thanks a lot,




      Author's profile photo Ismail Hakki Ince
      Ismail Hakki Ince


      Thanks for sharing this blog. I'd like to ask about 1704 inspection types. I defined indepented stock type"QQ" on inspection rule. Finished products are transferred to EWM system with 313 - 315 movement type. Although inspection rule is defined, inspection lot has created but stock type is unrestricted in inbound delivery.


      Another case, goods can be post EWM quality inspection stock on good receipt from purchasing orders, I defined same inspection rule. I changed only inspection type "1701".  The inspection lot has created and stock type is quality inspection in inbound delivery.

      Also, I have maintained on Deactivate Quality Inspection for a Movement Type "315" . I have activated 315 movement type.  After 315 movement, how to post quality inspection on EWM (Q3) ?   Do you have any suggestions?




      Author's profile photo Yunus Yucesoy
      Yunus Yucesoy
      Blog Post Author

      It is normal, stock type should be updated after goods  receipt,



      Author's profile photo Andrew Gaines
      Andrew Gaines



      Did you find a resolution to the issue you observed with a 315 movement?  I'm having the same issue where the 315 movement corresponds to an inspection lot, but the the inventory is received into unrestricted status.




      Author's profile photo Bruce King
      Bruce King

      Good blog. So with stock types and follow on functions. I have 3 stock types one material number Example 5 x 5 plastic sheet. All need to be QA before going to PSA.

      First example we can do : bring in general stock and A R goes to proper final bins

      Case 2 same material number but is consignment. How to you get the system to know it is consignment and send it to consignment bins after AR using follow on functions

      Third is you take material and send it after AR to the PSA area.


      Author's profile photo s surakasi
      s surakasi

      Nice Blog!




      Author's profile photo Arindam Sinha
      Arindam Sinha

      Regarding Internal inspection lot creation from EWM, you have mentioned about using inspection type 1708. But this is when we will be using inspection with inspection rule.

      If I go with inspection without inspection rule, as per SAP help I should activate inspection type 08

      But when I am following the steps mentioned in SAP help (warehouse internal Inspection ->Stock inspection) - nothing is happening.

      So my question is can we use inspection w/o inp rule for warehouse internal inspection ?

      If yes - what should be the inspection type to be activated?

      Other than activating IOT-5 w/o inspection rule and keep inspection type 08 active - so we need to perform any additional set-up in the system?


      Author's profile photo Balint Meszaros
      Balint Meszaros

      Hi Yunus,

      great post!

      Is there a way to differentiate whether inspection lots are created based on inbound delivery document type?

      In our case the origin of inspection lot at warehouse dependent customizing for IOT4 needs to be set at 'From material master'. The issue is that some materials that have inspection type '17' active, are sometimes purchased, sometimes manufactured in-house and sometimes just transferred from IM-MM to EWM. These 3 processes use 3 different document types, but we are not sure how to set up the system (ie /SCWM/QRSETUP) so that inspection lots are created only for the 'regular' inbound deliveries.

      Thanks for the help in advance!


      Author's profile photo Daniel Barrantes
      Daniel Barrantes

      Hello Yunus,

      A pleasure to greet you, I tell you that we are implementing S / 4 Hana 1909. We have performed the indicated steps to activate the "EWM-QM integration without inspection rules when using embedded EWM" functionality, but at the time of making the use decision with transaction QA11, the warehouse task in EWM was not is generating, we are probably missing a step. Could you guide us please.
      Thank you very much.

      Author's profile photo Waqar Danish
      Waqar Danish


      Hope you have successfully implemented EWM with QM, I am doing same task and stuck at to setup EWM with QM integration. Please share your expert help to configure embedded EWM with S/4HANA 2020. Thanks in advance!!!



      Author's profile photo Rohit Muthyala
      Rohit Muthyala

      Hi All,

      I am currently working on Product inspection , I have used 1708 as the inspection type .

      When I am creating the Quality inspection setup , I am getting below error .

      This scenario ,I would want the CRID to create the inspection but the QR setup is not working in S4hana 1909 FP2.

      Attached the error below .


      Thanks Rohit .M


      Author's profile photo Alexander Osterer
      Alexander Osterer

      Hi Rohit, did you find a solution?

      Author's profile photo Caetano Almeida
      Caetano Almeida

      Hello Rohit and Alexander

      If you have a specific issue related to QM in EWM, please open a new thread with your question, rather than posting in the comments of a blog. it had much more visibility and the solution will be quicker.



      Author's profile photo Martin Prokop
      Martin Prokop

      Hello Yunus,

      thank you for the comprehensive description.

      I have configured the scenario without inspection rules. Inspection lot is created upon GR of the first HU, related to a specific inbound delivery item. This HU is directed via POSC (step QIS) to the QI work center.

      But, in fact, all other HU's of the same product are directed to the QI work center too. Even if the quality check will be performed only on a quantity from the HU1.

      How can I control, that only the first HU of the product is moved to QI work center and the other HU's are either waiting in GR-ZONE or can be put away, being in Q3 stock type?

      Thank you