🎯 State of SAP 2024 ReportFind the State of SAP 2024 ReportCheck Report
Back to Glossary

SAP UI5

Core Concepts

Definition

SAPUI5 is a JavaScript-based UI library from SAP for building responsive and enterprise-ready web applications.

Detailed Description

SAPUI5 is a JavaScript UI library developed by SAP for building interactive and responsive web applications. It provides a comprehensive set of UI controls and models that are consistent with SAP's design guidelines. SAPUI5 enables developers to create enterprise-ready web applications that can run on multiple devices, including desktops, tablets, and smartphones. It follows the MVC (Model-View-Controller) architecture and supports data binding, routing, and internationalization features, making it a robust framework for SAP and non-SAP developers alike.

Key Features

  • Client-side and server-side rendering
  • Data binding and models
  • Integration with SAP systems
  • Internationalization and localization support
  • MVC architecture support
  • Responsive design for multiple devices
  • Rich set of UI controls
  • Theming and branding capabilities

Common Modules

SAP Fiori

A design language and set of guidelines for SAP applications that utilize SAPUI5 for its frontend development.

Examples

Hello World in SAPUI5

A basic example of a SAPUI5 application displaying ''''Hello World''''.

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta charset="UTF-8">
    <title>Hello World with SAPUI5</title>
    <script
      id="sap-ui-bootstrap"
      src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
      data-sap-ui-theme="sap_belize"
      data-sap-ui-libs="sap.m"
      data-sap-ui-async="true">
    </script>
    <script>
      sap.ui.getCore().attachInit(function () {
        new sap.m.Text({
          text: "Hello World"
        }).placeAt("content");
      });
    </script>
  </head>
  <body class="sapUiBody" id="content">
  </body>
</html>

Popular Implementations

Developing a Custom SAPUI5 Application

Creating a custom SAPUI5 application to manage employee data integrating with SAP backend systems.