The openSAP course Developing and Extending SAP Fiori Elements Apps by default expects you to use the ABAP environment that can be activated in your SAP BTP trial.
Customers and partners that want to use their own SAP BTP ABAP Environment instance have to install the content of this repository as well as the ABAP Flight Reference Scenario for the ABAP RESTful Application Programming Model for SAP BTP ABAP Environment.
Make sure to fulfill the following requirements:
- You have access to an SAP BTP ABAP Environment instance (see here for additional information).
- You have downloaded and installed ABAP Development Tools (ADT). Make sure to use the most recent version as indicated on the installation page.
- You have created an ABAP Cloud Project in ADT that allows you to access your SAP BTP ABAP Environment instance (see here for additional information). Your log-on language is English.
- You have installed the abapGit plug-in for ADT from the update site
http://eclipse.abapgit.org/updatesite/
. - You have installed the ABAP Flight Reference Scenario for the ABAP RESTful Application Programming Model
Use the abapGit plug-in to install the package /DMO/FE_HANDS_ON by executing the following steps:
- In your ABAP cloud project, create the ABAP package
/DMO/FE_HANDS_ON
(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). Please mark the checkbox "Add to favorite packages". - To add the abapGit Repositories view to the ABAP perspective, click
Window
>Show View
>Other...
from the menu bar and chooseabapGit Repositories
. - In the abapGit Repositories view, click the
+
icon to clone an abapGit repository. - Enter the following URL of this repository:
https://github.com/SAP-samples/fiori-elements-opensap.git
and choose Next. - Select the default branch BTP-ABAP and enter the newly created package
/DMO/FE_HANDS_ON
as the target package and choose Next. - Create a new transport request that you only use for this demo content installation (recommendation) and choose Finish to link the Git repository to your ABAP cloud project. The repository appears in the abapGit Repositories View with status Linked.
- Right-click on the new ABAP repository and choose
pull
to start the cloning of the repository contents. Note that this procedure may take a few minutes. - Once the cloning has finished, the status is set to
Pulled Successfully
. (Refresh theabapGit Repositories
view to see the progress of the import). Then refresh your project tree.
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 repository objects to the target package:
- Data Element:
/DMO/CARRIER_PIC
- CLASS
/dmo/cl_fe_travel_generator
To activate all development objects from the /DMO/FE_HANDS_ON
package:
- Click the mass-activation icon (Activate Inactive ABAP Development Objects) in the toolbar.
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.
This project is provided "as-is": there is no guarantee that raised issues will be answered or addressed in future releases.
Copyright (c) 2021 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.