Skip to Content
author's profile photo Former Member
Former Member

Ins lot creation at componenyt Good receipt (Ins type 01)

Hi

We are doing the good receipt of external procured items and for a material (A) and a unique batch (B) if Good receipts are at different point of time still we generate inspection lot/sample plan only at first good receipt. There is no new insp lot/sample plan generated whenever was the last good receipt.This is standard SAP.

Now we want that if last good receipt for a mareial (A) and batch (B) was older than one year then a new insp lot/sample plan should be generated( Since vendor is supplying the same batch for which we had good receipt one year before).

Please suggest how to map it. Is there any user exit to it?

Thanx

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on May 07, 2008 at 10:57 AM

    Hello Vineet,

    you could do the following:

    Set the inspection setting to ' ' for each GR

    Then activate the exit QAAT0001 in which you could create the following IF clause:

    IQALS is an internal table.

    Please don't forget the following line!

    E_TQ32 = I_TQ32.

    ...

    IF I_TQ32-HERKUNFT = '01'.

    Select * from QALS into IQALS where

    HERKUNFT = ITQ32-HERKUNFT

    MATNR = I_MATNR

    WERKS = I_WERKS and

    CHARG = I_CHARG.

    IF SY-SUBRC IS INITIAL.

    LOOP AT IQALS.

    IF IQALS-ENSTEHDAT < SY-DATUM - 365.

    E_NO_INSPECTION = 'X'

    ENDIF.

    ENDLOOP.

    ENDIF.

    ENDIF.

    ...

    I think that simular coding might resolve the described issue.

    Regards,

    Isabelle

    Edited by: Isabelle Britten on May 7, 2008 12:58 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 02, 2008 at 07:28 PM

    Just a thought .how about inspection type 09 recurring inspection with which you can schedule a job to create inspection lot for the period you wish.Pre-req batch managed materials and inspection type 09 in material master.

    regards,

    Naik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2008 at 04:50 PM

    Normally you would simply use dynamic modification to do this. Set a maximum number of skip days to 365. That would mean that for a given material/vendor combination, you have to inspect at least once a year. It does not take the batch number into consideration. So if the batch number is the same, it will still not create an inspection lot for that particular batch since the DMR will never be looked at since the lot won't be created to start with.

    I don't see a way to solve this in standard SAP without some type of customization.

    Craig

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.