In this SAP HANA Cloud tutorial, we will discuss how to set up SAP HANA cloud ABAP environment. Then we will see, how to create an instance of the ABAP. Also learn how to create a service key for this instance, so that we can access this instance from anywhere.
- What is the SAP HANA Cloud ABAP environment?
- How to set up the ABAP environment
- How to Create an ABAP Instance
- How to create a Service Key for the ABAP instance
What is the SAP HANA Cloud ABAP environment?
The SAP BTP, ABAP environment is a platform-as-a-service (PaaS) that enables programmers to create cloud applications using an ABAP programming language that has been optimized for the cloud.
- In 2017, SAP released Cloud Foundry, an open-source environment that supports a number of programming languages and can be deployed on infrastructures both on-premises and in the cloud.
- The list of languages supported by Cloud Foundry was expanded in 2018 to include ABAP. It runs only on Cloud Foundry, and because of its interaction with SAP BTP, close integration with other services and features is made possible.
- The SAP HANA database powers the SAP BTP, ABAP environment, which has ABAP-managed access to published database objects.
- Both cloud-based and on-premises scenarios are covered by connectivity choices, which also include the ability to offer web application programming interfaces. (APIs).
To manage the SAP BTP, ABAP environment, it’s crucial to take into account a few tools. The initial one is the SAP BTP cockpit, which is utilized to build and maintain the ABAP environment. For your development process, you’ll also need ABAP Development Tools (ADT) for Eclipse.
- The SAP BTP , ABAP environments are built on the same platform as SAP S/4HANA Cloud. The language is a constrained form of ABAP, which is frequently used in on-premise systems, and the programming paradigm is the ABAP RESTful application programming model.
- These limitations include unsupported functionality as well as features that aren’t appropriate for cloud environments, like file access and system calls.
How to set up ABAP environment in SAP Hana Cloud
First, log in with SAP BTP. Open your global account.
Make a subaccount in your global account for the ABAP environment.
Then click or select the created subaccount such as Abap_subaacount in the above picture, choose the Entitlements for that subaccount from the navigation area, and click on Configure Entitlements.
Click on the Add Service Plans.
From the Service Plans, search for the ABAP and select the ABAP Environment from the tile. Then from the Available Plans mark the check in front of the label shared and click on the button Add 1 Service Plans.
You can see the ABAP environment under the Service, then click on the Save button as shown in the below picture.
After adding the plans, click on the subaccount such as Abap_subaccount, you’ll now be taken to the subaccount trial overview page.
On that page enable the Cloud Foundry as shown in the below picture.
Then click on the button Create Space.
After creating space, you will see it under section Space as shown in the below picture.
This is how to set up the ABAP environment in SAP Hana Cloud.
Read How to Install ABAP Development Tools
How to Create an ABAP Instance in SAP Hana Cloud
To create an ABAP instance click on the Service Marketplace from the navigation and select the ABAP environment and click on the three dot, then click on Create option.
Then wizard launches to fill the details for the ABAP instance, some fields are filled for you already. After providing details for the instance, click on Next.
Enter your email address and then select Next. Your email address should be the same as the one you used for the Cloud Foundry Trial.
On the next step, review and verify the instance details, and click on the Create button to create the ABAP instance.
You will see the message on your screen about the ABAP instance creation something like this.
After a while, click on the Instances and Subscriptions in the navigation area, then click on the Instances section, in that you see the created instance.
How to create a Service Key for the ABAP instance
You can generate a service key for the ABAP system in the SAP BTP cockpit. To create credentials for direct communication with a service instance, utilise service keys.
- Once you have set up the service keys for your service, local clients, apps running in other locations, or entities outside of your deployment can use these keys to access your service.
- You can gain access to the ABAP environment’s service instance, for example, as the administrator during a test, by using a service key.
- The project creation wizard in ADT allows developers and other users having a user name and password for the ABAP system to log on to the ABAP service instance and utilize the service key that is automatically issued by the service instance, as opposed to utilizing an existing service key
To create a service key, click on the three dots in the front of the instance that you have created in the above steps. Then click on the Create Service Key option.
Then specify the Service Key Name, and click on the Create button to create the service.
After clicking on Create button, your Service Key is created and you can view the credentials for this key as shown in the below picture.
Conclusion
In this SAP HANA Cloud tutorial:
- What is the SAP HANA Cloud ABAP environment?
- How to set up the ABAP environment in SAP Hana Cloud
- How to Create an ABAP Instance
- How to create a Service Key for the ABAP instance
You may also like:
- How to manage roles and privileges for users in SAP HANA Cloud?
- What is SAP BTP Cockpit?
- What is SAP HANA Cloud Data Lake
- Create a Database Instance in SAP HANA Cloud
I am Chris Waldron, working as a Senior SAP HANA Consultant at Halliburton, Houston, Texas, United States. I have been working in SAP for more than 15 years, especially in SAP IT consulting and business consulting. I worked in various industries in Sales & Distribution, Customer Relationship Management, banking, Risk Management, etc. And I am an SAP Certified Development Specialist – ABAP for SAP HANA 2.0 and SAP HANA Modeling Certified consultant. Read more