cancel
Showing results for 
Search instead for 
Did you mean: 

Update CDS Document via Script

Former Member
0 Kudos

Hello All,

I have a system originally developed on Oracle and now we want to move it to HANA, but for the near future the main system will be the Oracle one.

The thing I want to achieve is to be able to get a json file with some structural changes of the database objects from Oracle and then synchronize these changes into the CDS document.

Is there any API that I can use in order to update and activate repository objects? Or any native method to achieve this?

Thank you in advance,

Alex

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hello Alex,

for the HANA repository you can check the REST File API.

For XS Advanced scenarios (if you plan to switch to at some time), where you don't use the HANA repository anymore, you can interact with your Git.

Regards,

Florian

Former Member
0 Kudos

Hello Florian,

thanks for the fast answer. Yes I think the rest file api is a good choice for my need. I will do a small PoC to see if everything is working in the way I am thinking and I will come back with the conclusion.

Thanks again,

Alex

Update: I have made the PoC, everything works as planned, with the file api you can create any kind of object via http request. Thanks again

Answers (0)