SAP PRESS is a joint initiative of SAP and Rheinwerk Publishing. The know-how offered by SAP specialists combined with the expertise of Rheinwerk Publishing offers the reader expert books in the field. SAP PRESS features first-hand information and expert advice, and provides useful skills for professional decision-making. SAP PRESS offers a variety of books on technical and business-related topics for the SAP user. For further information, please visit our website: http://www.sap-press.com. Goebels, Nepraunig, Seidel SAPUI5: The Comprehensive Guide 2016, 672 pages, hardcover and e-book www.sap-press.com/3980 Bönnen, Drees, Fischer, Heinz, Strothmann SAP Gateway and OData (2nd Edition) 2016, 785 pages, hardcover and e-book www.sap-press.com/3904 Miroslav Antolovic Getting Started with SAPUI5 2014, 462 pages, hardcover and e-book www.sap-press.com/3565 Gahm, Schneider, Swanepoel, Westenberger ABAP Development for SAP HANA (2nd Edition) 2016, 641 pages, hardcover and e-book www.sap-press.com/3973 Anil Bavaraju SAP Fiori® Implementation and Development Dear Reader, Sometimes, the sequel is better. The Godfather Part II. Led Zeppelin II. Web 2.0. You’re not working from scratch. You can innovate inside the constraints of what has come before. Coppola found the Mafia story he wanted to tell. Zeppelin toured and found their sound. The internet moved away from static websites to dynamic, user-generated content. Updates are fresh, revitalizing, and important for longevity. All of this remains true for the SAP Fiori 2.0 design concept (the next stage for UX throughout SAP) and the second edition of our bestselling SAP Fiori Implementation and Development guide. Inside this updated edition, SAP Fiori ace Anil Bavaraju has dispensed the implementa- tion and development information you need to know, including step-by-step instruc- tions and screenshots. What did you think about SAP Fiori Implementation and Development? Your comments and suggestions are the most useful tools to help us make our books the best they can be. Please feel free to contact me and share any praise or criticism you may have. Thank you for purchasing a book from SAP PRESS! Will Jobst Editor, SAP PRESS [email protected] www.sap-press.com Rheinwerk Publishing • Boston, MA Notes on Usage This e-book is protected by copyright. By purchasing this e-book, you have agreed to accept and adhere to the copyrights. You are entitled to use this e-book for personal purposes. You may print and copy it, too, but also only for personal use. Sharing an electronic or printed copy with others, however, is not permitted, neither as a whole nor in parts. Of course, making them available on the Internet or in a company network is illegal as well. For detailed and legally binding usage conditions, please refer to the section Legal Notes. This e-book copy contains a digital watermark, a signature that indicates which person may use this copy: Copy No. g8xt-medk-75qu-hpvs for personal use of Daniel Trandafir [email protected] Imprint This e-book is a publication many contributed to, specifically: Editor Will Jobst Acquisitions Editor Hareem Shafi Copyeditor Melinda Rankin Cover Design Graham Geary Photo Credit Shutterstock.com/72580192/© Nejron Photo Production E-Book Marissa Fritz Typesetting E-Book SatzPro (Germany) We hope that you liked this e-book. Please share your feedback with us and read the Service Pages to find out how to contact us. The Library of Congress has cataloged the printed edition as follows: Names: Bavaraju, Anil. Title: SAP Fiori implementation and development / Anil Bavaraju. Description: 2nd edition. | Bonn ; Boston : SAP Press, Rheinwerk Publishing, 2017. | Includes index. Identifiers: LCCN 2017010639 | ISBN 9781493215416 (alk. paper) Subjects: LCSH: SAP Fiori. | Enterprise application integration (Computer systems) | Cross-platform software development. | User interfaces (Computer systems) | Business enterprises--Data processing. Classification: LCC QA76.76.A65 B378 2017 | DDC 005.4/37--dc23 LC record available at https://lccn.loc. gov/2017010639 ISBN 978-1-4932-1541-6 (print) ISBN 978-1-4932-1542-3 (e-book) ISBN 978-1-4932-1543-0 (print and e-book) © 2017 by Rheinwerk Publishing, Inc., Boston (MA) 1st edition 2017 Contents Foreword ................................................................................................................................................ 15 Preface..................................................................................................................................................... 17 Acknowledgments .............................................................................................................................. 23 PART I Getting Started 1 Introduction to SAP Fiori 27 1.1 SAP Fiori and the Evolution of User Experience..................................................... 27 1.1.1 SAP UX Strategy .................................................................................................... 28 1.1.2 SAP Fiori UX Design Principles ......................................................................... 29 1.2 Architecture and Integration.......................................................................................... 30 1.2.1 SAP Fiori Launchpad ............................................................................................ 32 1.2.2 SAP Web Dispatcher ............................................................................................ 42 1.2.3 Communication Channels................................................................................. 44 1.2.4 SAP Fiori App-Supported Browsers and OS.................................................. 45 1.2.5 SAP Fiori, Cloud Edition....................................................................................... 47 1.3 Types of SAP Fiori Apps ..................................................................................................... 50 1.3.1 Transactional Apps .............................................................................................. 53 1.3.2 Fact Sheet Apps..................................................................................................... 54 1.3.3 Analytical Apps...................................................................................................... 55 1.4 Related SAP Technologies................................................................................................ 57 1.4.1 SAPUI5...................................................................................................................... 57 1.4.2 OData and SAP Gateway.................................................................................... 68 1.4.3 SAP HANA XS.......................................................................................................... 74 1.5 Summary ................................................................................................................................. 75 2 Installation and Configuration 77 2.1 Prerequisites .......................................................................................................................... 77 7 Contents 2.2 Implementation Options................................................................................................. 78 2.2.1 ABAP Environment .............................................................................................. 78 2.2.2 SAP HANA Database ........................................................................................... 80 2.2.3 SAP HANA XS ......................................................................................................... 81 2.2.4 SAP S/4HANA ........................................................................................................ 84 2.3 Deployment Options ......................................................................................................... 85 2.3.1 Central Hub Deployment .................................................................................. 85 2.3.2 Embedded Deployment ..................................................................................... 87 2.4 Apps Reference Library ..................................................................................................... 88 2.5 Installation............................................................................................................................. 89 2.5.1 ABAP Environment .............................................................................................. 89 2.5.2 SAP Web Dispatcher............................................................................................ 105 2.5.3 SAP HANA Server.................................................................................................. 106 2.6 Configuration........................................................................................................................ 108 2.6.1 SAP Fiori Launchpad............................................................................................ 108 2.6.2 SAP Gateway.......................................................................................................... 122 2.6.3 Embedded Search ................................................................................................ 128 2.6.4 SAP HANA ............................................................................................................... 134 2.6.5 Configuration Using the Task List .................................................................. 137 2.7 Upgrading to SAP Fiori 2.0 .............................................................................................. 146 2.7.1 SAP Fiori 2.0 for SAP S/4HANA ........................................................................ 146 2.7.2 SAP Fiori 2.0 for SAP Business Suite Powered by SAP HANA or AnyDB............................................................................................ 147 2.8 Summary................................................................................................................................. 147 PART II Implementation 3 SAP Fiori Security 151 3.1 Communication Channel Security and Encryption .............................................. 152 3.1.1 Client to SAP Web Dispatcher.......................................................................... 155 3.1.2 SAP Web Dispatcher to ABAP Servers ........................................................... 155 8 Contents 3.1.3 ABAP Front-End Server to ABAP Back-End Server ...................................... 158 3.1.4 SAP Web Dispatcher to SAP HANA XS ........................................................... 161 3.2 Single Sign-On and User Authentication .................................................................. 163 3.2.1 Kerberos/SPNEGO ................................................................................................ 164 3.2.2 Security Assertion Markup Language 2.0..................................................... 165 3.2.3 SAP Logon Tickets................................................................................................. 167 3.2.4 X.509 Certificate ................................................................................................... 168 3.3 User Authorizations and Management ..................................................................... 169 3.3.1 User Management ............................................................................................... 169 3.3.2 User Authorization............................................................................................... 170 3.4 Summary ................................................................................................................................. 173 4 Implementing Transactional Apps 175 4.1 Activating the SAPUI5 Component ............................................................................. 176 4.2 Activating the OData Services ....................................................................................... 179 4.3 ABAP Front-End Roles ........................................................................................................ 184 4.3.1 Copy Business Catalog Role .............................................................................. 185 4.3.2 Start Authorization .............................................................................................. 186 4.3.3 Assign Roles to Users........................................................................................... 191 4.4 ABAP Back-End Roles ......................................................................................................... 192 4.4.1 Copy the Back-End Role ...................................................................................... 193 4.4.2 Assigning Roles to Users .................................................................................... 193 4.5 Running the App .................................................................................................................. 194 4.6 Custom Business Catalogs and Roles ......................................................................... 195 4.6.1 Create a New Launchpad and Application................................................... 196 4.6.2 Create and Assign a Transport Request........................................................ 199 4.6.3 Create a New Catalog ......................................................................................... 201 4.6.4 Create New Target Mapping ............................................................................ 202 4.6.5 Add a Static Tile..................................................................................................... 204 4.6.6 Create the Custom Role and Add the Catalog ............................................ 206 4.7 Summary ................................................................................................................................. 211 9 Contents 5 Implementing Fact Sheet Apps 213 5.1 App Activation Tool............................................................................................................ 214 5.2 Activating the SAPUI5 Component............................................................................. 218 5.3 Activating OData Services............................................................................................... 219 5.4 Assign ABAP Back-End Roles .......................................................................................... 220 5.5 Creating Search Connectors ........................................................................................... 221 5.5.1 Create Connectors Manually ........................................................................... 223 5.5.2 Create Connectors Automatically .................................................................. 225 5.6 Indexing Search Connectors........................................................................................... 225 5.7 Running the App.................................................................................................................. 228 5.8 Summary................................................................................................................................. 230 6 Implementing Analytical Apps 231 6.1 Overview................................................................................................................................. 232 6.2 Implementation Prerequisites ...................................................................................... 233 6.3 Analytical Apps with the SAP Smart Business Modeler..................................... 235 6.3.1 Create the KPI........................................................................................................ 235 6.3.2 Create Evaluations for the KPI ......................................................................... 238 6.3.3 Configure the KPI Tile ......................................................................................... 242 6.3.4 Configure the KPI Drilldown............................................................................. 246 6.3.5 Assign Roles to Users to Access SAP HANA Data....................................... 254 6.3.6 Enable the App for Access in SAP Fiori Launchpad ................................... 257 6.3.7 Assign the App Using a Custom Role ............................................................ 261 6.4 Analytical Apps without the SAP Smart Business Modeler ............................. 270 6.4.1 Activate the SAPUI5 Application..................................................................... 271 6.4.2 Assign the SAP HANA Role ................................................................................ 271 6.4.3 Assign the App-Specific Catalog Role............................................................ 272 6.4.4 Add the App to SAP Fiori Launchpad ............................................................. 272 6.5 Summary................................................................................................................................. 273 10
Description: