Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

DEVELOP AN E2E INTEGRATION SCENARIO WITH SAP GATEWAY, SAP HANA AND SAPUI5

$
0
0

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."

 

 

Development Flow Picture CDS View.png

 

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.

 

Steps mapping CDS view.png


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.

 

Map CDS View.JPG

 

After having performed the service implementation the project is generated and the service is registered in the backend.

Press Generation Button.JPG

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.

 

Publish service on the hub.JPG

 

 

02:41

A first test is done using the SAP Gateway client.

 

test using GW CLient.JPG

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.

 

SAP Web IDE Wizard.JPG

 

Testing the application

 

05:35


The generated app is finally tested in the browser.

 

Test generated UI5 app.JPG

The summary is shown at the end of the vidoe(06:02)


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>