What's working: - Address information on OP - Reading of S/4HANA Addresses - Translations
16 lines
374 B
Plaintext
16 lines
374 B
Plaintext
using { sap.capire.bookshop as my } from '../db/schema';
|
|
|
|
|
|
@path:'/browse'
|
|
service CatalogService {
|
|
|
|
@readonly entity Books as SELECT from my.Books {*,
|
|
author.name as author
|
|
} excluding { createdBy, modifiedBy };
|
|
|
|
@requires_: 'authenticated-user'
|
|
@insertonly entity Orders as projection on my.Orders;
|
|
entity Addresses as projection on my.ShippingAddresses;
|
|
|
|
}
|