SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Create Database Table and Generate UI Service

Create a database table and generate UI services with SAP BTP ABAP environment.

Overview

🎓 beginner 20 min. SAP BTP ABAP EnvironmentBeginnerABAP DevelopmentSAP Business Technology PlatformSAP S 4hana Cloud

You will learn

  • How to create an ABAP package
  • How to create a database table
  • How to create a data generator class
  • How to generate transactional UI services
  • How to preview the travel app
Merve Temel M Merve Temel September 24, 2025
Created by March 9, 2023
Contributors

Prerequisites

Prerequisites

  • You need to have access to an SAP BTP, ABAP environment, or SAP S/4HANA Cloud, ABAP environment or SAP S/4HANA (release 2022 or higher) system. For example, you can create a free trial user on SAP BTP, ABAP environment.
  • You have downloaded and installed the [latest ABAP Development Tools (ADT)] (https://tools.hana.ondemand.com/#abap) on the latest Eclipse© platform.
  • You have created an ABAP Cloud Project.
  • Your system has the ABAP flight reference scenario. If your system hasn’t this scenario. You can download it here. The trial systems have the flight scenario included.
  • You have read and understood the tutorial Get to Know the ABAP RESTful Application Programming Model.

Steps

Intro

In this exercise, you will create an ABAP package and database table. In your database table you will define all important fields. To fill all your database table fields, you will create an ABAP class and run it. With the transactional UI services you will be able to define all your UI services in one step. This includes the data model, projection view, service definition and service binding. Afterwards you will check your Travel application with the SAP Fiori elements preview.


Step 1 Create Package

Create your exercise package. This ABAP package will contain all the artefacts you will be creating in the different exercises of this tutorial.

  1. In ADT, go to the Project Explorer, right-click on the package ZLOCAL, and select New > ABAP Package from the context menu.

  2. Maintain the required information (### is your group ID):

    • Name: ZRAP100_###
    • Description: RAP100 Package ### Select the box Add to favorites package

    Click Next >.

  3. Select a transport request, maintained a description (e.g. RAP100 Package ###), and click Finish.

    package
    package

Step 2 Create database table
+
Step 3 Generate transactional UI service
+
Step 4 Create data generator class
+
Step 5 Preview travel app
+
Step 6 Preview the Travel App in SAP S/4HANA on premise (optional)
+
Step 7 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Create Package 2. Create database table 3. Generate transactional UI service 4. Create data generator class 5. Preview travel app 6. Preview the Travel App in SAP S/4HANA on premise (optional) 7. Test yourself

Learn more →