Part 3: CAP for ABAPers (Adding remote services)

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 8

  • @Ricky-rf4jw
    @Ricky-rf4jw 5 місяців тому

    waiting for the next part, this series is awesome

  • @PavanK-f5l
    @PavanK-f5l 2 дні тому

    Hi Milton, I have a small query here. Do we need to keep downloading and reimporting the edmx files whenever there is a change in metadata? Lets say there is a new field added in the API, but do I need to again do cds import to consume that field in the UI? If that's the case, won't it be a rework everytime for the developer to just do this activity everytime for a very simple change at API level?😊

  • @mayanksaxena15
    @mayanksaxena15 5 місяців тому

    Hi Milton,
    In this tutorial, For Northwind how are you getting the data directly without writing the generic custom handler? In one of your another tutorial, you had to write down the handler but here how directly data is coming from the northwind service?

  • @rammeher-ys4bj
    @rammeher-ys4bj 4 місяці тому

    HI Milton Is this only abale to consume with Odata/ XMl services or will it compact any other Resful service format say Json for consuming ?

  • @mayanksaxena15
    @mayanksaxena15 5 місяців тому

    Hello Milton, First of all thank you so much creating this series and providing the quality content. I have been following the same steps which you mentioned in this video but somehow I am not able to add the northwind entity from productivity with northwind data source. As you mentioned , I have downloaded the metadata and uploaded the file in the srv folder. Using command cds import northwind.edmx -- as cds I was able to generate the csn and edmx files as well. But when I am opening the story board and trying to add the entity for Northwind, I can not see the northwind entities in the dropdown. Only Sales Order entities are there. I checked out your project and I could see only difference is that in external folder after generating csn you have northwind.xml file and for me it is edmx. I tried to change the file to xml as well but it did not work. Could you please tell are you doing anything manually which is not shown in video. Again thanks for your help. Keep up the good work.

    • @miltonchandradas
      @miltonchandradas  5 місяців тому +2

      Good point... I did miss a small step. When you run the cds import command, it will ask you to add a line to your service.cds file - using { northwind as external } from './external/northwind'; You must add this line in order to use the Storyboard. Sorry about that

    • @mayanksaxena15
      @mayanksaxena15 5 місяців тому

      @@miltonchandradas Milton, Thank you for your quick response. It worked, somehow I don't how did I miss that too. It was clearly written to add that line. Thanks again. Waiting for part 4.