Skip to Content
Technical Articles
Author's profile photo HariKrishna Yerramsetti

SAP S/4HANA Embedded EWM-QM Integration Setup-1709

The main purpose of this blog is to share about EWM-QM integration setup and transaction processing with one example.

Typically all SAP folks seen about integration between WM and QM in ECC system, Integration between EWM and QM in decentral system.  But many has confusion about how EWM-QM solution works in Embedded S/4HANA system 1709 and above.

This blog will help to people who are working on S/4HANA 1709 and above implementation projects.

Below is the inspection process flow diagram at highlevel.  Below we will see all configuration requirements and transactional steps execution.

 

1. Edit Code Groups and Codes for Usage Decisions

IMG Path Quality Management à Quality Inspection à Inspection Lot Completion à Edit Code Groups and Codes for Usage Decisions

 

2. Maintain Inspection Type

IMG Path Quality Management à Quality Inspection à Inspection Lot Creation à Maintain Inspection Types

 

3. Maintain Inspection Lot Origins and Assign Inspection Types

IMG Path Quality Management à Quality Inspection à Inspection Lot Creation à Maintain Inspection Lot Origins and Assign Inspection Types

4. Define Default Values for Inspection Type

IMG Path Quality Management à Quality Inspection à Inspection Lot Creation à Define Default Values for Inspection Type

5. Define Stock Types

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Master Data à Product à Define Stock Types

6. Define Storage Type

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Master Data à Define Storage Type

 

7. Define Process-Oriented Storage Control (Storage Process Definition)

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross-Process Settings à Warehouse Task à Define Process-Oriented Storage Control

8. Define Warehouse Process Type

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross-Process Settings à Warehouse Task à Define Warehouse Process Type

9. Define Control Indicators for Determining Warehouse Process Type

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross-Process Settings à Warehouse Task à Define Control Indicators for Determining Warehouse Process Type

10. Determine Warehouse Process Type

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross-Process Settings à Warehouse Task à Determine Warehouse Process Type

  1. Generate Activity Area from Storage Type
IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Master Data à Activity Areas à Generate Activity Area from Storage Type

12. Define Sort Sequence for Activity Area

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Master Data à Activity Areas à Define Sort Sequence for Activity Area

13. Define Storage Section

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Master Data à Define Storage Section

14. Define Process-Oriented Storage Control

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross-Process Settings à Warehouse Task à Define Process-Oriented Storage Control

 

15. Define Storage Type Search Sequence for Putaway

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Goods Receipt Process à Strategies à Storage Type Search à Define Storage Type Search Sequence for Putaway

 

16. Assign Storage Types to Storage Type Search Sequence

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Goods Receipt Process à Strategies à Storage Type Search à Assign Storage Types to Storage Type Search Sequence

 

17. Specify Storage Type Search Sequence for Putaway

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Goods Receipt Process à Strategies à Storage Type Search à Specify Storage Type Search Sequence for Putaway

18. Maintain Storage Section Search Sequence

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Goods Receipt Process à Strategies à Storage Section Search à Maintain Storage Section Search Sequence

19. Warehouse-Dependent Activation of Inspection Object Type

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross Process Settings à Quality Managementà BasicsàWarehouse-Dependent Activation of Inspection Object Type

IMG Path Quality Management à Quality Inspection à Inspection Lot Completion à Define Inventory Postings

20. Edit Selected Sets for Usage Decision

IMG Path Quality Management à Quality Inspection à Inspection Lot Completion à Edit Selected Sets for Usage Decision

21. Maintain Settings at Plant Level

IMG Path Quality Management à Basic Settings à Maintain Settings at Plant Level

22. Define Follow-Up Actions

IMG Path SCM Extended Warehouse Management à Quality Management à Quality Inspection à Inspection Lot Completion à Define Follow-Up Actions

23. Maintain Follow-Up Actions

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross Process Settings à Quality Managementà ResultàMaintain Follow-Up Actions

Other QM settings: Maintain Settings at Plant Level

