What is SAPUI5? An Introduction to the SAPUI5 Framework | SAP PRESS (2024)

SAPUI5

SAPUI5 is a user interface development toolkit. First developed by SAP in 2010 under the code name Phoenix, the framework allows developers to create web applications for HTML5.

Table of Contents

  1. SAPUI5 Architecture
    1. Models
    2. Views
    3. Controllers
    4. Controls
    5. Libraries
  2. SAPUI5 Features
    1. Accessibility
    2. Cross-Browser Compatibility
    3. Localization
    4. Open Source
    5. Theming
    6. SDK and Documentation
    7. UI5 Web Components
  3. Application Development
    1. Transactional Apps
    2. Fact Sheet Apps
    3. Analytical Apps
  4. UI5 Evolution
    1. Modular Core
    2. Rendering and Controls
    3. Programming Models
    4. Build Tooling
  5. OpenUI5
  6. UI5 Releases
  7. Testing
  8. Other Key SAPUI5 Terms
  9. Additional Resources
    1. Blog Posts
    2. Books by SAP PRESS

SAPUI5 Architecture

SAPUI5 allows users to consume data from any service. It uses the model-view-controller (MVC) development concept, which consists of a three-part application: models, which contain data; views, which represent the data and the UI; and controllers, which handle the data and user interaction.

Models

Models are containers for data and hold all the business data an application will work with. There are a handful of pre-defined model classes available in SAPUI5, including JSON and resource models.

Views

Views are the front-end display of data by an application. Because this is the portion of the app that end-users work with, it’s important to incorporate design thinking and UI best practices when developing views.

Controllers

Controllers implements the logic that bridges Models and Views.

Controls

Controls are the decision-makers in a line of code. Sometimes called widgets, components, or elements, they tell the app what to do whenever a choice has to be made. Currently, more than 200 controls exist with more in development.

Libraries

Controls are accessible to developers via numerous libraries. Here’s a brief overview of key libraries and what they allow:

    • ui.core: core functionality; essential to all SAPUI5 apps
    • m: main library; includes most basic and important controls for mobile and desktop devices
    • ui.layout: structure controls for element display
    • ui.unified: mobile and desktop controls
    • ui.table: data controls for large-volume data
    • viz: different types of charts
    • ui.comp: smart content such as SmartField, SmartTable, etc.
    • suite: a set of three libraries that contain types and templates
    • ushell: shell, service-related functionality
    • uxap: controls such as breadcrumbs
    • ui.suite: controls for new SAP Business Suite (SAP ERP) apps
    • ui.vk: functionality and controls for 3D modeling

What is SAPUI5? An Introduction to the SAPUI5 Framework | SAP PRESS (1)

(Back to ToC.)

SAPUI5 Features

With the architecture of an SAPUI5 application in mind, here are features of SAPUI5 that make it an attractive framework for developers:

Accessibility

SAPUI5 allows developers to write code that can be accessed by all users with tools such as screen readers.

Cross-Browser Compatibility

SAPUI5 is responsive to a number of factors, including device type, OS, browser, screen size, and more. Developers can create applications that automatically adapt to portrait or landscape views and adjust controls as necessary to maintain a pleasant UX.

Localization

SAPUI5 apps can be created to detect where a user is accessing it, and adapt data such as dates, currency, etc. in the local convention. Furthermore, if provided with a language translation of the content, apps will automatically translate it to the relevant language.

Open Source

SAPUI5 is compatible with multiple open source technologies, including the jQuery framework, datajs library for connecting with OData, and the Handlebars templating language. The open source version of UI5 is called OpenUI5.

Theming

SAPUI5 allows developers to customize the look and feel of apps to meet client needs via a tool called the UI Theme Designer.

What is SAPUI5? An Introduction to the SAPUI5 Framework | SAP PRESS (2)

SDK and Documentation

Extensive documentation for individual components is available at the SAPUI5 Software Development Kit. In addition, the SAP Fiori Design Guidelines show how the different components can best be used and combined to create the application types described below.

UI5 Web Components

The UI5 Web Components toolkit allows developers to use predesigned SAP Fiori elements in their applications regardless of framework.

(Back to ToC.)

Application Development

