Sergio Guerrero
Custom Fiori Applications in SAP HANA
Design, Develop, and Deploy Fiori Applications for the Enterprise
1st ed.
Logo of the publisher
Sergio Guerrero
Texas, TX, USA
Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/978-1-4842-6357-0 . For more detailed information, please visit http://www.apress.com/source-code .
ISBN 978-1-4842-6357-0 e-ISBN 978-1-4842-6358-7
https://doi.org/10.1007/978-1-4842-6358-7
Sergio Guerrero 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 1 New York Plaza, Suite 4600, New York, NY 10004-1562, USA. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
To my wife, Amy, for her unconditional support, and to my children, Oliver and Emma
To Tony and Ivette Villafranca
To the Guerrero and Jimenez families
Introduction
For many years, creating software applications in the SAP ecosystem was a headache; however, Fiori applications have changed the game when it comes to developing enterprise business applications that are simple to develop and meet complex rules across the enterprise. With their initial release over seven years ago and their fast adoption by many customers, Fiori applications are continuing to gain popularity due to Fioris delightful UX and proven capabilities. Many customers focus on application integration, application and data security, ease of use, business adoption, and features that are offered by other modern, high-quality, and competitive frameworks. SAP Fiori stands tall among its peers and offers a world-class framework to create similar products. This book walks you through the journey of designing, collaborating, developing, testing, and deploying Fiori applications to on-premise and cloud environments. Various IDE tools are showcased to inform the reader of the many available ways to develop, extend, test, and enhance Fiori applications. By the end of the book, the reader will have been informed of all the phases, tools, and features and will have completed a sample Fiori application developed in the SAP Web IDE and deployed to the SAP HANA XSA environments on-premise and also to the AWS Cloud Platform.
Chapter provides an explanation of what SAP Fiori applications are and it presents the five design principles for Fiori applications.
Chapters relate to consuming data from a remote OData service and also mocking data when it is not available. The data models are consumed and presented in a Model View Controller (MVC) design pattern, which is a common pattern used in Fiori applications. External JavaScript libraries are integrated into the Fiori applications and presented in various devices to show its responsive features.
Chapter shows and compares different unit testing frameworks used within the Fiori applications and also other open source frameworks, such as Nightmare and Puppeteer.
The book closes with Chapter and the deployment of the sample Fiori application into an on-premise environment, and presents the steps to deploy the same application to the SAP Cloud Platform and also into Amazon Web Services.
All source code is available to readers on GitHub via the books product page, located at www.apress.com/978-1-4842-6357-0 . For more detailed information, please visit http://www.apress.com/source-code .
Acknowledgments
I am thankful to my wife, Amy, and the people who are always there during the difficult times in my life. I am, again, very honored, humbled, and grateful for the Apress team and their valuable time: Divya, Laura, and Jose Ferez. Thank you for trusting me, and providing your guidance and different perspectives while I was writing this Fiori book. It has been a great journey and achievement.
Table of Contents
About the Author
Sergio Guerrero
is a passionate software engineer with 10+ years of experience in web and database development in various technology stacks such as .NET and SAP HANA. He is the author of Microservices on SAP HANA XSA (Apress). On non-working days, Sergio cheers for the Green Bay Packers and Tigres UANL (MX soccer) or can be found grilling.
About the Technical Reviewer
Jose Ferez
is an SAP ABAP Fiori consultant with more than 10 years of experience in different implementations and technologies and expertise in SAP Fiori, SCP, mobile services, and ABAP.
Jose worked as the main technical SAP Fiori reference for several implementations around the world, and has presented workshops and trainings since 2015.
Sergio Guerrero 2021
S. Guerrero Custom Fiori Applications in SAP HANA https://doi.org/10.1007/978-1-4842-6358-7_1
1. Fiori Applications in SAP HANA
Welcome to building custom Fiori applications in SAP HANA. In this introductory chapter, I will explain what Fiori is, what concepts are important when starting the development of a product, why the initial design is very important, different design methodologies, understanding its current and future users, and how users will utilize the product during a process. Eventually a product moves from design into development and deployment. This book will conclude with a full exercise showcasing an entire Fiori application developed with all the concepts discussed throughout the book.