Maintain Inspection Types

Maintain Inspection Lot Origins and Assign Inspection Types

Define Quality Score Procedure

Edit Code Groups and Codes for Usage Decisions

Decision codes

Edit Selected Sets for Usage Decisions

24. Specify Work Center Layout

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Master Data à Work Center à Specify Work Center Layout

25. Define Work Center

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Master Data à Work Center à Define Work Center

26. Assign Default Work Center for Inspections

IMG Path SCM Extended Warehouse Management  à Extended Warehouse Management à Cross-Process Settings à Quality Management à Result à Assign Default Work Center for Inspections

27. Generate Inspection Object Types Version

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross Process Settings à Quality Managementà BasicsàGenerate Inspection Object Types Version
  1. On the Generate Inspection Object Types Version screen, select the line IOT 4.

 

  1. Press the button “Generate New Version”.

 

  1. Confirm the Pop-Up by pressing Enter.

28. Maintain Inspection Object Types Version

IMG Path SCM Extended Warehouse Management à Extended Warehouse Management à Cross Process Settings à Quality Managementà Basicsà Maintain Inspection Object Types Version

29. Inspection Rule

Transaction Code /SCWM/QRSETUP
Path LogisticsàSCM Extended Warehouse ManagementàExtended Warehouse ManagementàMaster DataàQuality ManagementàMaintain Inspection Rule

30. Create Warehouse Product

In this step the products (the actual products as well as the packaging materials) which are used in the business processes are initially created as EWM warehouse products.

SAP Menu Logistics → SCM Extended Warehouse Management → Extended Warehouse Management → Master Data → Product → Maintain Warehouse Product
Transaction Code /SCWM/MAT1

On the Display/Change/Create Warehouse Product screen

31. Inspection Plan

Transaction Code QP01
Path LogisticsàQuality ManagementàQuality Planningà Inspection Planningà Inspection PlanàCreate

32. Create Storage Bin

Transaction Code /SCWM/LS01
Path Logistics à SCM Extended Warehouse Management à Extended Warehouse Management à Master Data à Storage Bin à Create Storage Bin

33. Define Master Data Attributes for Work Center

Transaction Code /SCWM/TWORKST
Path LogisticsàSCM Extended Warehouse ManagementàExtended Warehouse ManagementàMaster Dataà Work Center à Define Master Data Attributes

34. Maintain packaging specification

Maintain packing requirements for product.

35. Transaction data:  Now we will the inbound flow for EWM-QM in S.4hana 1709 system.

Create Inbound Delivery.

Check PRDI for IBD and packing information.

Create warehouse task for the IBD.

Now go /SCWM/MON and check if the open unload task is available for confirmation.

Confirm in the background. GR will also be posted.

We can also observe the stock category and inspection lot

We can also check the inspection lot details in QA32/QA02.

Once unloading task is confirmed we can observe the Quality task got opened.  Confirm it to start the inspection process.

We can observe the GR posted.

After confirming the 2nd warehouse task final putaway task is still showing in waiting.  It will be opened when the inspection process is completed.

So stock is still in Q4 status.

Check QA32 for inspection lots created for this material and initiate the usage decision for it.

Here once we give the UD code as accepted, click on EWM inspection to check the details.

Another screen gets opened(/SCWM/QINSP_S4), here select the line item and click on Close HU and Save.

Once fllowup action given, close the HU.

We can also see the open warehouse tasks which are pending for usage decision in /SCWM/QINSP_S4.

Now refresh the MON and see if the waiting task is open

Here we can observe Posting change happened to Q4 TO F2. Final task opened with Stock status F2.

Confirm the warehouse task

Final dashboard of monitor

Inspection Lot details can be seen in QALS table.

Check MMBE

We can see the material document created for stock change(PCN-321) and the goods receipt posting 101 movement also can be observed.

Conclusion:

Some time back when one of my client asked to show demo in S/4system about QM inspection process, I struggled a lot to build the end to end flow and not found much information in any website.

