cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP how to reuse existing tables rather creating new

0 Kudos

HI All,

Can some one help me how can I use my existing SAP tables rather than creating new tables and loading data.

I would like build a REST service to fetch data from existing tables using CAP Node.JS.

Any examples are really appriciated

Thanks

0 Kudos

I mean lets say I have custom existing table "ZCUSTOMERS"(or a BUT000) I would like to use these tables and build REST services in CAP .

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

please check this page for help on modelling with existing databases:
https://cap.cloud.sap/docs/advanced/hana

You can also find more information in that documentation and samples of CDS projects.

BR

Samuel

0 Kudos

Thanks, thats a perfect for me to move on.

Thanks

Rajesh

Answers (1)

Answers (1)

geert-janklaps
Active Contributor
0 Kudos

Hi,

Assuming you're going to be working with an S/4 backend, you basically have two options.

  • Use an Odata API to read the data (custom or standard odata api)
  • Setup replication to a HANA Cloud DB and reuse the replicated data for displaying (e.g. using the replicate CDS views in S/4HANA Cloud)

Best regards,

Geert-Jan Klaps