SAP Knowledge Base Article - Preview

3837526 - Blank Gantt chart and "indexOf" error in F4577

Symptom

When you open the Manage Maintenance Schedule for Assets app (F4577) directly from a manually created tile, the following issues occur:

  • A JavaScript error appears in the browser console: "TypeError: Cannot read properties of undefined (reading 'indexOf')" in Component-preload.js
  • The Gantt chart area renders blank on app load
  • The asset structure panel displays "No data"
  • The page title shows "Maintenance Schedule for undefined"
  • A 404 Not Found error may appear for the theme resource rsh_eam_libs1/themes/sap_horizon/library.css

The exception stack trace includes: _getFilters → refreshBinding → onGanttVariantApplied → _applyInitialVariant.

This issue does not occur when you open F4577 through standard in-app navigation from other Resource Scheduling for Enterprise Asset Management (EAM) apps.


Read more...

Environment

  • SAP S/4HANA
  • Enterprise Asset Management (EAM) — Resource Scheduling

Product

SAP S/4HANA 2025

Keywords

F4577, Manage Maintenance Schedule for Assets, TypeError, indexOf, Component-preload.js, _getFilters, Gantt blank, no data, variant, personalization, Resource Scheduling, EAM, Enterprise Asset Management, context, navigation, sap_horizon, asset context, JavaScript error, blank chart, manual tile  , KBA , CA-RSH-EAM , Resource Scheduling for Enterprise Asset Managem. , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.