cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Quality Management.

Former Member
0 Kudos

Hi Gurus,

I am new in MM but i am facing a problem related with QM.

So i want to know the way of configure of QM.

Thanks & Regards

Yogesh

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Can you please specify the problem / scenario, so as to suggest suitable solution...

Regards

K.M.Arun

Former Member
0 Kudos

Hi Arun,

problem is that i created po then do grn in quality inspection stock ,capture and post excise invoice ,and then invoice verification . query is that till the material in quality inspection stock there should not be invoice verification or miro should not post .is there is any seting in img or any functional activity.

Kind Regards

Yogesh

Former Member
0 Kudos

Hi Yogesh,

For this , you should have QM Procurement indicator active in Material master (MM02), QM view and select QM control key 0007 (Delivery Release, Invoice Block).

This will allow you to post the invoice , but it will stop the payment .(It will block the invoice with reason "Quality")

Once UD is done , you can release the invoice block using MRBR transaction.

Hope this will helps you.

Thanks & Regards

K.M.Arun

dheeraj_vaishampayan
Active Contributor
0 Kudos

Hi,

As far as i know, NO config settings, Only an userexit can do the trick:

possible way to block MIRO before UD posting is done is thru an enhancement

LMR1M001

Here you need to post following code to block MIRO in include:ZXM08U16

this code will cause an error message before UD and will allow MIRO for only qty posted to Unrestricted stock

*******************************

&----


*& Include ZXM08U16

&----


Declaration of variables

DATA: w_prueflos TYPE qamb-prueflos,

w_lmenge TYPE qals-lmenge01.

Declaration of Internal Tables

DATA: itab LIKE qals OCCURS 0 WITH HEADER LINE.

LOOP AT e_tdrseg WHERE selkz EQ 'X'.

Checking whether the document require Inspection

CLEAR: w_prueflos.

SELECT SINGLE prueflos

INTO w_prueflos

FROM qamb

WHERE mblnr = e_tdrseg-lfbnr

AND zeile = e_tdrseg-lfpos.

IF sy-subrc EQ 0.

CLEAR: itab[], itab.

SELECT SINGLE * INTO CORRESPONDING FIELDS OF itab

FROM qals

WHERE prueflos = w_prueflos

AND stat35 = 'X'.

IF sy-subrc EQ 0.

READ TABLE itab INDEX 1.

CLEAR: w_lmenge.

Sum of quantity (Excludes Block stock)

w_lmenge = itab-lmenge01.

IF e_tdrseg-menge GT w_lmenge.

MESSAGE ID 'ZMM' TYPE 'E' NUMBER '004' WITH w_lmenge e_tdrseg-lfbnr.

ENDIF.

ELSE.

MESSAGE ID 'ZMM' TYPE 'E' NUMBER '005' WITH e_tdrseg-lfbnr.

ENDIF.

ENDIF.

ENDLOOP.

**********************************

Hope this helps

Regards

Dheeraj...