Considering that in mind, I want to share the process I built for my client.  This may not be the only process we can build but, using this as a reference you can build more complex scenarios based on your client’s requirement.

 

Thanks,

Hari Krishna Yerramsetti

Assigned tags

      12 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Ganesh Shinde
      Ganesh Shinde

      Very good explanation....!!!

      Thank you for this information.

      Author's profile photo Durendran Chandran
      Durendran Chandran

      Excellent Post, Thank you 🙂

      Author's profile photo ATILAY CANERKEK
      ATILAY CANERKEK

      This is very useful document.

      Good explanation.

      Author's profile photo Simon Scheuring
      Simon Scheuring

      Hi,

      nice Instruction Guideline. It was very helpful. But during selecting the decission code I get an error Message e085(/scwm/qui_wrkst) in QINSP_S4, which is saying "Follow-up Code EWM_A is not valid".

      We have also choosen the follow up action L  Usage Decision for Inspection Lot.

       

       

      But in the coding I found  the following selection.

      Class: /CL_QUI_INSPPLOT_S4

      Method:get_fup_valueset

       

      Can you help me ?

       

      Thanks in advance

      Author's profile photo Ilker Aktas
      Ilker Aktas

      You have chosen L as function follow up for your function. You need to choose T.

      Author's profile photo Shiv Shankar Gautam
      Shiv Shankar Gautam

      Hello,

      I think you have to use UD & Follow up Action for Partial Lot here. If you see in the blog - Author has used EWM_AP at /SCWM/QINSP_S4 screen. Also it is mentioned in SAP documentation under Procedure:

      https://help.sap.com/viewer/9832125c23154a179bfa1784cdc9577a/2020.001/en-US/6abe45bfe9df426eaa482a611269bee1.html

      If you are working with the QM component, do the following:

      1. On the SAP Easy Access screen, choose Quality Management  Quality Inspection  Inspection Lot  Usage Decision  Record.
      2. Select your inspection lot and record the usage decisions for complete inspection lots.

        To record usage decisions for partial quantities of inspection lots, choose EWM Inspection. Then, on the Stock Items to Be Inspected screen, select the stock item, choose Action, and record the usage decision.

         

       

      Author's profile photo I am Marvin
      I am Marvin

      Hello Simon,

      I got this error for some weeks too. You have to set code groups and selected sets for UD for partial quantities. Standard is UD1701 and UD1701P. Create Z1701P and maintain it under “Maintain Settings at Plant Level” in “PL Sel. Set” for ewm nspection type

       

      Author's profile photo Partha Mukherjee
      Partha Mukherjee

      thanks for the post. it is really helpful.

      But I have a question for you. I have followed all your steps and found one problem in details of inspection lot, system is not able to determine EWM warehouse. I have checked mapping of ECC plant-storage location and EWM warehouse and other settings. if you have any clue, please reply.

       

      thanks

       

      Author's profile photo Bruce King
      Bruce King

      Great blog. For consignment stock how would you automatically differentiate regular stock from K stock for the 1704 inspection method?

      Author's profile photo PAVAN KUMAR KULKARNI
      PAVAN KUMAR KULKARNI

      Hello Harikrishna ,

      It is a really amazing document . Helped me in learning EWM QM Integration part.  Appreciated ..

      I'm getting one issue in my testing.

      I did the entire configuration which is showing above. Unfortunately , When I complete the UD in QA32 , system is not triggering back to EWM to open the final Putaway task . Am I missing some configuration or technical stuff ? Looking for your help in this regards

      Pavan G Kulkarni

      Author's profile photo sai karthik
      sai karthik

      Have you closed hu by clicking Ewm inspection in qa32? Then it will release the task for out away I guess...

      Author's profile photo Voravat Srisakdanuwat
      Voravat Srisakdanuwat

      Dear HariKrishna Yerramsetti,

       

      Very good topic, may I ask some questions. I want to reverse UD stock from EWM but stock not relevant, SAP note to reverse 175842 - Inspection lot: Reversal of goods movements from usage decision.

      How I can solve this problem.

       

      Thank You