Skip to end of metadata
Go to start of metadata

Purpose

Explains the recurring inspection process. 

Overview

This document introduces the settings to create a recurring inspection lot and the generation process.
It includes the following sections:

<Settings>

  1. OMCT: Batch status activation (Optional)
    If you’d like to use the batch status function, you can activate it in t-code OMCT.

    For other batch related settings, you may refer to the following document:    Overview of Batch Management
  2. MM01: Material settings
    Activate batch management and set shelf life in the view “Plant data / stor. 1”.

    Assign inspection type 09 in the QM view:

    Maintain inspection interval in the QM view.
  3. QP01: Create an inspection plan with usage 9
     

<Preparation process>

To generate an inspection lot with recurring inspection type 09, a batch must exist with unrestricted use stock greater than zero.  If batch status management is active, the batch should be in unrestricted status.

To prepare such a batch, we can post a goods receipt for a purchase order and assign a batch during GR.

  1. ME21N: create a purchase order
     
  2. MIGO: post GR of the PO
  3. MSC3N: check the batch status, expiration date and next inspection date

    Note:
    The expiration date (SLED/BBD) = Date of Manufacture + total shelf life (maintained in material master)  = 28.04.2015 + 20 days = 18.05.2015
    Next inspection date = last GR date + inspection interval (maintained in material master)   = 28.04.2015 + 2 days = 30.04.2015
  4. MMBE: check the batch stock. It’s in unrestricted use stock.
     

<Inspection lot creation test when batch status is active>

Note: Opening period = current date + Initial run in days

Current date = 29.04.2015
Next Inspection date = 30.04.2015
Expiration date = 18.05.2015

Test case 1: Execute QA07 with “Lot creation only” and “Initial run in days” = 0:

Result: No inspection lot is created because next inspection date (30.04.2015) > opening period (29.04.2015)

Test case 2: Execute QA07 with “Lot creation only” and “Initial run in days” = 2:

Result: An inspection lot is created because next inspection date (30.04.2015) < opening period (01.05.2015)


Note: Stock is still in unrestricted use, the status SPRQ is not set.

Test case 3: Execute QA07 with “To insp. stock at lot creation” and “Initial run in days” = 2:

Result: An inspection lot is created because next inspection date (30.04.2015) < opening period (01.05.2015). Stock is posted to quality inspection.

Display the inspection lot in QA03

Display the material document in MIGO.  Movement type 322 is used.

Display stock in MMBE. Stock is now in quality inspection.

 

Test case 4: Execute QA07 with “Block batch at lot creation” and “Initial run in days” = 2:

Result: An inspection lot is created because next inspection date (30.04.2015) < opening period (01.05.2015). Batch status is changed to “Restricted”.

Display inspection lot in QA03:

Display batch in MSC3N:

Check changes of the batch

Display stock in MMBE:

Execute QA11.  Post stock to unrestricted use.  Change batch status to “Unrestricted”.

Material document with movement type 342 is posted


Test case 5: Execute QA07 with “To insp. stock at insp. date” and “Initial run in days” = 2:

Result: An inspection lot is created because next inspection date (30.04.2015) < opening period (01.05.2015), but stock is not posted to inspection stock as today is 29.04.2015 while next inspection date has not reached.

Display inspection lot in QA03. Status SPRQ is set, but stock is not in QI.

Display stock in MMBE. Stock is still in unrestricted use.

Run QA07 again on 30.04.2015 with the same parameters. Inspection lot 90000000064 is changed. Stock is posted to QI stock.

Display inspection lot in QA03.  The indicator “Inspection stock” is set.

Display the material document in MIGO. Movement type 322 is used to post stock to QI.

Display stock in MMBE

Test case 6: Execute QA07 with “Block batch at inspection date” and “Initial run in days” = 2:

Result: An inspection lot is created because next inspection date (30.04.2015) < opening period (01.05.2015).  The batch status is changed to “Unrestricted use” because QA07 is executed on 30.04.2015 when the inspection date has reached.

Display inspection lot in QA03

Display batch in MSC3N

Display stock in MMBE

<Restrictions>

  • Can’t be storage location specific.
  • Don’t support consignment stocks.
  • Don’t support HU-managed storage locations
  • Don’t support project stocks
  • Please note the documentation for the report RQAAAS10 (for example in the transaction SE38). Here are the requirements for this report:

    The batch master data corresponds to the selection conditions. Only those batches that full fill the following conditions are examined:
    - The batch status is "released".
    - The unrestricted-use stock is greater than zero.
    - The stock is not in a HU storage location‘
    - The stock is not special stock

Related Content

Next inspection date calculation:

Please take into concern that the standard behavior is the following: 

Next inspection = Last GR date + inspection interval 

Unless inspection type 09 is used then the following is valid: 

Next inspection = Date of UD(current date) + inspection interval 

If you would like to change this behavior you may review note 954646 where you can use method MAINTAIN_INSPECTION_DATE of BAdI MB_BATCH_MASTER or user exit EXIT_SAPMQEVA_003 to map your own logic. 

Related Documents


Recurring Inspection process with Batch

QA07 What happens when?

Overview of Batch Management 

Related SAP Notes/KBAs

307893 - Deadline monitoring batches: Lot creation with exp. Date

549416 - QA07: Batches in physical inventory not taken into account 

954646 - Calculating the next inspection date

 

  • No labels