Symptom
- Need report to show material and service consumption in maintenance order.
- In app "Find Maintenance Orders", the Material and Material Name fields are blank although there are material components added in maintenance order.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- User attempts to view the spares list used in a particular equipment for all the maintenance orders in one report.
- The Material and Material Name fields are blank in the 'Find Maintenance Orders' app.
Cause
The Material shown in app 'Find Maintenance Orders' or 'Display Maintenance Order' is fetched from technical object -> Structure tab -> Construction Type. This material is not the ones added as material components in maintenance order operation tab.
Resolution
Use the CDS view I_MAINTORDERCOMPONENTDEX to fetch material and service data of maintenance order.
Keywords
Find Maintenance Orders, Material field, Material Name field, Technical Object, CDS view, I_MAINTORDERCOMPONENTDEX, maintenance order, Construction Type. , KBA , PM-FIO-2CL , Fiori User Interface (UI) for PM (Public Cloud) , How To