Business Objective
Standard testing is performed on a weekly (Calendar based) basis at each manufacturing plant.
This includes density, solids, gloss, and microbial testing of one or more washwater types. Most
of these tests are existing QM's, however new ones would be created for microbial testing. If
this data were entered into SAP, it would be universally available for review and analysis.
These materials have existing raw material numbers, however the inspection would not be
initiated by, or be associated with a goods movement transaction. It is simply an inspection or
an intermediate material that QC would enter weekly.
Purpose
To have the system automatically create inspection lots at predefined intervals for selected
materials. To plan such inspections by having the system monitor the date for a recurring
inspection. Recurring inspections will be triggered by a program that runs automatically on
nightly bases. When recurring inspections are triggered inspection lots are created.
Prerequisites
The system creates inspection lots automatically for recurring inspections of Materials if the
following conditions have been met:
Functional Design
Step 1 : Creation of Z table for material with 09 inspection type w.r.to plant.
Inspection type:
Plant
6. Last inspection date : Initially this will be given by the business as there is no data in the system.
7. If the last inspection date is empty , next inspection date will be empty.
8. So idea is we build table with the all 7 columns , but system fetches data till column 5 from the
tables. And column 6 and 7 will be empty.
9. Business provides us last inspection dates against each material ,
10. Once the last inspection date entered system automatically gives the next inspection date.
***Next inspection date : this need to be updated based on the last inspection +
inspection frequency (MARC-PRFRQ).
Pass MATNR( the new add materials) to MAKT for material description
Pass MATNR( the new add materials) to T001W for material description
Pass MATNR( the new add materials) to MARC for inspection frequency
Every day a back ground program should check the Z table for material and its inspection date.
Any material’s next inspection date is falling on the day , then system should create an
inspection lot with inspection type 09 .
Ex: Say back ground program run on 10th October and there is a material with inspection date in
column 7th as 10th October then program should pick that materials for creating inspection lot.
Before creating inspection lot system should check for any unrestricted stock availability for
checking.
Individual line for each storage location will be displayed with LABST(unrestricted stock for each
storage location)
We need to take the inspection lot size total of all line items. (Summation of all lines of LABST)
** No need to take the batch number . Though materials are batch managed no need of giving
batch in the inspection lot.**
Before going to inspection lot creation better we first check MARD –LABST if it is >0 then it should go
for creation of inspection lot else it should stop just by updating column 6th and 7th for next inspections.
Even inspection lot was not created the column 6th and 7th should get changed with the next inspection
dates.
Pass MATNR, WERKS into MARD table . We can see individual line for each storage location.
We need to take the inspection lot size total of all line items. (Total of LABST)
Once the inspection lot created program should change the last inspection date with next
inspection date ( that means the current date ) and the Next inspection date should get updated with
next inspection date .( current date + frequency).
Note1: The Z table should be editable . As some time last inspection date can be a manual input or
people may want to enter materials manually.
Note2 : While updating the table system should not over write the existing list, only the new material
should get added.
Report log:
log: We need to work on out put log & error log, what type of errors can occur?