• No results found

Week 2: Building Your First SAP Fiori Elements App. Unit 6: Adding Custom Controls and Logic

N/A
N/A
Protected

Academic year: 2022

Share "Week 2: Building Your First SAP Fiori Elements App. Unit 6: Adding Custom Controls and Logic"

Copied!
10
0
0

Loading.... (view fulltext now)

Full text

(1)

Week 2: Building Your First SAP Fiori Elements App

Unit 6: Adding Custom Controls and Logic

(2)

Understanding the Architecture

Introducing OData Services and Annotations

Preparing your ABAP Development Environment

Creating an OData Service with ABAP RESTful Application Programming Model

Introducing SAP Fiori Elements

Accelerating SAP Fiori App Development with SAP Fiori Tools

Preparing Your Front-end Development Environment

Generating the List Report – Object Page App

Configuring the App

Building Your First SAP Fiori Elements App

Adding Custom Controls and Logic

Creating an Analytical List Page

Enhancing the Analytical List Page

Creating an Overview Page

Deploying Your SAP Fiori Elements App

Building an SAP Fiori Elements App with an External OData Service

Using More SAP Fiori Elements Capabilities

Understanding SAPUI5 Flexibility

Adapting an App as a Key User

Adapting the UI as a Developer – Basic Extensions

Adapting the UI as a Developer – Advanced Extensions

Productizing the Extended App

Extending a Standard SAP Fiori App

Painting the Big Picture

Creating a List Report Preparing Your

ABAP Development Environment

Creating an Object Page

you are here

Using XML Annotation LSP for Defining Advanced UI Features

(3)

OData service

Floorplans Annotations Configuration

(optional)

Custom code (optional)

Provided by:

Application developers Provided by:

SAP Fiori elements framework

Adding custom controls and logic

Custom code complements your app beyond standard SAP Fiori elements functionality

SAPUI5 controls SAP Fiori elements

building blocks

(4)

Example: Don’t use switches instead of checkboxes for Booleans

Use SAP Fiori elements standard features whenever possible

The closer you stay to the standard SAP Fiori elements floorplans, the greater the savings in development and maintenance costs Familiarize yourself with the

feature map and design guidelines

Avoid inconsistent user experience

by introducing different controls

(5)

Add custom actions and controls to

▪ SAP Fiori elements floorplans (header, content area, and footer)

▪ SAP Fiori elements building blocks (i.e. table, chart, form, filter bar) See full list in the official UI5 documentation: Link

SAP Fiori elements list report as starting page

SAP Fiori elements object page as first detail page

Example: custom SAPUI5 page as second detail page Example: adding a geo map as a

custom section to the object page

Example: custom action in table

Adding custom controls and logic

Extend your SAP Fiori elements app with custom controls and pages

Add custom pages to your

SAP Fiori elements application

Add custom controls to SAP Fiori elements pages

(6)

Add controller extensions to SAP Fiori elements floorplans

Use controller extension points provided by SAP Fiori elements to

add custom controller logic

Only use the SAP Fiori elements ExtensionAPI for stable access to

SAP Fiori elements floorplan logic

Example: clicking on an airport invokes custom controller logic to display airport details

Custom code Custom code

Example: implement an extension point to adapt the navigation target based on document status

Custom code

SAP Fiori elements floorplans SAP Fiori

elements ExtensionAPI

Custom controller logic defines the behavior of your extensions

(7)

Adding custom controls and logic

We will add a custom section to the travel details page in this unit

Travel overview Travel list Travel details

Booking analysis Travel desk clerk Jay Food and beverages

(8)

Wrap-up

IN THIS UNIT, YOU LEARNED

▪ How you can extend your application with custom code

▪ The different options to add custom controls and logic

▪ Why to use custom code with care and use standard SAP Fiori elements features whenever possible

NEXT UNIT

▪ Week 3 – Unit 1

Creating an analytical list page

(9)

Thank you.

Contact information:

[email protected]

(10)

© 2021 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable for errors or omissions with respect to the materials.

The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platforms, directions, and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companies.

See www.sap.com/trademarkfor additional trademark information and notices.

www.sap.com/contactsap

References

Related documents

Custom SAP Fiori mobile apps customized and built by SAP’s customers using SAP Fiori mobile service will also support these management and data protection capabilities delivered

SPI adalah Proses yang integral pada tindakan dan kegiatan yang dilakukan SPI adalah Proses yang integral pada tindakan dan kegiatan yang dilakukan secara

When employees know or suspect a violation of a law or regulation and report this to a public body, no matter to whom or in what context, they are whistleblowers and as long as

Bruce Wayne became the terrorist and Batman became both torturer and operator of a mass surveillance system; it was exactly the point that in fighting the villain, he became

In this paper, the feasibility and usefulness of Q-Codes is tested to provide a semantic annotation (using both ICPC-2 for clinical concepts, and Q-Codes for both

This scope option provides integration of SAP Fiori transactional applications and SAP Fiori Launchpad in existing SAP Enterprise Portal landscape. The service provider is

Petitioner (the parent) appeals, pro se, from that part of a decision of an impartial hearing officer (IHO) which denied her request that respondent (the district) be required

First time applicants - When you have completed the Application Form and have collated your supporting documentation, you should call into the Student Services Centre (F113) to make