1、U50NW731BBConfigGuideENXXSAP NetWeaver 7.31 July 2014August 2000August 2000EnglishEnglishSAPUI5 General Configuration (U50)SAP AGDietmar-Hopp-Allee 1669190 WalldorfGermanyBuilding Block Configuration GuideCopyright 2014 SAP AG or an SAP affiliate company. All rights reserved.No part of this publicat
2、ion may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.Some software products marketed by SAP AG and its distributors contain proprietary software components of other software
3、vendors.National product specifications may vary.These materials are provided by SAP AG and its affiliated companies (SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. T
4、he only warranties for SAP Group 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. SAP and other SAP products and services mentioned herein
5、as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries. Please see for additional trademark information and notices.IconsIconMeaningCautionExampleNoteRecommendationSyntaxTypographic ConventionsType StyleDescriptionExample textWords or chara
6、cters that appear on the screen. These include field names, screen titles, pushbuttons as well as menu names, paths and options.Cross-references to other documentation.Example textEmphasized words or phrases in body text, titles of graphics and tables.EXAMPLE TEXTNames of elements in the system. The
7、se include report names, program names, transaction codes, table names, and individual key words of a programming language, when surrounded by body text, for example, SELECT and INCLUDE.Example textScreen output. This includes file and directory names and their paths, messages, source code, names of
8、 variables and parameters as well as names of installation, upgrade and database tools.EXAMPLE TEXTKeys on the keyboard, for example, function keys (such as F2) or the ENTER key.Example textExact user entry. These are words or characters that you enter in the system exactly as they appear in the doc
9、umentation.Variable user entry. Pointed brackets indicate that you replace these words and characters with appropriate entries.Content1 Purpose 52 Preparation 52.1 Prerequisites 53 Configuration 53.1 Configuring the System Landscape 53.1.1 Configuration for Basic System Settings 53.1.2 Configuration
10、 for Gateway Server 53.1.3 Configure the SAP NetWeaver Gateway Server 63.2 Configure Gateway Services 63.2.1 Create a Project 63.2.2 Define the Data Model 73.2.3 Create an Entity Set 83.2.4 Implement a Service 93.2.5 Generate the Service 103.2.6 Register the Service 103.2.7 Activate the Service 113.
11、2.8 Test the Service 124 SAPUI5 124.1 Create a SAPUI5 Application 124.1.1 Creating a SAPUI5 Application Project 124.1.2 Review the Generated Project Files 144.1.3 Create a Configuration File 154.2 SAPUI5 Main Concepts 154.2.1 Controls 154.2.2 MVC Concepts 164.2.3 Views in SAPUI5 164.2.4 Controllers
12、in SAPUI5 174.2.5 Models in SAPUI5 184.2.6 Binding 184.3 Include an SAPUI5 Control in a User Interface 194.3.1 Include a Table Control 204.3.2 Include a Graph Control 224.3.3 Use of POWL Report as an OData Web Service 245 Test and Deploy the SAPUI5 User Interface 295.1 Test the SAPUI5 User Interface
13、 Locally 295.1.1 Enabling Backend Access for Local Testing 295.1.2 Testing Using SAPUI5 Application Preview 305.2 Deploy the SAPUI5 User Interface to the SAP System 315.2.1 Sharing the SAPUI5 Application Project with the SAPUI5 Repository 315.2.2 Submitting the SAPUI5 Application Project to the SAPU
14、I5 Repository 325.3 Executing SAPUI5 User Interface in SAP System 335.3.1 Create Role for SAPUI5 User Interface 335.3.2 Execute the User Interface 356 Appendix 366.1 Using SAPUI5 Library of Controls 36SAPUI5 General Configuration: Configuration Guide1 PurposeThe purpose of this document is to descri
15、be the general configuration steps required to manually set up the configuration for using SAPUI5 to create user interfaces.2 PreparationPrerequisitesBefore working with this document, you should be familiar with topics covered in preceding building blocks. The preceding building blocks are listed i
16、n the section Solution Overview of the Configuration Guide to Implementing SAP Fiori Design Rapid-Deployment Solution V2.In order to comprehend the coding aspects of the user interface an understanding of JavaScript is required.3 ConfigurationConfiguring the System Landscape Once you have installed
17、the SAP NetWeaver Gateway components, you must configure your system to allow the consumer servers applications to retrieve the data requested by users. These activities only need to be carried out once in a system, not for each user interface.Configuration for Basic System SettingsBefore you start
18、configuration for SAP NetWeaver Gateway itself, you need to configure some information about the SAP NetWeaver Gateway host.The chapter Basic Configuration Settings in the SAP NetWeaver Gateway Configuration Guide documents the steps required for this. Configuration for Gateway ServerThe Gateway Ser
19、ver may be on a different system to the system where the applications which are displayed in the SAPUI5 user interface are executed (referred to here as the application system). In this case, specific configuration activities for setting up Remote Function Call (RFC) connections and the associated t
20、rust relationships are required. The chapter OData Channel Configuration in the SAP NetWeaver Gateway Configuration Guide documents the steps required for this. Not all these activities are required for a local Gateway Server scenario, where the Gateway server is on the same system as the applicatio
21、ns. In this case you do not need the steps documented in the section Connection Settings on the SAP NetWeaver Gateway Hub System. Configure the SAP NetWeaver Gateway ServerOnce you have installed the SAP NetWeaver Gateway components, you must configure your system to allow the consumer servers appli
22、cations to retrieve the data requested by users. The SAP NetWeaver Gateway Configuration Guide contains the steps for customizing settings for SAP NetWeaver Gateway and describes system configuration activities. Configure Gateway Services The SAP NetWeaver Gateway Service Builder supports you during
23、 the different process steps for developing OData Services: Project creation: here you create the project and the structure for the service definition. Data model definition phase: here you define the model, for example an RFC or BOR data source that, your service shall be based on. Entity set creat
24、ion: here you define how specific entities are read. Service implementation: here you implement the operations which shall be supported by the service. Service generation: here you generate the classes for the model and the data provider. Service registration: here you register and activate the serv
25、ice in an SAP NetWeaver Gateway system. In a remote Gateway server scenario, you carry out these activities in the SAP NetWeaver Gateway system.The following steps provide a generic description of how to configure a SAP NetWeaver Gateway service. For specific instances of this, refer to the respecti
26、ve sections in the configuration guides SAP Fiori User Interface (building block U56); SAPUI5 Configuration for Sales and Distribution (building block U51); SAPUI5 Configuration for Project Services (building block U52).Create a ProjectUseTo develop services using NetWeaver Gateway Service Builder,
27、you first need to create a project.Service Builder uses projects to bundle all the artifacts required to develop a service in one central place.Procedure1. Enter the following to open the Service Builder:Transaction CodeSEGW2. Choose Enter.3. In the toolbar, choose Create Project.4. In the Create Pr
28、oject dialog box, enter the following information:Field NameEntry ValueProjectDescriptionPackageThe project name must be unique and may not contain any spaces or special characters; however, it may contain underscores.If you do not want the project to be transported to another system, enter $TMP as
29、the package name or choose Local Object.5. Choose Continue. The Service Builder creates a new project together with an empty folder structure. You can see the newly created project in the tree view in the left-hand screen area. 6. Choose Save.If you do not save the newly created project, your data w
30、ill be lost as soon you close the Service Builder.Define the Data ModelThe Service Builder enables you to create entity types from RFC/BOR interface. A wizard is provided to guide you through the process. You can also create entity types from data dictionary structures, for example, structures, data
31、base tables, views or from a data model that has already been created.Use These steps enable you to create an entity type from an RFC/BOR data source.Procedure7. Right-click on the projects data model.8. To open the wizard to guide you through the creation of entity types, choose Import RFC/BOR Interface.9. In the Wizard Step 1 of 3:Create Entity Type from Data Source dialog box, enter the following information:Field NameEntry ValueEntity Type nameName of entity ty
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1