spenceryang
Explorer
Member since ‎03-09-2021

User Statistics

  • 21 Posts
  • 2 Solutions
  • 9 Kudos given
  • 0 Kudos received

User Activity

Hi Team, I have an entity with a column fromCurrency and the type is sap.cds.common.Currency. In the post payload, I give the body as ``` fromCurrency: { code: "EUR" } ``` However in the get response, CAP converted it to "fromCurrency...
Hi Community, Could the CAP CDS calculated columns (on-read and on-wirte specifically) support hana build-in SQL functions like REPLACE? https://help.sap.com/docs/SAP_HANA_PLATFORM/4fe29514fd584807ac9f2a04f6754767/20e66a2c75191014bac6a279955db665.h...
Hi Community I am exposing an API with service MyService { entity MyEntity as projection on schema.DbEntity { * }; annotate ExchangeRate with { <Some annotations.> };} When I call [GET] /odata/v4/MyService/MyEntity('{id}'), it w...
Hi Community, I am using CAP to define a model that uses a customized type <RateType>: type RateType : Association to RateTypes;entity RateTypes: sap.common.CodeList { key code : String(20);};entity ExchangeRate { key internalId : UUID; ...
I am trying to manager sub-entities with handlers. I use handlers on Insert/Upser events to operate in sub-entities. I will also need to handle Delete events. However, it seems i have no access to the deleted entity nor the id from the endpoint path ...