The ABAP RESTful programming model defines the architecture for efficient end-to-end development of intrinsically SAP HANA-optimized Fiori apps in SAP Cloud Platform ABAP Environment. It supports the development of all types of Fiori applications as well as A2X services. It is based on technologies and frameworks such as Core Data Services (CDS) for defining semantically rich data models and a service model infrastructure for creating OData services with bindings to an OData protocol and ABAP-based application services for custom logic and SAPUI5-based user interfaces.
Make sure to fulfill the following requirements:
http://eclipse.abapgit.org/updatesite/
.Use the abapGit plug-in to install the Flight Reference Scenario by executing the following steps:
/DMO/FLIGHT14
(using the superpackage /DMO/SAP
) as the target package for the demo content to be downloaded (leave the suggested values unchanged when following the steps in the package creation wizard).Window
> Show View
> Other...
from the menu bar and choose abapGit Repositories
.+
icon to clone an abapGit repository.https://github.com/SAP/abap-platform-refscen-flight.git
and choose Next./DMO/FLIGHT14
as the target package.As a result of the installation procedure above, the ABAP system creates an inactive version of all artifacts from the demo content and adds the following sub packages to the target package:
/DMO/FLIGHT_LEGACY
/DMO/FLIGHT_R14EUSE
/DMO/FLIGHT_R14EADONLY
- represents a read-only list reporting app (see also: corresponding end-to-end guide)./DMO/FLIGHT_UNMANAGED
- represents the transactional app with implementation type unmanaged (see also: corresponding end-to-end guide).NOTE: The demo packages do not include service bindings. They must be created in your own namespace to complete the service. Then you can run, for exmaple, the UI services with the Fiori Elements preview in the service binding.
To activate all development objects from the /DMO/FLIGHT14
package:
Activate
.To create a service binding for the read-only list reporting app (package /DMO/FLIGHT_R14EADONLY
):
/DMO/FLIGHT_R14
and choose New Service Binding
(see here for additional information). NOTE: The namespace /DMO/ is reserved for the demo content. Apart from the downloaded demo content, do not use the namespace /DMO/ and do not create any development objects in the downloaded packages. You can access the development objects in /DMO/ from your own namespace.
To create a service binding for the transactional app with implementation type unmanaged (package /DMO/FLIGHT_UNMANAGED
):
/DMO/TRAVEL_U14
and choose New Service Binding
(see here for additional information). To fill the demo database tables with sample business data:
/DMO/FLIGHT_LEGACY
> Source Code Library
> Classes
./DMO/CL_FLIGHT_DATA_GENERAT_14
and press F9
(Run as Console Application). The abapGit plug-in currently only supports to download content. It's not possible to upload any changes.
This project is provided "as-is": there is no guarantee that raised issues will be answered or addressed in future releases.
Copyright (c) 2018 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the SAP Sample Code License except as noted otherwise in the LICENSE file.