SAPUI5 is the basis for many of the applications in the current SAP ecosystem. As SAP S/4HANA matured in the mid-2010s, a new user interface called SAP Fiori emerged as the primary UI for those using SAP. With SAPUI5, developers can create and debug (using both SAP offerings and Google Chrome Developer Tools) all three different types of SAP Fiori apps:

Transactional Apps

Transactional apps perform activities such as creating, changing, and approving requests or orders via guided navigation.

Fact Sheet Apps

Fact sheet apps are used to view essential contextual information or a 360-degree view of specific central objects used in business operations.

Analytical Apps

Analytical apps provide users with business information and have the ability to analyze and evaluate strategic or operational KPIs in real time.

(Back to ToC.)

UI5 Evolution

SAPUI5 is constantly being retooled and updated by a worldwide team of developers working as part of the UI5 Evolution project. Under the team’s guidance, the current framework of SAPUI5 has evolved to orbit around four key areas: a modular core, rendering and controls, programming models, and build tooling.

Modular Core

The modular core of SAPUI5 reduces code down to a compact foundation. This not only streamlines and allows for more-organized code, but the code reduction makes apps more lightweight and therefore quicker for the user.

Rendering and Controls

By making rendering and controls as small as possible while maintaining UI functionality, developers can reduce application complexity and make the framework faster.

Programming Models

As SAPUI5’s programming model has been updated, it can be used alongside other frameworks such as Angular or React.

Build Tooling

The latest advancement of build tooling for SAPUI5 is compatible with Node.js, allowing developers to use SAPUI5 alongside the platform. Available build tooling packages include ui5-logger, ui5-fs, ui5-builder, ui5-project, ui5-server, and ui5-cli.

(Back to ToC.)

OpenUI5

In 2013, SAP released a non-native version of SAPUI5 for developers who don’t work on SAP projects. Called OpenUI5, it is available under an Apache 2.0 license. It shares a code base with SAPUI5, so the framework is updated alongside its SAP sibling.

What is SAPUI5? An Introduction to the SAPUI5 Framework | SAP PRESS (3)

(Back to ToC.)

UI5 Releases

Versions of SAPUI5 and OpenUI5 are released on a monthly basis for SAP Business Technology Platform and biannual basis for AS ABAP. They follow the following format: {major release number.patch version}. For example, version 1.68.1 indicates the major release number of 1.68 on its first patch.

Public-facing releases are always even-numbered, while internal releases for SAP are odd-numbered.

(Back to ToC.)

Testing

SAP offers tools to foster quality in UI5 developments:

  • The SAPUI5 library comes with test automation libraries: qUnit & OPA (designed for respectively unit testing and component testing).
  • UIveri5 is a recently released tool that enables end-to-end automation testing of UI5 applications.

(Back to ToC.)

Other Key SAPUI5 Terms

While we’ve laid out many of the important terminology you’ll run into when working with SAPUI5, there are a handful more that will be helpful to you.

  • CRUD Operations: Create, Read, Update, and Delete operations.
  • Event handlers: Functions that are assigned to controls and execute commands when the controls are invoked.
  • JavaScript Object Notation (JSON): A data format written in text that allows for easy access and analysis by humans and machines.
  • Open Data (OData): An open HTTP-based protocol for consuming, querying, and exposing data on the web that provides common access to data without learning new APIs.
  • Representational State Transfer (REST) Programming: A programming paradigm typically applied to web services.
  • SAP Web IDE: A cloud-based development environment for SAPUI5 applications.
  • UI5 Inspector: A Google Chrome plugin that provides debugging assistance.

(Back to ToC.)

Additional Resources

Want to learn more about SAPUI5? Additional information can be found in the blog posts and books listed below.

Blog Posts

    • "15 SAPUI5 Concepts to Know for the SAP Fiori Exam"
    • "Clean Code for SAPUI5: Error Handling Help"
    • "Clean SAPUI5 Code Conventions"
    • "Clean SAPUI5 Code Quality"
    • "Clean SAPUI5: Refactoring SAPUI5 Code"
    • "Creating an SAPUI5 Application Using Eclipse"
    • "How to Disable Google Chrome Web Security for SAPUI5"
    • "Learn SAPUI5: Controls, Aggregations, Associations, and Event Handlers"
    • "A Look at SAPUI5 Control Structure"
    • "An Overview of SAPUI5 Libraries"
    • "Project Components in SAPUI5"
    • "SAPUI5 Coding Guidelines"
    • "SAPUI5 Questions and Answers with Paul Modderman"
    • "Video: Paul Modderman on SAPUI5: The Comprehensive Guide"

