Configure Quality Inspection in EWM – Step by Step process
Hi All
In this blog, I would like to explain the Quality Inspection configuration in EWM.
Helpful Reading:
- EWM 100 and EWM 120
- SAP Help – EWM QM
Configurations needed in EWM and ERP:
Please see steps in SAP Help Customizing Settings for QM in EWM – Quality Management (QM) – SAP Library
EWM Configurations in Detail:
Warehouse Independent/Global Configurations:-
Define external QM system (assuming business system for ERP is already defined) –> In case if you want to perform QI in EWM alone, skip this step.
Inspection Object Type (Manual activity in each system)
Generate Inspection Object Type – select required IOT and click Generate
Maintain versions of Inspection Object Types and Properties
Define properties needed – these will appear in inspection rule; Also useful for inspection doc creation
Define indexes
Inspection Document
Create Number range Groups
Create number ranges to cater different IOTs
Assign number ranges to groups
Sample Types/Item Types
Create number ranges groups
Create number ranges to cater different IOT related Samples/Item types
Assign number ranges to groups
Define sample types
Define item types
Quality inspection group
Define QIG – need to be in sync with ECC
Finding type
Create number ranges groups
Create number ranges to cater different IOT related findings
Define finding types
User decision
Define user decision codes – to be in sync with ECC
Define group
Group the codes
Define follow up actions and assign them to user decisions
Define exception codes
Sample Drawing procedure – EASY ACCESS/Master Data/QI
Warehouse Dependent Configurations:-
Maintain IOT for the Warehouse
Maintain follow up actions for WH
Create inspection rule – EASY ACCESS/Master Data – Manual activity in each system, can be uploaded using CSV.
Testing the configurations made:
1. Create inbound delivery in ERP and Distribute it to EWM.
2. Inbound delivery will be created in EWM automatically.
3. Unload and Post GR in EWM, QI document will be created in background. To validate this check the system logs in ECC and EWM.
ECC Logs:
EWM Logs:
For IOT-4, inspection document follows below statuses
- Created – at inbound delivery creation
- Released – after GR posting, notifies ERP
- ERP creates inspection lot
- Notifies QIE in EWM with lot# (event type linkages & BADI should be in place)
- Updated – EWM inspection document will be updated with inspection lot
Please check below threads also.
Hope this is helpful to you. Do let me know if you need any additional information.
Thanks
Sasidhar Gupta
Sasidhar,
Thank you very much for this post. This was very helpful.
I had one more question. The Quality Inspection Group has a 4 digit nomenclature in EWM QIE. ECC has an 8 digit identifier.
e.g if I have an ECC Inspection Plan Group as APZ000001 , then the EWM Inspection Group will have to be APZ0? or APZ*.
Also, if I am converting Inspection Plans in ECC for which I have a conversion template with fields from the tables PLKO, PLPO, MAPL, PLMK.
What inspection plan conversion template do I need for QIE in EWM? Will it include the Inspection Group? or are there other fields to be considered.
Any information will help.
Thank you
Hi Anup
QIG need to be entered in material, warehouse execution view. It is 4 character field.
SAP ERP IMG > Integration with Other SAP Components > Extended Warehouse Management > Additional Material Attributes > Attribute Values for Additional Material Master Fields > Define Quality Inspection Group
Thanks
Sasidhar Gupta
Sasidhar,
Thanks for the inputs. I found out the fields to be mapped in EWM.
The transaction code is /SCWM/QRSETUP
Quality Inspection Group
Product
Doc. Type
Procedure
Rule Group
Group
Kindly let me know if there is anything else I need to add
Thanks
Anup
Sasidhar,
Need urgent help. I have created a number range for inspection documents. I have created a group as well.
In the configuration for assign number range to inspection documents I just see 01 and nothing in the column next to it. The drop down is greyed out.
I also see the number range group is not assigned to the number range. Can you please let me know how this is done in QIE configuration. I need this for PROD manual configuration.
Thanks
Anup
I ran RSSNROT1 using SE38 to make corrections to the number range. Then assigned the group using the Assign Element/Group button and clicked on the group number 01 in the pop up screen. This program was run in EWM for any number range corrections. Once this was run I had to recreate the group, assign the number range and then assign the group. The number range was then assigned correctly to the group in the subsequent configuration screen.
Dear Sasidhar ,
Thanks for such a great build , can you please incorporate appropriate IMG path to navigate .
Thanks
Jinoy
Dear Sasidhar,
Thanks for sharing your knowledge. Do you know how to configure inspection skip in EWM? i.e. if I dont want inspection document and inspection lot to be created in a certain time period, how to achieve this? In ERP we have quality info record to control this, but this has no control in the case of EWM and QM integration.
Regards
Danny
Hi Danny,
Basically the inspection rule decides the inspection document creation in EWM,
Please execute /SCWM/QRSETUP to check @ what level inspection setup is done, if its done at material level and you deactivate in this transaction system would not generate any QI document in EWM.
You could activate again whenever you want QI document in EWM.
Thanks,
Ganesan
Hi Ganesan,
Thanks, I will try.
Danny
Hi Danny
As Ganesan said first check how you wanted to setup inspection lot creation. We don't have activation period for inspection in EWM. Either you can de-activate inspection for entire warehouse or make use of inspection rules to activate for required materials.
Thanks
Sasidhar Gupta
Hi Sasidhar,
If I can activate/deactivate inspection rule for materials, then my requirement can be fulfilled. Just to confirm: if inspection rule is deactivated for a material, then inspection document & inspection lot will not be created, right? that means GR can be done freely as well as putaway, and no more quality inspection is involved?
Regards
Danny
Hi Danny
Yes, but you must be careful while setting up inspection rules to make sure other rules will not generate inspection document for this material.
Thanks
Sasidhar Gupta
Hi Sasidhar,
When you say deactivate inspection rule for a material, do you mean "delete"? In /N/SCWM/QRSETUP I cannot find activate/deactivate button, there is delete button, is this what you mentioned?
Thanks
Danny
Hi Danny,
Apparently there is no buttons to activate/deactivate the rule. At the same time we can't advice you to delete the rule unless we know what level the rule is being maintained in your system and what level you don't want QI doc. Rule can be created for single product or all products or specfic document type level or item type level and etc.
So try to understand your system rule setup in this transaction and make a decision accordingly.
If the rule is created at just a product level and you don't want QI document for that specific product then the only option is to delete that record.
Thanks
Ganesan ..... Krypt Inc
Hi Ganesan,
In my system, inspection rule is set up at product level. But for certain product, sometimes I want inspection lot, sometimes not. which way do you think I can go? is it to delete inspection rule when I don't want inspection lot and re-create it if I want inspection lot?
Thanks
Danny
Hi Danny
If your rule is at product level then you can delete that specific rule. The rules for other products are also at product level so they will not trigger inspection for this product.
Regards
Sasidhar Gupta
Sasidhar,
I had a question on the inspection type to be maintained in ECC in conjunction with EWM. I am assuming we will have to use inspection type 17.
I will be using incoming inspection as well as in process inspection . Do I have to use the inspection type 17 for both types of inspection.
Can I create variants of the inspection type 17 with different number ranges for incoming inspection e.g Z01 and in process inspection like Z04 with the number range 170000000000 to 17999999999 or can I have different number ranges for each.
Kindly let me know
Thanks
Anup
Hi Anup
Please see my replies below
Q: I had a question on the inspection type to be maintained in ECC in conjunction with EWM. I am assuming we will have to use inspection type 17.
A: Inspection type 17 is for external system initiated inspections. Since we initiate inspection in EWM, we need to use inspection type 17 when we are doing QI checks using EWM & ERP.
Q:I will be using incoming inspection as well as in process inspection . Do I have to use the inspection type 17 for both types of inspection.
A: Please add more details what do you mean by incoming inspections and in process inspections. If you are referring incoming inspections as EWM triggered inspection lots and in process inspections as ECC triggered inspection lots then you'll have different inspection types.
Q: Can I create variants of the inspection type 17 with different number ranges for incoming inspection e.g Z01 and in process inspection like Z04 with the number range 170000000000 to 17999999999 or can I have different number ranges for each.
A: Please clarify above for better understanding of your scenario.
Thanks
Sasidhar Gupta
Sasidhar,
In my current client I have two scenarios:
1. Receive material incoming via inbound delivery and trigger quality inspection . Iam assuming I will use the inspection type 17. Also, how do I receive the material into Quality Stock since inspection type is not stock relevant. The only way we could do that is by setting the 'Post to Inspection Stock' indicator in the QM view of the Material Master in ECC. How do I do a Usage Decision in ECC to the correct stock type e.g to Unrestricted Stock or to Blocked Stock. I see the follow up actions to be configured in EWM. How does that work? How are partial UD's done using the EWM- ERP interface?
2. If iam receiving material using an inbound delivery for a purchase order can I still use the incoming quality certificate functionality with the EWM ECC interface? In ECC an incoming quality certificate gets created on Goods Receipt of the Purchase Order by activating the control key in the QM view of the Material Master and viewed using QC55.
3. I will doing quality inspection at the time of Goods Receipt of a Production Order. With EWM setup do I need to use inspection type 17 or can I still use the ECC inspection type of 04?
Thanks for your help with this. I hope this gives you a better understanding of my requirement
Hi Anup
1. Yes, use inspection type 17. In EWM inspection rule setup, you can mention whether stock should be posted to QI or not. No setting required in ECC.
In ECC, you can only take decision like Accepted/Rejected. Same will be updated in EWM. Based on follow up actions configured for this decision stock posting will be done in EWM and update sent to ECC. Partial User decisions are only for recording purpose only. Ultimately we can do only two things either accept or reject. So, make sepearate HUs for accepted & blocked stock, assign the code to it. In this way stock status will be updated as desired.
2. Are you using ECC or EWM for warehouse operations? However since inspections are different for EWM managed or LE-WM managed operations, there should not be any problem. Sorry, I am not good in ECC can't provide more details on it.
3. If you are posting GR from EWM then use inspection type 17 or otherwise use internal inspection type.
Regards
Sasidhar Gupta
Sasidhar,
Thanks for the quick reply.
1. Question on moving the stock to QI for example from EWM. You mentioned the inspection rule needs to be activated for this to happen. Is this by setting the NST drop down value for QQ(Stock in Quality Inspection). How do you make separate HU's for accepted or blocked stock in EWM. Is there a special transaction for doing that?It would be helpful if you could send me the transaction code and configuration required to do a partial UD.
2. We are using EWM for warehouse operations. I will check the scenario for incoming certificates in ECC with the EWM interface and get back to you.
3. We will be posting GR for Production Order from EWM. So I believe I will have to use inspection type 17 for that. Thanks for your help
Thank you very much.
Hi Anup
1. Yes, choose QQ from drop-down. Use the QI workcenter to make HUs. /scwm/qinsp. It is the same way you do for normal UDs, just description changes. 🙂
Regards
Sasidhar Gupta
Sasidhar,
Thank you very much for the quick reply. I cant find /scwm/qinsp in my c urrent EWM system. We are on EWM 9.1. Is that the correct tcode?
Regards
Anup
Hi Anup,
This tcode is part of EWM 9.1 , try again with /N/SCWM/QINSP
Thanks,
Ganesan, Krypt Inc.
Ganesh,
Thank you very much that worked.
Sasidhar,
I have finally implemented the SAP note for the EWM inspection button in Partial UD which works now with the system dialog for the RFC user. When I click on the EWM Inspection button I get a pop up screen which says the following: Inspection stock does not exist in work center. The reply I got from SAP is as follows: Please move physical stock into a work center bin. Inspection is only possible in the work center.
Which transaction should I use to get this done in EWM.
Thanks
Anup
Hi Anup
Configure your inbound steps such a way that after unloading, HUs will be moved to QI area. Check standard POSC for reference.
Regards
Sasidhar Gupta
I get this error message while clicking on the EWM Inspection button on the QA11 UD screen:
Hi Anup,
Please make sure that unloading has done before GR, if not, the error could happen.
Danny
Sasidhar,
Iam trying to create an inspection lot after Goods Receipt of the Production Order using /SCWM/PRDI . I have set up the inspection rule in EWM and assigned inspection type 17 to the material. Not getting the inspection lot in ECC yet. Let me know what steps I should execute in case iam missing something.
Thanks
Anup
Sasidhar,
I had a couple of questions:
1. Have you ever implemented SAP Note 1997581. Iam not able to get the following after implementing this note
Hi Anup
Sorry, we did not implement this note.
Regards
Sasidhar Gupta
All,
I tried researching the QC55 issue posted earlier with an incident posted to SAP. The incoming quality certificate functionality is not supported with EWM into ECC. This was confirmed by SAP Dev team in Germany.
Regards
Anup
Hi Sasidhar ,
I followed your steps, but inspection document is not generated, the inspection rule I have maintained on product level.
Status shows the QM inspection planning has been completed. However, no inspection document has been created. I have checked all my configurations and nothing seems to be wrong.
Hi
Please check system logs in SLG1 in both EWM and ERP.
Thanks
Sasidhar Gupta
Hi,
I did the QM setup with IOT 4, normally if we want to split the quantity during QM decision , we need to create 1 HU for Accepted and 1 HU for rejected @ QM work center then in QM document we could enter the quantity at element level with split quantity (Ex 2 EA accepted, 3 EA rejected). Is that right?
Can we take QM decision from RFUI for the IOT 4 or RFUI support only specific IOT?
When i tried to take decision RFUI with IOT 4, the results are stored wrongly in QM doc.
Please let me know the steps required to take QM decision from RFUI.
Thanks,
Ganesan
Hi Sasidhar/Anybody,
I did the QM setup with IOT 4, normally if we want to split the quantity during QM decision , we need to create 1 HU for Accepted and 1 HU for rejected @ QM work center then in QM document we could enter the quantity at element level with split quantity (Ex 2 EA accepted, 3 EA rejected). Is that right?
Can we take QM decision from RFUI for the IOT 4 or RFUI supports only specific IOT?
When i tried to take decision RFUI with IOT 4, the results are stored wrongly in QM doc.
Please let me know the steps required to take QM decision from RFUI.
Thanks
Ganesan
Hi Ganesan
I did not try QM using RF. May be you can check SAP Help.
Thanks
Sasidhar Gupta
Hi Sasidhar,
When you define external QM system installation, do you need to assign XI business system? I have configured the following in my system:
Business system: ERP_001 (with logical system ERDCLNT001 assigned)
External QM system (Installation): ERP_001
Warehouse dependent setting: Assign ERP_001 to my warehouse
When I do GR for inbound delivery, I always got the error /SCWM/QINSP095: Unable to determine RFC destination for QM connection; check Customizing.
Only when I set business system and external QM system to the logical system ERDCLNT001, I did not get the error.
Although the business system has a logical system assigned which is identical to the installation, the system compares the installation with business system instead of the logical system. It seems this logic only applies to the integration with QM, for other ERP integration, we can set business system freely.
Regards
Danny
Hi Danny
To use QRFC communication instead of XI, you need implement BADIs in EWM and ERP. Refer EWM 120 or SAP Help.
Thanks
Sasidhar Gupta
Hi Sasidhar,
I have implemented the BADI QPLEXT_COMM_TEC in ERP, according to the SAP Help, only this BADI needs to be implemented, what else BADI I need to implement in EWM?
"Implement QPLEXT_COMM_TEC in the ERP system to switch to using background RFC as communication technology."
Regards
Danny
Hi Sasidhar,
I saw your external QM system installation is ERP_001, then what are the business system and logical system?
I am struggling with this problem for weeks, I appreciate if you can help figure it out, please refer to details at: EWM QM integration: business system, logical system and installation.
Thanks
Danny
Hi Danny
You need to implement QIE_EX_COMMUNICATION in EWM. Refer note: 1278425.
Installation name should match business system name. Check RFC destination assigned to Logical system. IMG --> EWM --> Cross process settings --> QM --> Basics --> Assign RFC destination to Logical system.
Check SLG1 for more details on communication errors.
Thanks
Sasidhar Gupta
Hi Sasidhar,
The BADI iwas already implemented, I do not see errors in SLG1.
Sasidhar,
Another question. I am using Object type IOT4 Inbound delivery / batch. How do I get the HU units to appear in the inspection documents. Or do I have to search for the HUs related to the batch and inspection document using /SCWM/POST with a specific variant.
Is there a way to inspect by batch and HU for an inbound delivery?
Thank you in advance
Hi Anup
When you post GR, inspection document will be generated in EWM. So, you should have HUs already before posting GR. If you are not having HUs in inbound delivery, pack goods into HUs and unload & Post GR. This way you can inspect HUs with IOT4.
At header level, you don't have filter on Batch since batch is not in IOT properties. But at item level you can use the batch (check node define item type).
You may want to initiate internal inspection, use IOT5.
Regards
Sasidhar Gupta
Hello,
In my case - a reason for this error - wrong RFC destination for Material in /SCWM/QRSETUP
1,2 - Correct RFC
3 -Incorrect
Resolution - Recreate with correct RFC
Hi Sasidhar ,
I have configured quality management according to EWM120 & your post.While creating inspection Rules for "Q-Inspection Inbound delivery" i am getting an error "External qm system of type does not exist"
Message no. QIE_CUSTOMIZING_API024 . I have created inspection rule for counting inbound delivery without any error.Please help to resolve the error.
Thanks
Sohan
Hi Sohan
Make sure that ERP business system name and external qm system name matches.
Thanks
Sasidhar Gupta
Hi Gupta,
I have made the whole process working in my system, I didn't use Sample Drawing Procedure. Could you let me know what is the Sample Drawing Procedure used for? For sampling, we can maintain inspection procedure and sampling type in the inspection rule, why do we need Sample Drawing Procedure?
Regards
Danny
Sasidhar,
I've completed the setup which you have described and all is functioning as required. I've also integrated the follow-up actions into the process and these are all working (e.g. Scrapping, Put away for Delivery), except the "Stock Transfer to Different Warehouse" follow-up action. The need for these follow-up actions is based on our usage of Advanced Returns Management.
During the decision process in EWM, when selecting the UD which is tied to "Stock Transfer to Different Warehouse", a failure message appears with the following message: "Inspection document xxxxxxxxxxxxxx not found", and then the transaction is terminated. I was wondering if you had completed any of the setup for this specific follow-up action, and if there was any additional setup required.
I've seen text within the SAP documentation to be sure to include the STO receiving warehouse "business partner". And through the menu path "Define Master Data of Follow-up Actions", I have maintained the business partner here. However this does not alter the error message I am receiving in any way.
I would appreciate any help.
Thanks,
Chuck
Dear Sasidhar,
I had a question on material to material reclassification in EWM. In ECC this can be done by using a 309 mvt type with MIGO to change Material A to Material B. How is this process carried out in EWM.
Thanks
Anup
Hi Sashidhar,
You have mentioned in your original post that there is method to mass upload inspection rule in EWM through CSV file.
Could you please let us know the detail.
Regards,
Malay
All,
I had a question on IOT 4 Product/Batch. I am doing Goods Receipt inspection for a Production Order which generates a batch using SCWM_GRPI. When I pack the HU it creates an inspection document for every HU. I wanted to understand how I can get multiple HU's in one inspection document. I noticed a setting for Inspection Control in the inspection rule. Iam using one inspection document for the delivery item. Should I be using option 1 Inspection Document for PO/Production item or 2 One Insp. doc for product batch - new document after decision.
Kindly advise.
Regards
Anup
Hello all,
I have a quick question. Did anybody work with allowing inspection stock to be shipped?
I have insp object type 017 active in ECC, I was able to ship the stock in EWM while a inspection document is open. These all worked out nicely. Only snag I ran into is preventing stock with inspection document open to go to customer while at the same time allowing it for STO only. The setting for allowing stock with inspection document open to be shipped is at IOT level. I know I can use badi to check for inspection doc status during picking but I am trying to find if there is any standard way to handle this. Your input will be appreciated.
Regards
RC
All,
I am trying to create an inspection in ECC from EWM QIE . I get the following message in the RFC queue: Program cannot be executed,inspection type is not filled
Inspection lot cannot be created for inspection document 4....70
This is for (IOT-4)
I have the inspection rule set up , inspection document is in status QI02,QI10. The Goods Receipt has been done for one HU.
How do I clear this message from the rfc queue. I have assigned the inspection type 1702 to the QM view of the material master. What is the best way to get the stock cleared from 1 Q if this does not work.
Thanks
Anup
Dear all,
I've setting inspection type 1701 (copy from 17) for inbound inspection type to integrate EWM and QM.
My my scenarios.
Step 1.Create inbound delivery in ECC against PO.
Step 2.Goods receipt in EWM.
Step 3.inspection lot generated in ECC
Step 4.Usage decision in ECC.
but I've the issues as follow.
On step 2. in case material have maintained certification required. EWM don't have certificate enclosed? field when goods receipt. (this picture this field has show when GR in ECC)
On step 4.Inspection lot quantity Tab missing in ECC when use tcode: QA11.
Please kindly suggest me. how to fix this issue.
thank you so much.
paradorn
Thanks Sasidhar for a valuable document and others for the inputs. I was able to configure the Inbound QM-Embedded EWM scenario (S4H1610).
Hi ,
I have configured EWM QM Integration for IOT 4 . Process steps are -
ECC Inbound Delivery created against PO
Inbound Delivery replicated to EWM successfully and Packing done
Unloading and GR posted @ GR-ZONE bin
ECC & EWM stock values updated in Quality Stock Category (ECC) and Q4 in EWM
Inspections results recorded and UD posted to unrestricted use ( ie accept ) all stock
Usage Decision updated to EWM from ECC successfully and EWM Stock Type changes to F2 through Posting Change
However the issue is - the Stock Category on the ECC side still remains in Q status... There I am expecting stock category to change from Quality to Unrestricted since in EWM also it has changed from Q4 to F2. There is no log in the SLG1 too on either side. Is there any other setting to be done to make this follow up posting change in ECC side ?
Please suggest .
Thanks.
Is there a way to mass update QRSETUP. I have 3000 materials with inspection plans where I need to load all the Inspection rule and I don't see a way to create. Any inputs is appreciated.
Hi Sasidhar,
when i start the transection /n/scwm/qrsetup click on create "procedure" getting grayed out I'm not editable it.It is due to missing config.
could you help me
Hi,
that means that the integration to ERP QM is active. Then C-100% inspection is the only option. What are you trying to select? Sample inspection? Then has to be setup in ERP QM then.
Brgds
Juergen
---
All the above is no official SAP statement.
Want to learn EWM?
Check for EWM courses: https://training.sap.com/search?q=ewm
Get a SAP Learning Hub Subscription: https://training.sap.com/learninghub
And it is EWM. NOT eWM - Duh!
And if your question includes the word "transfer order" - do NOT tag the question with Extended Warehouse Management!
Hi Juergen,
Thank you.
I wanted Sample Inspection it there but due to grayed out in Procedure I'm not able to change it. when i doing the transection it automatically taken "C" i.e 100% inspection.
In above discussion you told it is happen due to integration to ERP QM is active.
Could you pleas elaborate What can I do so that I can do it?
Thanks In Advance.
Hi,
as I wrote: you need to set up the sample inspection settings in ERP QM resp. in the quality inspection settings of the material master.
Brgds
Juergen
Hi Sasidhar,
Thanks for the document. We are in a process to implement Decentralized EWM system. We would like to configure Usage Decision Catalog codes.
As we have in SAP ERP, that we can maintain Usage Decision selected set for Catalog 3 (Usage Decision) at Plant level, I can maintain Code Group and codes but how can we maintain Usage Decision selected set for at Warehouse level in Decentralized EWM?
I want to maintain separate Selected set codes for each Warehouse location, in sync with different plants in ERP system.
Thanks in advance,
Akash