SAP Business Application Studio CDS demo
- node & npm & express need to be installed globally
- change npm registry:
npm set @sap:registry=https://npm.sap.com
- install cds globally
npm i -g @sap/cds
- test it
cds -v
- cds help command
cds help <command>
- clone it to local.
- To run, use the following command
cds serve world.cds
- Open the following link to see the output: http://localhost:4004/say/hello(to='world')
- Converts the cds tables into json(CSN)
cds compile world.cds --to json
- Converts the cds tables into sql query
cds compile world.cds --to sql
- Converts the cds tables into edmx services
cds compile world.cds --to edmx