Adding Node.js Module to Existing SAP HANA Project

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 9

  • @anandmuthu
    @anandmuthu 6 месяцев назад

    Hi Thomas,
    How would this work if a managed approuter is used ? I tried this with a managed approuter but the rest API's calls are not working. The odata retrieval seems to be working as expected in a managed approuter. We like to use the SAP Build Workzone as the main launchpad but this is a managed approuter and any of the redirection to any of the api routes are failing. Hope you can shed some light into this.

    • @sapdevs
      @sapdevs  6 месяцев назад +1

      Managed App router would still read the routing information from an xs-app.json. In the deployment configuration using a managed app router you have to pass it the xs-app.json reference.

  • @anandmuthu
    @anandmuthu 8 месяцев назад

    Update: Leaving the original question for others. When a CAP template project is used, the srv nodejs folder is automatically created. Can both the manual express-service and the CAP srv work together ? Found a way to bootstrap cloud programming with express on the following video from Thomas Jung :D. ruclips.net/video/JTgV-1GzVm8/видео.html

  • @lucaslopez8879
    @lucaslopez8879 2 года назад

    Hi Thomas,
    great tutorial. Could you help me with the extensions that you have on your visual studio please?

    • @sapdevs
      @sapdevs  2 года назад +1

      Have a look here: github.com/SAP-samples/cloud-cap-hana-swapi/blob/main/.devcontainer/devcontainer.json#L15 In this dev container configuration you will find the common VSCode Extensions that I personally use for this type of development. The most critical ones are the "sapse.vscode-cds" - that's the CAP CDS extension. And if you plan to do UI development you definitely want the Fiori Tools extension pack as well "sapse.sap-ux-fiori-tools-extension-pack".

    • @lucaslopez8879
      @lucaslopez8879 2 года назад

      @@sapdevs thanks

  • @alokpradhan9875
    @alokpradhan9875 3 года назад

    Hi Thomas,
    Awesome tutorials . Please help me in one scenario where I want to call web service exist SAP OP system from Node JS APP.
    I created one Web service in on premise SAP System . I Created Node JS APP . Please guide me how to call the Service from Node JS APP .

    • @sapdevs
      @sapdevs  3 года назад

      As your question is not directly related to the content here, I'd suggest that you ask your question on the SAP Community Q&A. I'd also suggest looking at CAP and reviewing their documentation on consuming services cap.cloud.sap/docs/guides/consuming-services

    • @alokpradhan9875
      @alokpradhan9875 3 года назад

      @@sapdevs Thanks you