Fiori App For Breakdown Analysis F2812: EAM KPI App overview

Motivation: Recently I’ve had an experience in implementing standard SAP Fiori Applications for Plant Maintenance module. I have spent some time to collect all the missing information, prerequisites, configurations and SAP Notes, so I decided to make a post gathering all about this application in one place.

Before I start, some words about the requirements. My client asked me to find a solution to show KPIs (MTTF, DT, MTBR, etc) of the pieces of Equipment by object type doing as less development as possible. They just upgraded the system to SAP S/4HANA 1909 and I decided to give it a try with a standard Fiori application: F2812 ‘Analytical List Page for Technical Object Breakdown Analysis’

We are running a backend with S/4 HANA 1909, SP2. Our frontend (gateway server) has SAP Fiori for SAP S/4HANA 1909 installed:

UIS4HOP1          500        0002                    UI for S/4HANA On Premise

Link to understand how KPIs work:

https://help.sap.com/docs/SAP_ERP_SPV/0fdc23a7692c4198808a075443509bcb/5b12c453f57eb44ce10000000a174cb4.html?version=6.06.19

Links with the description of the applications together with a small demo from SAP :

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps(‘F2812’)

With this app you can analyze the causes of a particular breakdown more closely and calculate the distribution of duration of the various breakdowns or repairs. You can also find out the cause behind a short or long breakdown period, or the period between two consecutive breakdowns. In fact, this application is nothing more than PMIS Breakdown Analysis MCI7 Infostructure S070 in a user-friendly interface.

The application calculates key metrics which marked as ‘Measure’ using filters which are marked as ‘Dimension’. Example business cases:

  • Client requires to know how many breakdowns (measure) have been reported for a certain object type (dimension) for each week of the year;
  • Client requires to evaluate how much time Equipment has been down (measure) for each month of the year (dimension);
  • Client requires to evaluate how much time it took to repair Equipment (measure) for each month of the year (dimension); Spoiler: using current version of the application it is not actually possible as all the statistics is shown for each piece of Equipment and not for each object type.
  • Client requires to all the KPI metrics (measure) for each month of the year (dimension) per plant; Spoiler: again, all the statistics is still shown for each piece of Equipment and not for each object type. Authorization per plant is also not working in a classical way. In case user is authorized only for a particular plant, it is still possible to view data for all plants.

Following key metrics are available in the app:

Key%20metrics

Key metrics

  1. Breakdowns Reported.

Number of effective machine breakdowns. It means that the system will calculate only number of actual breakdowns, not the number of breakdown notifications. In case several notifications have been created for one and the same equipment at approximately one and the same time, they would be counted as one breakdown with leading notification. The rest of the metrics would be counted based only on leading notification, not taking into account sub-notifications.

Information about sub-notifications is displayed in the drill-down list as follows:

Breakdown%20App%20drill-down%20section

Breakdown App drill-down section

SAP explains three cases which are important for the breakdown analysis. These are represented in the following diagram, which displays two reported breakdowns in each case:

Breakdown%20analysis%20cases

Breakdown analysis cases

  1. Mean Time Between Repair = MTBR

The average duration between two machine breakdowns, MTBR for short (Average Time between Repair), is calculated from the individual history of the equipment in Hours.

  1. Mean Time To Repair = MTTR

The average duration of a machine breakdown, MTTR (Mean Time To Repair), is calculated from the individual history of a piece of equipment.

It is sum of each period of Time Between Repair divided by number of effective breakdowns in Hours.

MTTR = Sum of breakdown length of each notification / number of effective breakdowns

  1. Time Between Repair = duration between two machine breakdowns
  2. Time To Repair = Downtime entered = DT = duration of chosen machine breakdown

Example how it looks like in the app:

Key%20metrics%20in%20the%20application

Key metrics in the application

System can calculate the key metrics both for a single piece of equipment and also for the object type as a whole. However, the same information in graphics will be represented for each piece of equipment and cannot be represented by object type:

Representation%20of%20KPI%20in%20graphics

Representation of KPI in graphics

  1. System set-up

1.1 Check all the preconditions from Fiori library

