I am developing an application in SAP SCP Trial Cloud Foundry.
When I try to consume the application, errors regarding the hanatrial hdi-shared service happen (last week was working without any problems).
But when I try to unbind the hanatrial hd...
How can I achive the following OData metadata annotation in CDS syntax for Cloud Application Programing Model:
<Record Type="UI.DataField">
<PropertyValue Property="Value">
<Apply Function="odata.concat">
<String>Sales order n°</String>
<S...
Hi,
I am developing a solution using CAPM.
I am using the S/4 HANA Cloud API API_JOURNALENTRYITEMBASIC_SRV as an external service.
My problem is when I try to consume an EntitySet that returns an attribute of tipe Edm.Date (for example A_CostCe...
Hi,
I liked a lot the CAPM framework, but I feel that was missing a very important stage of the development process, or I ignore the correct tools that should be used.
Supose I already create my CAPM App, I pushed to my CF production space in SCP...
Hi mariatrinidad.martinezgea,Here is the code that is doing the magic function ODataV2toODataV4DateTime(value){
const groups = value.match(/\/Date\((?<arg>.*)\+.*\)\//).groups
if (!groups)
return value
return new Date(Number(gro...
David,I find the way to do the conversion (basically the `run` method returns a Promise that its resolved value is the JSON response of the external service, already parsed, without doing any validation): this.on('READ', entity, async req => {...
Hi David,Thank you for your response.I think the problem is that the framework is not considering that the external service is OData 2.0.Then it tries to parse an OData 2.0 JSON Date as an OData 4.0 JSON Date, and the format is very different.Do you ...
Hi gregorw,I verified again and this works with one exception.The exception happens when you load initial data from CSV files.The data created after the first deploy will be replaced with the initial data of the CSV files when you perform a second d...