Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
2.Functional specifications
In order to arrive at the above values the report spans across PM---PP----QM modules
3.Design data
3.1 Selection screen –Input fields
OEE
Idle time
If the above options idle time is selected, then the possibility of executing the CODE in section “3.2.4”
alone to be incorporated.
The dates have to be always less than or equal to previous day only, no where current dates data can be
handled.
tables used
EQUZ :Equipment time segment
EQKT :Equipment short texts
EQUI :Equipment master data
Logic
Based on the equipment number EQUNR select ILOAN from EQUZ (This gives id of location assignment)
Use ILOAN to select PPSID from ILOAN (This gives the object ID of the production work center to which
the machine belongs)
At this point, if PPSID is blank Generate an output message indicating that “EQPT has no linkage to
production and exit the processing.
Use PPSID to select ARBPL from CRHD (This gives the work center for work center ID)
Use PPSID as OBJID to select KTEXT_UP from CRTX (This gives the description of work center)
Use ARBPL as MDV01,DATE_LOW to DATE_HIGH as SPTAG from S025 to get the following S025-
MATNR,S025-VERID,S025-Werks,S025-WEMNG (This will give the qty of material produced per day,
Mat no, version and plant)
Use MATNR,WERKS, and VERID, select PLNTY,PLNNR,ALNAL from MKAL (This gives the rate
routing used for above production , its type, group no and group counter no)
The above will give the following qty of material produced (QA) per day per equipment and the cycle
time for production (TCT)
Info:
“QALS_LMENGEZUB records the actual qty to be inspected unless it is zero, the lot has not been
inspected fully”
Sum up qty rejected for material per day.
This give us rejected quantity (QR)
Using PPSID as OBJID select KAPID from CRCA (This gives the capacity Ids of the capacities for the
work center
Using KAPID select KAPAR from KAKO. (This is to be done for each line selected from CRCA)
Check weather any of the selected lines has KAPAR=001 (This means the capacity is a machine capacity)
In case there are no entries that match the above condition, raise exception work center does not have
machine capacity, the calculation of OEE cannot continue and quits.
If there is KAPID where KAPAR = 001 then Using KAPID select DATUB,KAPAZ from KAPA (There may
be multiple lines here based on the capacity changes)
The available capacity AV_CAP is equal to KAPAZ where the date lies between dates in DATUB.
In case ANZHL is other than 1, Raise warning message with the following text “Work center capacities are
more than 1,Please check and rectify the situation, otherwise OEE calculation may not be realistic.”
Ex:
Data browser :Table KAPA select entries (This is SAP screen)
MANDT KAPID VERSN DATUB TAGNR SCHNR ANZHL BEGZT EINZT ENDZT FABTG KAPAZ PAUSE NGRAD
100 1000088 1 03.05.2004 1 1 3 28,800 27000 61200 81000 5400 100
100 1000088 1 10.05.2004 1 1 10 28,000 24300 61200 243000 5400 90
100 1000088 1 01.06.2004 1 1 3 28,000 27000 61200 81000 5400 100
Using EQUNR select OBJNR from EQUI (This gives the object number for equipment)
Using OBJNR select POINT,INACT from IMPTT, where MPTYP = “I” and INACT = (This gives the
measurement point defined for idle time, Max operation time per day and the status of the point)
If there is more than 1 lines raise exception ,”more than 1 measurement point for monitoring idle time are
being used, Please correct this by making one of the point as inactive . OEE cannot be calculated as of now
and quit the processing.
Using POINT select MDOCM,IDATE from IMRG where DATE_LOW<IDATE<DATE_HIGH (This gives
the measurement document and their readings for the selection screen dates)
Using MDOCM , select IDATE,CDIFF,CODCT,CODGR and VLCOD from IMRG. (At this point the
selection may output multiple lines, these have to be stored in a temp table for consolidation as follows)
Explanation:
VLCOD contain values of following type A*,B*,C* where * means any xxx indicated codes.
The values in CDIFF have to be total against each of the three type given above per each day of analysis
Info: The values in CDIFF are stored in floating point format ,they have to be converted to normal numbers
while generating the report output.
Report Layout
Date 1st day
Eqpt code Eqpt Material Qty produced Qty Planned Act TCT Availability Performance Quality OEE
text no rejected hrs hrs EA*EP*EE
EQUNR 1 EQKTX MATNR WEMNG QR T1 T2 TCT EA EP EE
EQUNR 2 EQKTX MATNR WEMNG QR T1 T2 TCT EA EP EE
EQUNR 3 EQKTX MATNR WEMNG QR T1 T2 TCT EA EP EE
EQUNR 4 EQKTX MATNR WEMNG QR T1 T2 TCT EA EP EE
3.4 Authorizations :since it is a report for analysis of PM/PP/QM data, user who belong t shopfloor need to
be given this authorization to execute the print
3.5 Others
Indicate other security aspects if there is any
3.6 FORM