Introduction
In our d-code hands-on session INT260 the particpants created a SAP Fiori-like application end-2-end. This included the creation of the required OData service from scratch, making use of a CDS view (Core Data Services) from HANA. The SAP Fiori-like application itself was a SAP UI5 application which was to be generated using the new SAP Web IDE.
Though this was a 4h hands-on session our plan is to provide a short video that shows the most important aspects for those that were not able to join or just want to have an overview what needs to be done here.
The result is a 5 minutes video that will soon be uploaded to our YouTube channel.
Demo Flow
OData service development
In our demo we will create a simple OData service having just one entity set for business partners based on a CDS view that is accesible from the ABAP stack. As described in more detail in the following document New Data Modeling Features in SAP NW ABAP 7.4 SP5 "CDS entities are integrated into the ABAP Dictionary and ABAP language using the same infrastructure which exists for classical Dictionary views."
1. Data Model Defintion
00:17
The whole process starts with the creation of a Service Builder project.
00:37
Here, as a first step, we import a DDIC structure which is based on a CDS view.
2. Service Implementation
01:17
After having created an entity type and an entity set based on importing the corresponding DDIC structure the service implementation is performed by mapping the business entity (the CDS view) to the entity set.
02:01
After having done the mapping via drag and drop the service implementation is generated without the need to write a single line of code.
After having performed the service implementation the project is generated and the service is registered in the backend.
3. Service Maintenance
02:20
When the runtime artifacts have been generated (step 2) the service is also registered in the backend system and can now be published via the Service Builder in the connected Gateway Server (Hub) system.
02:41
A first test is done using the SAP Gateway client.
Generation of a SAP Fiori like application
03:24
In our hands-on we used the predecessor of SAP Web IDE to generate a SAP Fiori like application. SAP Web IDE allows amongst others to generate a simple application with a list / detail view.
Testing the application
05:35
The generated app is finally tested in the browser.
The summary is shown at the end of the vidoe(06:02)