SAP Netweaver Gateway for SAPUI5, SAP Fiori and SAP HANA

Go from Zero to Hero in SAP Gateway! Create your first end-to-end service scenario with SAP ERP, HANA ,SAPUI5 & Fiori.
4.0 (50 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
409 students enrolled
$95
Take This Course
  • Lectures 27
  • Length 3.5 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 11/2015 English

Course Description

SAP world is moving very fast and in completely new directions and if you do not keep up with them then you will be left out.

This course will give you real life experience, knowledge and skills in a very interesting and simple way.

It is packed with information, knowledge, hands-on and real life project experience learning.


At the end of my course, you will be able to:

  1. Understand what is behind the buzzword of API and how it is implemented in an Enterprise.
  2. After taking this course you can work as an API developer in an SAP Netweaver Gateway project.
  3. Learn to implement API management in SAP Netweaver Gateway and in general.
  4. Run your first API end-to-end scenario using SAP Netweaver Gateway and SAPUI5.


Who should take this course?

  1. Experienced ABAP/SAP developers: You will understand that SAP Gateway is a prime component of the updated SAP systems and very soon most of the development will be happening here.
  2. SAP Functional consultants: In future SAP integration projects, your role will come into picture and if you know SAP Gateway then it will be very easy to work with the Technical consultants.
  3. SAP Project Managers: You have to manage SAP projects and take crucial decisions about time and cost. By understanding the basics, you will be able to take better decisions and your developers will love you for that.
  4. Newcomers to SAP: Learning SAP Gateway is one of the best ways to switch to SAP marketplace and get an amazing high paying job/contract.
  5. Technology enthusiasts/entrepreneurs: SAP Gateway is the way Enterprises are going to implement API's in ERP systems. Understanding the basics will help you to increase your awareness and give you more ideas that will help you in implementing your own product.


What will students need to know or do before starting this course?

  • Little to no prior experience is required of SAP and ABAP, in order to take this course.


All the steps are easy to follow and understand.

You will be learning some of the most difficult technologies with ease because this course was compiled based upon DEEP principle.

Even if you are a beginner in IT or an expert or a manager you will never regret after taking this course.

We are giving you a 30 days money back guarantee!

The Future is Now!

What are the requirements?

  • Little to no prior experience is required of SAP and ABAP, in order to take this course.

What am I going to get from this course?

  • Understand what is behind the buzzword of API and how it is implemented in an Enterprise.
  • Run your first API end-to-end scenario using SAP Netweaver Gateway and SAPUI5.
  • Learn to implement API management in SAP Netweaver Gateway and in general.
  • After taking this course you can work as an API developer in an SAP Netweaver Gateway project.

What is the target audience?

  • Experienced ABAP/SAP developers: You will understand that SAP Gateway is a prime component of the updated SAP systems and very soon most of the development will be happening here.
  • SAP Functional consultants: In future SAP integration projects, your role will come into picture and if you know SAP Gateway then it will be very easy to work with the Technical consultants.
  • SAP Project Managers: You have to manage SAP projects and take crucial decisions about time and cost. By understanding the basics, you will be able to take better decisions and your developers will love you for that.
  • Newcomers to SAP: Learning SAP Gateway is one of the best ways to switch to SAP marketplace and get an amazing high paying job/contract.
  • Technology enthusiasts/entrepreneurs: SAP Gateway is the way Enterprises are going to implement API's in ERP systems. Understanding the basics will help you to increase your awareness and give you more ideas that will help you in implementing your own product.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction to SAP Netweaver Gateway and getting familiarized with environment.
01:08

You will get a bird's eye view of how SAP Netweaver Gateway internally works to allow loose coupling architecture with front end like SAP UI5 and backend like SAP ERP .

Mainly you will get an idea about how the development of Netweaver Gateway works .


01:53

You will learn how SAP Netweaver Gateway can be implemented with embedded and Hub model, whereas in embedded model your Gateway will be in same machine as in your ERP but in Hub model it is in separate machine.In coming sections we will be seeing the example of embedded model.

Also you will come to know how generally Gateway works in production landscape with SAP UI5 as front end.

01:47

In this section you will understand three main questions which as a developer you should know to start working with SAP Netweaver Gateway:

  1. How can we create services ?
  2. How can we expose them to outside world ?
  3. How can we test them ?
11:14

In this section we go inside Gateway system and get familiarized with the environment we are going to work with.

This section will be little faster where by end of the section we will also create a very basic service but in later section we will explain the steps in more details.

04:13

In this section you will see all the Tcodes which will be essential for a Gateway developer to know, get familiarized with the screens and all the controllers you will be dealing with.

We will also understand how to explore services from two different screens which we created in previous section and access the details and control the services.

08:28

In this section we will implement our first service which will be returning SAP Data in our web browser.We will also explain how it gets its internal parameter and which parameter contains what information, which is to be used in our ABAP program and also how to use it.

Summary
Preview
01:57
Section1 Quiz
5 questions
Section 2: CRUDQ operations and services implementation
01:57

CRUDQ is an acronym given to basic operation which is done by services which means Create, Read, Update, Delete and Query, they are most fundamental operations which a developer implements by ABAP code in Gateway.

We will go into details about what CRUDQ stands for and present the example which we will be build in the consecutive sections.

14:43

In this section we will start from scratch and implement the method GET_ENTITYSET which will allow us to do query operation in our table from web browser.

Each part is covered in step by step manner and in detail.

*Also see the resource section for code link.

10:40

You will see how we can perform read operation with services, where we will try to read a single record from SAP Table by passing a key parameter in our URL .According to this key parameter we will see the result .

*Also see the resource section for code link.

10:08

In this part we will go through how to add new records to our SAP Table, the demonstration will be shown in the Gateway client where we will use the POST method to pass data to our services.

*Also see the resource section for code link

10:21

Once we have added any record in the SAP Tables we can also update the values to new values and we will see how update operation is performed in the Gateway client where we will use the PUT method.

For this we also have to provide the key field from where we need to update the value and the new values as well.

*Also see the recource section for code link

05:12

In this section you will see how to perform the delete operation of the table many a times for standard operation BADI's will be provided by SAP so developer need to call that instead of doing manual delete as this is a custom data structure we created, there is no BADI available so we are calling the native SQL syntaxes in ABAP.

*Also see the recource section for code link

Summary
Preview
02:09
Section 2 Quiz
3 questions
Section 3: Integrating with SAP UI5 and deploying services in live scenario
12:58

You will see how from SAP UI5 App, we have implemented the CRUD operation and we will do the code walk through to understand how the App is designed and developed.

Even if you are seeing UI5 App for first time you will come to know where and how front end developer will be doing the operation to integrate with SAP backend system.

Security involved in gateway will also be shown which will be using default SSO.

*Also see the resource section for code link

13:52

You will see how our UI5 App is doing the delete, create and update operation where key and data values are passed to Gateway system.

The oData methods provided by UI5 library will be explained in details with the callback functions on success and failure of the operation.

*Also see the resource section for code link

04:21

You will come to know how to push the UI5 code inside SAP and show you how to launch the app from inside SAP.

If your Gateway system exist within same SAP ERP then you will have the webserver which is hosting UI5 App and Gateway calls implemented with ERP data in a single machine which is called embedded model.

But the standard approach is to have Gateway in separate system from ERP, where the app will be hosted by Gateway with services present inside it and Gateway will be doing RFC calls to SAP ERP system for data and this model is called HUB model.


Summary
Preview
04:03
Section 3 Quiz
4 questions
Section 4: Bonus: SAP HANA XSJS as a Gateway for SAPUI5 Application using IoT scenario
07:45

The overall usecase which we have considered involves the following communication sequence:


Sensor->Arduino->Raspberry Pi->Internet->SAP HANA XSJS->SAP HANA DB->SAP UI5 Application


Raspberry Pi will be sending data to SAP HANA by invoking SAP XSJS script and providing data in request parameter.


The data is stored in a table where we are going to store the sensor ID, timestamp and the sensor value.

SAPUI5 application will be reading recent data using polling mechanism.


In order to keep the development process simple to understand we have not provided a security key validation during sensor reading insertion into HANA DB.


And also we have not considered the timestamp when the data is inserted in the database so we could avoid the timestamp conversion steps.


SAPUI5 application will have two tiles: one to show near real time sensor values and another as a comparator.


Note: In real life IoT project these two things should be included. We can also use push notification instead of polling which is a better alternative in real IoT world projects.

05:03

We are going to create the following files:


DemoSchema.hdbschema: For linking the DemoSchema to the project.


SensorNetwork.hbdd: For our Data Definition.


insert_sensors_reading.hdbprocedure: For inserting sensor data to HANA database.


sensor_read.hdbprocedure: For reading recent sensor data from HANA database.


getSensorReading.xsjs: For passing recent sensor data to SAPUI5 application.


putSensorReading.xsjs: For allowing Raspberry Pi to insert sensor reading to SAP HANA database.


.xsaccess and anonymous_access.xssqlcc: For providing anonymous access to HANA Database .


We need to configure the anonymous access by going into HANA admin panel using URL:


https://<ip:host>/sap/hana/xs/admin/

06:51

We need to download Eclipse Kepler and install SAP HANA plugins from this repository https://tools.hana.ondemand.com/kepler/

14:49

We need to copy the program present in the powerpoint to the corresponding files.


Special attention: make changes in the code if you are going to use a different package structure. In this case, you need to replace all the occurrences of demoApp.demo01.app02.SHIOT_02 with your HANA project package path.


.hdbschema is a design-time definition of a database schema, which organizes database objects into groups.


This database schema enables you to create and activate application artifacts such as tables, views and database procedures. Without a defined schema, database objects cannot be generated in the SAP HANA catalog upon activation of specific design-time artifacts that are added to the SAP HANA repository.

06:34

SAP HANA repository: The SAP HANA repository is the central component of the SAP HANA development infrastructure and an integral part of the SAP HANA system. The repository is used for central storage and versioning of software artifacts, and it is also the foundation for lifecycle management for SAP HANA content and for the translation of SAP HANA applications. The repository provides the export and import functions needed for shipping applications to customers and for transporting development results between SAP HANA systems.

17:09

The XSJS file are using $.request.parameters.get() function to read data from the URL and $.response.contentType, $.response.status and $.response.setBody() variables and function respectively to set the response of the XSJS script.


HANA database procedures are called by the XSJS script using conn.prepareCall() function which takes a parameter called query that corresponds to our stored procedure call statement with appropriate parameter set using setString() and setInteger() integer.


On successful reading of the record we will get a record of demo02sensor_active_TS which is storing sensor Transactional Data in our HANA Database.


On successful insertion of a new record in demo02sensor_active_TS table we get zero number of the record in the database.


Having exception handling in XSJS script is useful as it can give you a quick feedback in case of errors.

14:00

Given an overview of the architecture and concepts of SAPUI5

SAPUI5 is a client UI technology based on JavaScript, CSS and HTML5. SAPUI5 applications run in a browser. Depending on the device the application is to run on (mobile, tablet or desktop PC), you use different UI libraries.

In the Model View Controller concept, the representation of information is separated from the user's interaction:

  • The view is responsible for defining and rendering the UI.
  • The model manages the application data.
  • The controller reacts to view events and user interaction by modifying the view and model.

As SAPUI5 is a client-side web UI library meaning that it runs in a browser, a SAPUI5 application typically is composed of an HTML page and, if required, many more files.

To create a SAPUI5 Application Project, you must have installed the SAPUI5 Application Development feature in your Eclipse installation.

13:08

As SAPUI5 is a client-side web UI library meaning that it runs in a browser, a SAPUI5 application typically is composed of an HTML page and, if required, many more files.

SAPUI5 is implemented in JavaScript. For loading SAPUI5, its bootstrap needs to be included with a <script> tag. The last two attributes select the visual design to apply initially (other choices would be sap_hcb or sap_goldreflection) and the SAPUI5 control library/libraries to use . In your scenario you need to make sure the URL points to a SAPUI5 installation.

<script id="sap-ui-bootstrap"

src="resources/sap-ui-core.js"

data-sap-ui-theme="sap_bluecrystal"

SAP UI5 project for this project is very simple and contains only one Controller SHIOT_UI_02.controller.js and a view SHIOT_UI_02.view.js.

View:

View is using sap.suite.ui.commons.GenericTile and placing them in tile container sap.suite.ui.commons.TileContent which is added to the content section of the sap.m.Page.

setInterval() is responsible for the polling mechanism in the View which will run the changeKPITest function of the controller every 3 sec.

Controller :

changeKPITest() is responsible for calling XSJS script using AJAX and updating the SAPUI5 model which is bound to the tiles. It is also changing the small color window background CSS relative to sensor measurement.

The development code can be found in the powerpoint provided in the resource section or UI5CN blog.

SAP UI5 application need to be linked to our previously build SAP HANA project .

Section 5: About UI5CN and Your Instructor
About UI5CN and Your Instructor
Preview
01:41

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

UI5 Community Network, Experts in Services, Consulting and Education

30+ Years of combined experience in Services, Consulting and Education. With more than a decade of experience in enhancing and implementing cutting edge technology for major European industries, some of them includes big Fortune 500 names.

Deep knowledge on the functional side, as well, in Logistics, PLM, SRM Procurement, Supply Chain and Plant Maintenance.

We work extensively in SAP® UI5 and Fiori with SAP® and non SAP® ERPs and also have a complete understanding and first hand working experience with SAP® HANA and the new UI.

We believe that sharing makes the World a better place.

Instructor Biography

Tell me and I forget, teach me and I may remember, involve me and I learn.” 

-Benjamin Franklin

I am a passionate technology enthusiast, always learning new things and like to building stuff which impact people's life and help them.After working in the corporate setup as a consultant, architect and external contractor for Capgemini®, SAP®, Skybuffer and Statoil®.I started my own venture UI5CN with my friends.

We at UI5CN, create software and training materials which help people learn these new upcoming technologies and help our customer to leverage maximum benefits out of it.

We are more aligned to enterprise software UX design and development, IoT and front-end design and development.

Ready to start learning?
Take This Course