Skip to content

jcailan/rap-fe-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAP Fiori Elements and RAP Model

This is a sample project for SAP Fiori Elements app with RAP-based OData service. Here's an introductory blog post about this sample project -- SAP Fiori Elements using RAP Model.

GETTING STARTED

This project is already available in BTP ABAP Trial environment, however, if you wish to use this in your own private instance of BTP ABAP environment then make sure to refer to the steps below:

  • You have installed the abapGit plugin in your ADT
  • Create a package ZRFES
  • Link this repository https://github.com/jcailan/rap-fe-samples
  • Pull the source codes and then Activate the ABAP objects
  • Publish the service bindings ZUI_PRODUCTS_RS_O2 and ZUI_PRODUCTS_RS_O4
  • Generate data by executing class ZCL_DATA_GENERATOR_RS

TESTING

You can test the RAP-based OData service by using the Preview feature of the respective Service Bindings. However, if you wish to test using an actual Fiori Element app generated by Fiori Tools, then you can generate your own or use the Display Products app that comes together in this repository.

  • Search and Replace All for the entire project folder below string:
<your-abap-server-url>
  • Run the app:
# change directory
> cd app/products
# install dependencies
> npm install
# run the app
> npm start

APPENDIX

About

SAP Fiori Elements and RAP Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published