Monday, 22 February 2021

Get latest version of ABAP trial using BTP

ABAP trial powered by BTP (Business Technology Platform) is a free version, constantly updated to the latest capabilities and available to coding in ABAP for HANA. This SaaS (Software-as-a-Service) is managed and updated only by SAP and involves all cloud characteristics as multitenancy. SAP has the disposition to end or change the trial period, restricting some authorizations to the users and share ABAP artifacts simultaneously with multiple users.

This article is about to get in a very easy and detailed manner to the first option: the ABAP trial powered by BTP and use it to create (as an example) some basic artifacts: package, transport request, and one class. Perhaps you want to access that from your own machine through ADT, and get it all in a fast way.

What do we need?

The first that we need is an account in the BTP. If we don’t have it, we can use this steps:

Get a Free Account on SAP BTP Trial

The second that we need is a recent version of ADT (ABAP Development Tools). To achieve this, We can install the latest version of eclipse and also ADT. Some information about the latest tools is here:

https://tools.hana.ondemand.com/

And Third, maybe the most important we need the desire to explore and learn about the latest ABAP statements available. So, this environment lets us practice. Without further ado, let’s get started!

ABAP trial from BTP in action, step by step!

We are going to create an ABAP trial instance in the BTP and also connect with our own ADT. In the BTP we need to go to the “Trial Home”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Click on the bottom “Enter Yor Trial Account”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Click on the tile of the provider of subaccount that in the example is AWS:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then we get an informative message about the update in the Services Marketplace page, and we click on the button “Go to Marketplace”

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Click on the tile “ABAP environment”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

On the right of the page, we get the bottom “Create” that lets us create an share instance of ABAP environment. This mean that we’ll aren’t the unique users:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then, we need to fill the instance name, for example, “ABAP_instance”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

In this window, we need fill the email used to create the BTP account between the quotes and without spaces:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

The next step is the resume of the instance we are creating and then we click on the button “create”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We get a successfull message:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

To the right of page we need to create a service key that let us to connect own ADT with the ABAP trial instance:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We need to fill the service key name, for example, “KEY_ABAP_TRIAL” and the click on botton “Create”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then, we can to see that one service key exist:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

After creating the service key, we need to download the file that contains the data to authentication. So, click in the selection “Download”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

A partial picture of the service key is shown here as example:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then, we need to open the Eclipse – ADT window and click on File->New->ABAP Cloud Project:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Here we have two options to create the connection. For this tutorial we use “Service Key” and click on “Next”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Click on the button “Import”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

And go to the file that was download previously:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Click again on the button “Import” so to process the authentication in the cloud service:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Click on the bottom “Open Logon Page in Browser”:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then we get the successfully message about the logged session and we can close this page:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We return to Eclipse’s window and click on “Finish” button:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then, we have as default a share package “ZLOCAL” and it’s possible add other packages to the project:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

For this example, the packages associate with BC_TRAVEL_MODEL training are added:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We finally get our own ABAP (for HANA) project:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We can explore and see the package that we had included:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Expandind the ZLOCAL package it’s possible seeanother packages that other users had created before to us:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

If we go to the option SAP GUI, we get the message that SAP GUI view is not supported. Only Look & Feel is supported:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Finally and as an example, we’ll create one package, one class and by the way one Transport Request. So we open the contextual menu above the package “ZLOCAL” and click on New->ABAP Package: 

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We fill the information required and click on “Next” button:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We fill the description to Transport request and click on “Finish” button:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Here we have the resume of the new package:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Then, we navigate to the new package within the “ZLOCAL” package and we open the contextual menu -> New->ABAP Class

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Filling the required information about the class and click on the “Next” button:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

We assign our Transport Request and Click on “Finish” button:

SAP ABAP Development, SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Preparation, SAP ABAP Learning, SAP ABAP Career, SAP ABAP Guides

Finally, we have our canvas for the new class:

    

No comments:

Post a Comment