sap-tutorials / Tutorials

Tutorials on sap.com
https://developers.sap.com/tutorial-navigator.html
Creative Commons Attribution 4.0 International
727 stars 774 forks source link

Create Calculation View and Expose via CAP (SAP HANA Cloud) #23118

Closed jmalla closed 2 months ago

jmalla commented 1 year ago

Tutorials: https://developers.sap.com/tutorials/hana-cloud-cap-calc-view.html

Going through the CAP tutorials and then the deploy tutorial, now the Calculation Views do not reference the tables correctly. I am not sure how to fix. When I first went through the tutorials, I was able to create the Calculation view and add the tables.

So the first pass, the tutorial was fine: Create Calculation View and Expose via CAP (SAP HANA Cloud) https://developers.sap.com/tutorials/hana-cloud-cap-calc-view.html

But then when I went through the tutorial: https://developers.sap.com/tutorials/hana-cloud-cap-deploy-mta.html Deploy CAP with SAP HANA Cloud project as MTA

Now the tables in the Calculation view are not able to resolve to the right objects. Looks like it is broken.

Likewise, when I create another Calculation view, the tables are not showing up when I tried to add them. Here is my YAML:

`_schema-version: "3.1" ID: MyHANAApp description: A simple CAP project. version: 1.0.0 modules:

Not sure if the issue is with the multiple services that were created.

Not sure how to resolve this.

Thanks, Jay

jmmargo commented 2 months ago

Thomas, can you please respond to this user's issue?

jung-thomas commented 2 months ago

Can not recreate the issue. Please provide more details on your deployment. The tables should deploy with the calculation view. If they deploy correctly from the development tooling then they should deploy correct via MTAR as well.

jmmargo commented 2 months ago

@jmalla as a solution has been provided, I am closing this issue. Please reopen as required.