cancel
Showing results for 
Search instead for 
Did you mean: 

Create Table/Insert Entries in Cloud Application using Business Application Studio

former_member599006
Participant
0 Kudos

Hi Experts,

Could someone help me to understand how to create a table/schema and insert entries in table/schema in Cloud Application Platform(CAP) using Business Application Studio.

Accepted Solutions (0)

Answers (3)

Answers (3)

gregorw
Active Contributor

I would suggest you start your learning with the free OpenSAP course Building Applications with SAP Cloud Application Programming Model.

Hi V M Kumar,

For the representation of a table you need and a BO (if you want to separate the data more) or a node in an BO to store the data. Then you can use an Advanced List Pane (like in an OWL) to show the data as a table in the front-end. Or you can create an Data Source to get the data for an report.

I hope this helps.

Eric

former_member599006
Participant
0 Kudos

use CDS INIT <PROJECT>

create data folder in DB folder, and put the required sample data. Also create the schema CDS with required entities

create cat-service.cds in SRV folder.

Run the commands

-npm install-

cds add hana

cds deploy --to hana ( some time need to login in CF using cf login command)

cds build all

cf push -f gen/db

cf push -f gen/srv --random-route...

Now check you service instance and spaces if the service are created and started correctly.