Adding code of OpenSAP week2 unit 1 demo

This commit is contained in:
Harini Gunabalan
2020-03-21 23:31:43 +01:00
parent 06755978b2
commit fa187be617
94 changed files with 3270 additions and 2614 deletions

View File

@@ -1,7 +1,5 @@
using { sap.capire.bookshop as my } from '../db/schema';
@path:'/browse'
service CatalogService {
service CatalogService @(path:'/browse') {
@readonly entity Books as SELECT from my.Books {*,
author.name as author
@@ -9,5 +7,4 @@ service CatalogService {
@requires_: 'authenticated-user'
@insertonly entity Orders as projection on my.Orders;
}
}