Hello,
Thanks Caetano for this new classification.
I thought maybe the MTTR: Mean Time to Repair can help you to have directly the duration of breakdown/ maintenance from Malfunction start and Malfunction End Date and Time in the notification. But it's a mean time by month and equipment, not the duration of breakdown for each notification. If you want to continue to find duration of breakdown one by one for each notification continue to take information with tables.
Remark: VIQMEL table view is also for QM notification, Claim notification and general notification, ie not all notification need equipment code. (Also as explain Mariano above, depending if you have equipment number mandatory or not in the notification PM, you can create with reference of Functional location and not equipment.)
So please limit with notification type.
Case 1 above: You said "Executed EQUZ table by giving the plant and equipment number, result is 10 OBJID and 10 ARBPL."
Please in the table EQUZ take the last historic information equipment with the following limit EQUZ-DATBI = '31.12.9999'. I assume you will have only one.
Regards,
Xavier