End-to-End Guide to Consume RAP application to Fiori Using SAP Business Application Studio

Estimated read time 4 min read

To consume a RAP (RESTful ABAP Programming) application in SAP Fiori using SAP Business Application Studio (BAS), you will typically follow a series of steps involving the creation of the RAP service, exposing it as a Cloud RAP service, and integrating it into a Fiori application. Below is an end-to-end guide outlining these steps. 

 Prerequisites 

Create one RAP application (Managed/Unmanaged/Unmanaged & Save). 

Step-by-Step Guide 

 Login to your BTP account, check if there is any destination, if not Create a destination to Cloud RAP   service. 

 Login to BTP account, Click on SAP Business Application Studio (BAS). 

  Provide the credentials (BTP Credentials), Click on Continue. 

 Click on OK Create Dev Space. 

 Click on New Project from Template. 

  Select SAP Fiori generator template 

  Select the template, and click on Next 

  Select the Data source which you want to create Destination. 

  Select the System (ABAP environment on SAP BTP). 

  Here there is no ABAP Environments, it requires credentials to do this follow the bellow steps. 

  Click three dots (bellow left side), select Cloud Foundry. 

  Click on Services, and login required,  

  Select the Credentials radio button and provide your username (your BTP account mail) and Password. 

 Go back and check the destination. 

  Provide Cloud foundry Details 

  Select Cloud foundry Organization (System generated) 

  Select your Cloud foundry space. 

  Organization and space have been set successfully. 

  Refresh the page. 

 Now select the ABAP Environment and your RAP Service, then Click on Next. 

 Select the Main entity and Navigation Entity and table type as responsive, then click on next. 

 Fill in the required fields, click on finish. 

 Right click on webapp, below the folder. Click on preview application. 

 Select the start Fiori run test. 

  Perform modify operations. 

 

Conclusion 

By following this guide, you will have created and consumed a RAP service using SAP Business Application Studio for a Fiori application. This approach leverages the power of SAP Fiori’s UI5 framework, combined with the RAP model for backend development, making it possible to efficiently create modern SAP Fiori apps. 

 

 

​ To consume a RAP (RESTful ABAP Programming) application in SAP Fiori using SAP Business Application Studio (BAS), you will typically follow a series of steps involving the creation of the RAP service, exposing it as a Cloud RAP service, and integrating it into a Fiori application. Below is an end-to-end guide outlining these steps.  Prerequisites Create one RAP application (Managed/Unmanaged/Unmanaged & Save). Step-by-Step Guide  Login to your BTP account, check if there is any destination, if not Create a destination to Cloud RAP   service.  Login to BTP account, Click on SAP Business Application Studio (BAS).   Provide the credentials (BTP Credentials), Click on Continue.  Click on OK Create Dev Space.  Click on New Project from Template.   Select SAP Fiori generator template   Select the template, and click on Next   Select the Data source which you want to create Destination.   Select the System (ABAP environment on SAP BTP).   Here there is no ABAP Environments, it requires credentials to do this follow the bellow steps.   Click three dots (bellow left side), select Cloud Foundry.   Click on Services, and login required,    Select the Credentials radio button and provide your username (your BTP account mail) and Password.  Go back and check the destination.   Provide Cloud foundry Details   Select Cloud foundry Organization (System generated)   Select your Cloud foundry space.   Organization and space have been set successfully.   Refresh the page.  Now select the ABAP Environment and your RAP Service, then Click on Next.  Select the Main entity and Navigation Entity and table type as responsive, then click on next.  Fill in the required fields, click on finish.  Right click on webapp, below the folder. Click on preview application.  Select the start Fiori run test.   Perform modify operations.  Conclusion By following this guide, you will have created and consumed a RAP service using SAP Business Application Studio for a Fiori application. This approach leverages the power of SAP Fiori’s UI5 framework, combined with the RAP model for backend development, making it possible to efficiently create modern SAP Fiori apps.     Read More Application Development Blog Posts articles 

#SAP

You May Also Like

More From Author