Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Nesreen
Associate
Associate
2,083

SAP has introduced new ABAP RAP capabilities in Build, generating interest among developers eager to explore these features using their free trial accounts. The following steps will help you to get started:

1. Login to the BTP Cockpit

Login to the BTP Cockpit to access your global account.

2. Subscribe to Build Code and ABAP

Navigate to the ‘Boosters’ tab and follow these steps:

  • Subscribe to 'Get started with SAP Build Code' and click ‘Start’ to install it.
  • Subscribe to 'Prepare an Account for ABAP Trial' and click ‘Start’ to install the ABAP development environment.

Nesreen_0-1739286537337.png

Nesreen_1-1739286537351.png

3. Create a New Instance of ABAP Environment

Go to ‘Account Explorer,’ then navigate to your sub-account. Next, follow these steps:

  • Go to the ‘Service Marketplace,’ click on 'ABAP Environment' to create a new instance.

Nesreen_2-1739286537372.png

  • In the left panel, navigate to ‘Instances & Subscriptions,’ click on the '1 Key' of the ABAP Environment, and download the file which you will use it later to configure the destination.

Nesreen_3-1739286537392.png

4. Configure the Destination

To configure the destination, follow these steps:

  • Go to the 'Connectivity' tab in the left panel, then navigate to 'Destinations.'
  • Click on ‘Import Destination’ and import this file.
  • Name your destination, and copy and paste the ‘URL,’ ‘Client ID,’ and ‘Client Secret’ from the '1 Key' file downloaded in step 3. Add your User (email) and Password.
  • For the ‘Token Service URL,’ copy the URL from the file you download in step 3, append /oauth/token at the end of the URL, and then save.
  • Check out this link for more details

Nesreen_4-1739286537411.png

5. Create an Application with ABAP Cloud

To create an application with ABAP Cloud:

  • Go to ‘Instances and Subscriptions,’ click on ‘SAP Build Code,’ then ‘Create’ and ‘Build an Application.’
  • Select 'ABAP Cloud.'

Nesreen_5-1739286537442.png

In the System Dropdown, you will see the list of Destinations connected to the BTP ABAP Environment. Select the destination pointing to your desired ABAP System. If the destination is valid, the System ID and System Client will display below the System's Dropdown.

a. Use an Existing Package

  • If you have a preexisting package, click 'Next' to move directly to the ABAP project creation dialog.

Nesreen_6-1739286537458.png

b. Create a New Project as follows:

Nesreen_7-1739286537486.png

6. Create a Package and Connect Eclipse to SAP Build

To create a package, we need to connect Eclipse to the web system. Follow these steps:

  • Download and install Eclipse.
  • Launch Eclipse, click on the ‘Help’ tab at the top, and select ‘Install New Software.’ Add this link: https://tools.hana.ondemand.com/latest, then select ‘ABAP development Tools’ and ‘Modeling tools for SAP BW/4HANA and SAP BW powered by SAP HANA.’
  • Click ‘Next’ >> ‘Next’, accept the terms of the license agreement, then click 'Finish.'

Nesreen_8-1739286537495.png

  • Select Authority/update site and click ‘Trust Selected.’ After completing the installation, click ‘Restart Now.’

Nesreen_9-1739286537511.png

  • Click on ‘File’ >> ‘New’ >> ‘Other’ >> Expand ‘ABAP’ and select ‘ABAP Cloud Project’ >> Click ‘Next.’

Nesreen_10-1739286537525.png

  • Copy the Destination URL from the BTP Cockpit and paste it into the ‘ABAP Service Instance URL,’ then click ‘Next.’

Nesreen_11-1739286537550.png

  • Click on ‘Copy Logon URL to Clipboard,’ paste it into your browser to log on successfully, then return to Eclipse and click ‘Finish.’

Nesreen_12-1739286537567.png

Return to the Lobby and click on the new ABAP Cloud project you created, then click 'Open eclipse.exe.'

Nesreen_13-1739286537580.png

In Eclipse:

  • Select ‘Open an existing project’ and choose your project.

Nesreen_14-1739286537590.png

Now, you can create an ABAP project or package from the Lobby

Nesreen_15-1739286537597.png

 

2 Comments