1.2 Apart from all the prerequisites mentioned in Fiori library for this application, you need to be sure that BW engine is activated in your backend system. Run SAP_BW_SETUP_INITIAL_S4HANA to make the BW active. Note 2387550 – Unable to activate the OData service for a Fiori Analytic App on S4HANA. Double-check if the table RSADMINA is correctly maintained and pointing to your backend system.

Moreover, InfoObject 0TCAACTVT should be available:

Error%20in%20backend%20system

Error in backend system

In the backend error log following message will be displayed: tcode /n/iwbep/error_log

RSD1 ->

RSD1

RSD1

1.3 To make sure that functionality ‘Save as Tile’ works double-check the following setting:

According to the note https://me.sap.com/notes/0003053861 the APPSTATE_TRANSIENT should be set to false in /n/UI2/FLP_CUS_CONF

  1. Configurations

2.1 Make sure your PMIS are okey: use customizing transaction OMOS. Make sure S070 is updating to info structure and the period is set to ‘Monthly’.

PMIS%20Configuration

PMIS Configuration

2.2 Check the settings for your breakdown notification if Update Group for statistics update is set.

Plant Maintenance and Customer Service -> Maintenance and Service Processing -> Maintenance and Service Notifications -> Notification Creation -> Notification Types -> Define Notification Types

Notification%20Configuration

Notification Configuration

  1. Master data set-up

Fill up Start-up date in the Equipment.

When calculating the key figure Mean Time between Repair, only the start-up date can be taken into account if the indicator Start-up was set in the master data for equipment or functional locations. If the indicator was not set then the end date of the first malfunction message will be taken into account. In this case, the first malfunction message will not be used when calculating the key figure MTBR (refer to the following illustration).

Equipment%20Master%20Record

Equipment Master Record

  1. Transactional data

4.1 At least 2 notifications must exist for one object.

4.2 This analytical app only takes current data into account. Archived or deleted maintenance notifications are not considered.

4.3 Breakdown indicator should be set in the Notification, Malfunction start and duration should be filled.

Notification%20Data

Notification Data

As a conclusion I would like to share most common issues and SAP notes which would help you to speed up setting your application properly.

Depending on SAP and UI5 version which you are using you may face different issues. Here I have listed most common ones and those which I faced during testing the application.

  1. 2571658 – Fiori app ‘Analytical List Page Page for Technical Object Breakdown Analysis’ is unresponsive
  2. 2631437 – Initial load error of Technical Object Breakdowns application (F2812) because of the inconsistent state of the CDS Metadata Extension
  3. 3198903 – Notifications not appearing in app “Technical Object Breakdowns” despite having Breakdown checkbox set
  4. 3212065 – F2812: App title in Spanish language is not translated correctly
  5. 3164480 – Performance Improvement for Technical Object Breakdown Analysis(F2812)
  6. 3134287 – F2174 find Maintenance confirmation: ‘Save As Tile’ bookmark does not display the filter count
  7. 3112393 – F2812 Adding malfunction dates to Technical Object Breakdown Analysis App
  8. 2781925 – No data is found in Fiori App Technical Object Breakdowns
  9. 2776970 – Mandatory fields in Technical Object Breakdowns and Damages applications F2812 F3075

In most cases it would be enough to do the following steps:

  1. First execute report REGENERATE_DDLX_RT_STATUS to make sure no inconsistency for app itself;
  2. Ensure that the malfunction data is completely maintained in the backend ERP system (i.e. in IW22, the malfunction indicator is flagged, the malfunction start and end date must be maintained)
  3. Ensure that more than one malfunction notification per technical object is stored in the system (only one malfunction report isn’t calculated for TimeToRepair and TimeBetweenRepair). Otherwise, the start up date has to be maintained for technical object.
  1. SAP GUI applications – Compatibility problem. In some cases the application is represented in the following way:

Expectation:

SAP%20Preview%20Screenshot

SAP Preview Screenshot

Reality:

Rendering%20issue%20%28SAP%20S/4HANA%201909%29

Rendering issue (SAP S/4HANA 1909)

In short, be sure to have some time for investigating rendering issues.

I hope this would help somebody to save some time implementing Breakdown analytics application 😊