Video link

The video subtitles were translated manually by Jerry.

Welcome back to week 1, unit 4, setting up a development environment for Fiori Elements.

In this course, we will use the SAP Business Technology Platform, or BTP.

The reason is that the vast majority of OData services used by SAP Fiori Elements are based on the ABAP technology stack.

We used SAP BTP because the ABAP environment on it is very easy to use.

Also, this way we always have access to the latest version of the ABAP platform so that we can take advantage of the latest ABAP features and improvements.

One of the cool new features is RESTful ABAP Programming Model, or RAP, which was previously covered in Unit 2.

It is very easy to create OData V2 and V4 using RAP.

If the ABAP version of your system is low, you can still use the ABAP Programming Model for Fiori, which still provides the ability to create OData services based on the CDS view.

If you are still using versions 740 and below, you can still use SEGW to develop OData services manually, just on a larger scale.

In summary, if your system does not have access to RAP, then we recommend SAP BTP.

In addition to RAP, you can also try Cloud Application Programming, or CAP. This is another great way to create an OData service.

If you do not already have an SAP BTP Trial account, the first step is to create one and then complete the ABAP environment setup using the Booster wizard. Please note that the TRIAL environment is intended for educational purposes and is not intended to be used as a production system. In addition, the lifetime of the TRIAL environment is limited, Trial users share the same ABAP backend, and there is no data isolation between different users.

If you have not used Booster to set up an ABAP environment on a BTP before, let me show you. If you don’t already have an SAP BTP trial account, you can create one for free by clicking here. I’ve already registered before, so I’ll just log in.

On the welcome page, click Enter Your Trial Account. The ABAP runtime we needed could be easily configured with Booster by clicking on the tile of Prepare an Account for ABAP Trial.

After the configuration is complete, click the Go to Service Key. I will need this Key when I add this ABAP environment on BTP to the ABAP Development Tool(ADT for short).

In this course, we will use ABAP CDS annotations to complete the List Report and Object Page exercises.

So you need to install ADT on your machine and log in to the SAP BTP ABAP environment using ADT. On this page, you can find all the information you need to install and run ADT locally. First, make sure the prerequisites for using Java are met locally, along with the Windows operating system and the Microsoft VC runtime. Now do the ADT installation. The first step is to download Eclipse, which I already downloaded and installed ahead of time. The next step is to install ADT in Eclipse. To do this, I get the URL from the previous step.

I click the Help menu: Install New Software, click the Add button, maintain any name, and paste the URL. Check the checkbox in front of the ABAP Development Tool and click Next. Again, click Next, Accept these terms and click the Finish button, Accept Certificate. After the installation process was complete, I needed to restart Eclipse and switch to the ABAP Perspective.

The path is window-perspective-open perspective-other. Select ABAP and click Create an ABAP Cloud Project:

Select the Service Key and click Next. Now go back to the SAP BTP console, copy the Service Key, paste it into the Text Area, and click Next.

Now you need to authenticate, click Open In Browser. Enter the SAP BTP TRIAL system user name and password here. Go back to Eclipse and click Next and Finish. The ADT is now successfully connected to the SAP BTP ABAP runtime environment.

To summarize, in this unit you learned how to set up an ABAP runtime environment in an SAP BTP Trial account and how to install ADT locally to connect to the above environment.

In the next unit, we’ll use ADT to generate the OData service needed to do the exercise in a short time, so stay tuned.

More of Jerry’s original articles can be found on “Wang Zixi “: