logo

Are you need IT Support Engineer? Free Consultant

Develop RAP-Based SAP Fiori Applications in Minute…

  • By sujay
  • 29/05/2026
  • 11 Views

 

Last year, as described in the blog From idea to app: using AI-powered Project Accelerator to develop SAP Fiori apps, the Project Accelerator focused on generating CAP-based projects,

Developing enterprise SAP Fiori applications using the ABAP RESTful Application Programming Model (RAP) provides a standardized way to build modern cloud-ready applications. These applications are typically developed in environments such as SAP BTP ABAP Environment and SAP S/4HANA Cloud Public Edition (version 2602 or higher).

In a significant step forward, the Project Accelerator now supports RAP-based projects In this post, I will explain why the addition of RAP is important and then describe the specific steps  to build an app using this new capability.

The addition of RAP support makes the AI Project Accelerator more relevant for enterprise SAP development by aligning it with SAP’s strategic ABAP model. It enables end-to-end generation of backend artifacts and frontend fully functional SAP Fiori elements application including manifest and annotation configurations. Furthermore, it supports the Clean Core 4-Level Extension Model, as the generated backend artifacts fall under Level A—the cleanest form of extensions.

The AI-powered Project Accelerator in SAP Fiori tools is available in SAP Business Application Studio (SBAS) under a SAP Build Code subscription ( is available).

Application ideas or business requirements can be provided by developers, designers, and business experts in various forms, such as:

  1. Text
  2. Image or UI mock-up (.jpg, .png)
  3. Combination of text and image as a business requirement document (.docx, .md)

The project accelerator enables rapid prototyping of a fully functional application that can be showcased and then extended using SAP Fiori tools or any coding assistants (such as Cline, Claude, and Copilot) integrated with MCP servers (for example, MCP server for SAP Fiori or CAP) for further development.

It generates the complete application stack from scratch, including the CDS data model, behavior definitions, service definitions, OData V4 service, and an SAP Fiori elements application. This follows a greenfield approach, with no reuse of existing business objects.

Getting Started

Now that we understand the AI Project Accelerator, let’s proceed with the step-by-step walkthrough to generate the RAP project using an SAP BTP trial account.

Before we begin, complete the following prerequisites:

  1. Get an Account on SAP BTP Trial (follow step 1 to step 5 and in step 6, choose region US East- AWS) . Note: The trial version of SAP Build Code is currently only available in the US East – AWS region.
  2. Start Booster- Prepare an Account for ABAP Trial (only step 1)
  3. Start Booster – Get started with SAP Build Code

Navigate to subaccount(trial) and verify Instances and subscriptions.

Create a Destination in the SAP BTP Cockpit.

Rap3.Png

Rap4.Png

Rap5.Png

Manually add below additional properties to destination and continue to review step.

  • WebIDEEnabled: true
  • abap_enabled: true
  • WebIDEUsage: odata_abap,dev_abap,abap_cloud
  • HTML5.DynamicDestination: true
  • HTML5.SetXForwardedHeaders: false
  • HTML5.Timeout: 360000

Verify all the details of destination and click on create.    

Rap6.Png

 

Configure ABAP Development Tools (ADT) and create new ABAP package.

  1. You have installed ABAP Development Tools, latest version
  2. Create new ABAP Cloud Project.
  3. Copy URL from destination properties.
  4. Create new ABAP package Z_ under super package ZLOCAL

Rap7.Png

SAP Build Code – Create new dev space

  1. Open the SAP Build Code lobby.
  • Rap8.Png

 

 

Rap9.Png

 

Create new Dev space that contains SAP Fiori tools extensions in SAP Business Application Studio.

Rap10.Png

 

Rap11.Png

 

Provide a Dev space name (for example: FioriAppDevelopment).

 

Rap12.PngRap13.Png

Once the Dev space is created and starts running, click on FioriAppDevelopment to open SAP Business Application Studio

Rap14.Png

Launching the SAP Fiori Tools AI: Project Accelerator

 Go to Project Explorer view and Click on Open Folder, to open your workspace folder (/home/user/projects).

Rap15.Png

 

Open the Command Palette

Rap16.Png

Search for “Fiori application” and select “Fiori: Open Application Generator”.

Rap17.Png

 

For AI-assisted SAP Fiori app creation click on “Project Accelerator”

Rap18.Png

 

Select RAP Accelerator.

  • Select the destination.
  • Enter the ABAP repository name
  • Choose the package for back-end artifacts generation
  • Provide a transport request (if required)
  • Not needed for local packages
  • Click Connect to proceed.
Rap19.Png

 

Generating Your First SAP Fiori Elements Application

 The AI Project Accelerator supports multiple input formats. One powerful approach is generating SAP Fiori application from images.

I have a hand-drawn sketch representing a Manage Purchase Orders application. the expectation from the Project Accelerator is to interpret the visual design and underlying business intent, identify floorplan and generate a RAP based SAP Fiori elements application. The generated application should closely reflect the structure, fields, and layout depicted in the image, converting the sketch into a fully functional List Report and Object Page.

Rap20.Png

Download manage_purchase_orders.png to your local disk and upload it to the Projects Folder. Drag and drop the image to the projects pane on the left.

Rap21.Png

Click on Choose File and select the manage_purchase_orders.png

 

Rap22.Png

You can view the generation logs to understand how SAP Fiori tools AI generates your application and if needed, to gather additional details for troubleshooting. // Add as side-info

Click on Generate. The project accelerator will analyze the image and generate a, including back-end OData V4 service artifacts and front-end artifacts. 

For supported features and known restrictions, refer to the documentation

Rap23.Png

In ABAP Development Tools (ADT), check the destination system and ensure that all backend OData V4 service artifacts are generated and available in the selected package.

 

Rap24.Png

 

Rap25.Png

After the generation process completes, the new project (e.g., ai-created-rap) is added to your workspace, and the Application Information page opens automatically.

On the Application Information page, under Common Tasks, click Preview Application.

  • Select start-mock to preview the application with AI-generated mock data.
  • Alternatively, use the start script to preview the application with the backend; however, the backend will not have any data as it is newly generated.

Rap26.Png

You will then see the SAP Fiori elements application with a List Report (including a filter bar and a table for purchase orders. Compare the generated SAP Fiori application with the uploaded image to verify how closely the project accelerator has interpreted the floorplan, fields, and structure.

Rap27.Png.       Rap28.Png

Overall, the AI Project Accelerator for RAP can significantly speed up the development of RAP-based SAP Fiori applications, enabling developers, designers, and business users to transform ideas, requirements, or even sketches into functional enterprise apps within minutes.

References:

Generating an Application with the Project Accelerator Using SAP Fiori Tools AI

Why use the AI-powered Project Accelerator from SAP Fiori tools?

SAP Fiori Tools Update: Elevating Development with AI, Usability, and Flexibility

 

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *