Git Product home page Git Product logo

sap-samples / cap-hana-exercises-codejam Goto Github PK

View Code? Open in Web Editor NEW
42.0 15.0 14.0 7.83 MB

This repo contains the exercise instructions, starting template code, and sample solution for the CodeJam based on SAP Cloud Application Programming Model.

Home Page: https://community.sap.com/events/codejam

License: Apache License 2.0

Dockerfile 3.67% JavaScript 78.55% HTML 13.42% CAP CDS 4.36%
sample sample-code codejam sap-cap sap-hana nodejs owner-jung-thomas sap-codejam

cap-hana-exercises-codejam's Introduction

CodeJam - Combine SAP Cloud Application Programming Model with SAP HANA Cloud to Create Full-Stack Applications

REUSE status

Description

This repository contains the material for the CodeJam on using the SAP Cloud Application Programming Model and SAP HANA Cloud to create Full-Stack Applications. In this CodeJam we will learn how to Deploy and configure an instance of the SAP HANA Cloud trial, develop a multi-target application using SAP Business Application Studio and SAP Cloud Application Programming Model, and create a service layer and SAP Fiori UI that also includes SAP HANA native artifacts, such as calculation views.

Overview

Requirements

The requirements to follow the exercises in this repository, including hardware and software, are detailed in the prerequisites file.

Material organization

The material consists of a series of exercises. Each exercise is contained in a directory, with a main 'readme' file containing the core exercise instructions, with optional supporting files, such as screenshots and sample files.

Following the exercises

During the CodeJam you will complete each exercise one at a time. At the end of each exercise there are questions; these are designed to help you think about the content just covered, and are to be discussed with the entire CodeJam class, led by the instructor, when everyone has finished that exercise.

If you finish an exercise early, please resist the temptation to continue with the next one. Instead, explore what you've just done and see if you can find out more about the subject that was covered. That way we all stay on track together and can benefit from some reflection via the questions (and answers).

The exercises are written in a conversational way; this is so that they have enough context and information to be completed outside the hands-on session itself. To help you navigate and find what you have to actually do next, there are pointers like this ๐Ÿ‘‰ throughout that indicate the things you have to actually do (as opposed to just read for background information).

The exercises

Here's an overview of the exercises in this CodeJam.

Known Issues

When creating the HDI Container instance in Exercise 3, the Business Application Studio tooling sometimes does not properly wait for the container creation. In these situations, simply wait a moment for creation to complete and then repeat the step.

Feedback

If you can spare a couple of minutes at the end of the session, please help me improve for next time by giving me some feedback.

Simply use this Give Feedback link to create a special "feedback" issue, and follow the instructions in there.

How to obtain support

Create an issue in this repository if you find a bug or have questions about the content.

For additional support, ask a question in SAP Community.

Further connections and information

Here are a few pointers to resources for further connections and information:

Contributing

If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.

License

Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

cap-hana-exercises-codejam's People

Contributors

btbernard avatar jung-thomas avatar kevinriedelsheimer avatar nicoschoenteich avatar qmacro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cap-hana-exercises-codejam's Issues

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the SAP Cloud Application Programming Model before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the SAP Cloud Application Programming Model before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of SAP CAP before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the SAP Cloud Application Programming Model before this session?

  • [ X] Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • [ X] Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • [X ] On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • [ X] Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • [X ] About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • [X ] I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

CF create-service xsuaa not able to read xs-security.json file

Hello,

I am getting below error while creating XSUAA service instance using xs-security.json file.

image

Without using -c xs-security.json file , service instance is getting created.
image

using -c .\xs-security.json file is also not working.
image

Regards,
Romil A.

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the SAP Cloud Application Programming Model before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Unrelated "Question for Discussion"

In chapter 4 what are we doing?), one of the questions for discussion reads:

When we change the Requires section of the mta.yaml what are we doing?

But I don't see any changes to the mta.yaml happening in the chapter's instructions.

Can we delete this question?

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the SAP Cloud Application Programming Model before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the btp CLI before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the btp CLI before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the btp CLI before this session?

  • [] Not much at all
  • [* ] Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • [ *] Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • [* ] On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • [ *] Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • [ *] About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • [ *] I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Session Feedback

Thanks for taking a couple of minutes to give feedback, which will help me improve for next time.

Instructions

  1. Before doing anything else, hit the green button "Submit new issue" right now to save this issue content
  2. Then go through the questions and mark a single checkbox for each, to represent your answer
  3. Finally, in the empty comment box below this one, please describe what you liked and what you didn't like

What was your experience of the btp CLI before this session?

  • Not much at all
  • Basic knowledge
  • Used it now and then
  • Regular user

Did this session meet your expectations?

  • Not really
  • Somewhat
  • Mostly

Was the time allotted to each exercise enough for you to work through them?

  • Not really
  • On the whole, yes

What did you think of the extra information, explanations and narratives in the exercises?

  • Too much information
  • Didn't really read it, didn't really bother me though
  • Found it helpful as context and background

How did you find the actual individual tasks in the exercises?

  • Not relevant enough
  • Hard to do
  • About right
  • Helpful / informative

What is your feeling about the SAP Cloud Application Programming Model?

  • Still don't like it
  • I'm going to investigate further
  • I am suddenly a believer
  • I am or will be using the CAP more now

If you have time, please add a comment below to write free-form what you liked and what you disliked about the session. Thanks!

Unable to Bind My SAP Project from BAS

Hi All,
In exercise 3,step 3 Explore generated design-time artifacts tutorial
when i tried to bind my project to a Database Connection and HDI container instance am not getting any popups but am getting 4 options

  1. Bind to an HDI Container( when clicking on this am getting error as NO HDI Shared plan available in space. However my DB Instance is up and running)
  2. Bind to a user provided service( when clicking getting warning as No service instance is found)
  3. Bind to a schema Service( when clicking on this am getting error as NO HDI Shared plan available in space. However my DB Instance is up and running)
  4. Bind to an application managed service( when clicking on this getting warning as Please create a service manager instance.)

Please help me to resolve this issue. Do i miss any configuration

image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.