Skip to Content

SAP QM allow defect percentage

Jan 03, 2017 at 08:28 PM


avatar image

Hello everyone

is it possible we can allow defects percentage on QC plan / another way

and system automatically reject UD

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Craig S
Jan 04, 2017 at 05:43 PM

You would have to create a new FM, something like


In config you create a new valuation rule, (probably a copy of rule 20) and assign the new FM.

Add the rule to a new Valuation mode. (using 200). Select the new valuation rule.

Assign the new valuation mode to a sampling procedure and assign to the MIC.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks for respond , FM?

Currently i am using 210 valuation type but i am facing errors at qc plan , system is not allowing sampling procedure assign to MIC , i Shared MIC & sampling procedure snap shot ,. if you have any doc please share

error3.png (47.1 kB)
error-2.png (43.1 kB)
error-1.png (72.5 kB)
Craig S
Jan 06, 2017 at 10:55 PM

FM = Function module

I can't see in your control indicators if you have the box "defects recording" checked? You can't valuate against defects if you don't have it checked.

10 |10000 characters needed characters left characters exceeded
Radhey Mohan Jan 08, 2017 at 12:27 PM

thanks for respond

is it mandatory to create own FM? i am directly using 210 without any changes

please attached snaps and i didnt use catalog for defects code and inspection methods slot also blank

i am still facing same error , any configuration is required?

news-errors.gif (150.7 kB)
news-errors1.gif (61.4 kB)
news-errors2.gif (71.6 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

For what you want to do, yes. The exisitng FM SAP provides doesn't do the valution based on percentage as you stated you wanted to do. It does the valuation based on number of defects allowed, 1, 5, 10, whatever you deceide is appropriate. So to be based on percentage, yes.. you have to create your own FM.

Radhey Mohan Jan 12, 2017 at 04:28 PM

Thanks for response i created customized FM and Copy QEBR_FAILURE_VALUATION

and follow all steps but i am still facing same errors

fm.png (44.0 kB)
valuation-rule.png (45.9 kB)
mic-attributes.png (324.1 kB)
qc-plan.png (216.6 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hello Craig ,

please review attached files ,

main purpose behind this exercise that system allow certain % or limit of defects inspection lot wise and when user enters more defects then system will give warning or error !


It appears to me you are using a quantitative characteristic with a spec range. That wouldn't use number of defects to be valuated, it uses a spec range. The FM that it appears you copied from specifically says under the TASK section

Acceptance decision for a qualitative inspection characteristic......

I also have no idea what other code changes you made in the FM.


mmgn6.png (23.5 kB)
Radhey Mohan Jan 21, 2017 at 11:42 PM


Thanks for your guidance. I created Qualitative mic & assigned general rejection defect and sample procedure is working in Qc plan

Actual problem here, user wants to record defects at inspection lot wise instead of MIC level means user will enter direct quantity of defects “ Defect type 9” at inspection lot

So system auto prompt a message that define limit is exceed at UD level.

In current circumstances defect percentage is associated with MIC not whole lot

System is not considering quantities of defects which are inserted direct and SAP is considering MIC’s defect which is defined at MIC level in catalog

Kindly advice

main requirements (inspection lot wise Defects quantities % and system auto intimate message on the basis of total defects entered by user at the time UD)

new-mic-ql.png (43.7 kB)
new-mic-qdv2.png (49.8 kB)
new-defects.png (88.1 kB)
ud.png (40.1 kB)
10 |10000 characters needed characters left characters exceeded