Books by SAP PRESS

    • SAPUI5: The Comprehensive Guide
    • ABAP to the Future
    • Clean SAPUI5: A Style Guide for Developers
    • Full Stack Development with SAP
    • Hands On with SAPUI5 and the SAP Web IDE
    • JavaScript: The Comprehensive Guide
    • SAP Build: Prototyping and Design
    • SAP Cloud Platform: Cloud-Native Development
    • SAP Fiori and SAPUI5: Debugging the User Interface
    • SAP Fiori Certification Guide: Development Associate Exam
    • SAP Gateway and OData
    • SAPUI5 and SAP Fiori: The Psychology of UX Design
    • Testing SAPUI5 Applications

What Next?

Learn more SAP from our official Learning Center.

And to continue learning even more about SAPUI5, sign up for our weekly blog recap here:

What is SAPUI5? An Introduction to the SAPUI5 Framework | SAP PRESS (2024)
Top Articles
ᐈ Google Analytics Certification Answers [Updated] - Courses Answer | Quiz Answer, Exam Answer, Digital Garage Answers
Top Google Alerts alternatives to check out in 2023
Top 11 Best Bloxburg House Ideas in Roblox - NeuralGamer
Cappacuolo Pronunciation
Fat People Falling Gif
FFXIV Immortal Flames Hunting Log Guide
Pitt Authorized User
What Auto Parts Stores Are Open
Retro Ride Teardrop
Optum Medicare Support
[PDF] INFORMATION BROCHURE - Free Download PDF
Cool Math Games Bucketball
Https //Advanceautoparts.4Myrebate.com
Busty Bruce Lee
Fear And Hunger 2 Irrational Obelisk
boohoo group plc Stock (BOO) - Quote London S.E.- MarketScreener
Lancasterfire Live Incidents
Whitefish Bay Calendar
Ms Rabbit 305
Faurot Field Virtual Seating Chart
Icivics The Electoral Process Answer Key
Melendez Imports Menu
How Taraswrld Leaks Exposed the Dark Side of TikTok Fame
Https E22 Ultipro Com Login Aspx
Violent Night Showtimes Near Amc Dine-In Menlo Park 12
Egusd Lunch Menu
Jurassic World Exhibition Discount Code
Package Store Open Near Me Open Now
Used 2 Seater Go Karts
Mrstryst
The Ride | Rotten Tomatoes
2024 Ford Bronco Sport for sale - McDonough, GA - craigslist
RALEY MEDICAL | Oklahoma Department of Rehabilitation Services
Babbychula
Cal Poly 2027 College Confidential
Bones And All Showtimes Near Johnstown Movieplex
Colorado Parks And Wildlife Reissue List
craigslist: modesto jobs, apartments, for sale, services, community, and events
5A Division 1 Playoff Bracket
Deepwoken: How To Unlock All Fighting Styles Guide - Item Level Gaming
Garland County Mugshots Today
[Teen Titans] Starfire In Heat - Chapter 1 - Umbrelloid - Teen Titans
Colin Donnell Lpsg
Blog Pch
Concentrix + Webhelp devient Concentrix
R Detroit Lions
Ciara Rose Scalia-Hirschman
Inside the Bestselling Medical Mystery 'Hidden Valley Road'
What Responsibilities Are Listed In Duties 2 3 And 4
Island Vibes Cafe Exeter Nh
Latest Posts
Article information

Author: Pres. Lawanda Wiegand

Last Updated:

Views: 6227

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Pres. Lawanda Wiegand

Birthday: 1993-01-10

Address: Suite 391 6963 Ullrich Shore, Bellefort, WI 01350-7893

Phone: +6806610432415

Job: Dynamic Manufacturing Assistant

Hobby: amateur radio, Taekwondo, Wood carving, Parkour, Skateboarding, Running, Rafting

Introduction: My name is Pres. Lawanda Wiegand, I am a inquisitive, helpful, glamorous, cheerful, open, clever, innocent person who loves writing and wants to share my knowledge and understanding with you.