Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
dvankempen
Product and Topic Expert
Product and Topic Expert










philip.mugglestone from SAP Partner Innovation Lab and the SAP HANA Academy just released an update to the video tutorial series about the SAP Business Technology Platform extension generators.

In this blog post you will find the videos embedded with references and additional information.

For the related blog posts, visit

Questions? Please post as comment.

Useful? Give us a like and share on social media.

Thanks!




Hands-On Video Tutorials


What You Will Learn


How to install and use the SAP HANA Academy CAP generator for the SAP Business Application studio to create the scaffolding for a business application is explained in three short videos.

What you will learn

  • How to install the generator

  • How to run the generator

  • How the modules and services of the business application are related

  • How and where authentication is configured

  • How and where authorisation is configured

  • How to build and deploy the app to the Cloud Foundry environment of the SAP Business Technology Platform

  • How to clean everything up


Ingredients


To follow along, you'll need

  • A (free) SAP BTP trial account


About the SAP HANA Academy (C)App Generator


The SAP HANA Academy (C)App generator uses Yeoman to scaffold a business application. This enables us to present a simple yet fully functional business application to jumpstart your app development. Whether you want to create an extension for SAP S/4HANA Cloud, SAP SuccessFactors, or build an application powered by SAP HANA Cloud, you can easily scaffold the app using the generator and adapt the app to your development.

Yeoman generators are extensively used (as extensions) in SAP Business Application Studio and you can easliy add your own. However, the IDE and generator have no dependencies. Yeoman works just a well on the command line (using the yo command) or other IDE's like Microsoft Visual Studio Code, etc.

For more information about Yeoman generators, visit



SAP HANA Academy (C)App Generator


Video Tutorial


In the first video, we install the generator and generate a sample business application with default settings but leaving authentication and authorization disabled followed by a quick code walkthrough, build and deploy, and review of the result.

https://youtu.be/nUTGwZ1cg0g

0:00 - Introduction

0:30 - SAP Business Technology Platform: environment and requirements

1:00 - SAP Business Application Studio

1:30 - Install generator

1:55 - Template Wizard

3:10 - Code walkthrough

4:30 - Build and deploy

5:00 - Demo 

6:00 - Recap


Authentication


Video Tutorial


In the second video, we generate a new business application, this time with authentication enabled and show the effect on the code and configuration files.

https://youtu.be/IWDqwZlFPNU

0:00 - Introduction

0:30 - Open Template Wizard

1:00 - xs-app.json

1:40 - catalog-service.cds

2:15 - package.json

2:30 - @Sap/xssec and xsenv

3:30 - xs-security.json

4:20 - Undeploy, build, and deploy

4:45 - Demo 


Authorization


Video Tutorial


In the third video, we generate yet another business application, this time with authorization enabled and show the effect on the code and configuration files.

https://youtu.be/Tu-rMWz_7Z0

0:00 - Introduction

0:30 - Open Template Wizard

1:10 - xs-app.json

1:50 - catalog-service.cds

2:30 - xs-security.json

4:10 - package.json

4:45 - Undeploy, build, and deploy; mta.yaml 

5:40 - Demo

6:00 - Add Viewer role collection to user

7:30 - Add Admin role collection to user

8:00 - Recap


Additional Resources 


End-to-End Tutorial


For a more detailed coverage of the security model of the Cloud Foundry environment of the SAP Business Technology Platform, see

In this blog post and the accompanying video tutorial series, we build the business application from scratch (without code generator) and discuss the role and function of the XSUAA service, the app router, and the configuration files xs-app.json, xs-security.json, and more with references to the documentation and other blog posts on the community.

New to SAP BTP? See

New to SAP HANA Cloud, see

 



 


Share and Connect


Questions? Please post as comment.

Useful? Give us a like and share on social media.

Thanks!

If you would like to receive updates, connect with me on

For the author page of SAP PRESS, visit








Over the years, for the SAP HANA Academy, SAP’s Partner Innovation Lab, and à titre personnel, I have written a little over 300 posts here for the SAP Community. Some articles only reached a few readers. Others attracted quite a few more.

For your reading pleasure and convenience, here is a curated list of posts which somehow managed to pass the 10k-view mile stone and, as sign of current interest, still tickle the counters each month.