on 09-29-2008 10:35 AM
Dear Gurus
can we put any control while passing MIRO in such a way that, unless the material is accepted from Quality only, the particular PO material should be accepted in the MIRO. otherwise the problem is,,..
while MIGO happens the material will be in quality.sometime before quality accepting the material, invoice has to ba passed. But after after MIRO passed, the respective material is being rejected by quality dept.
high rewards will be given for the best solution.
regards
Prasad.J
Dear,
Please contact your ABAP team.
ABAP person do it with User Exit.
Regards,
Mahesh Wagh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Use the user exit for this scenario.
before doing MIRO tell system to check the status of the inspection lot .
regards,
sujit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
take help of ur ABAPer
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
kunal
U just give the logic to ur ABAP person .
Before doing the MIRO system should check that whether 322 movt types is posted against the Inspection lot created at the time of Goods reciept.u can find all of this in the table MSEG,EKKO&EKPO.
or
u can gve another logic that check the inspection lot status ,
whether the stratus is accepted or not tables are same.
regards,
SNB
User | Count |
---|---|
95 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.