SAP-samples / cloud-abap-rap

This repository contains several examples how to develop with the ABAP RESTful Application Programming Model (RAP) in SAP BTP, ABAP environment.
Apache License 2.0
229 stars 62 forks source link

While trying to preview the generated Travel v4 odata service an error appears on the browser #23

Open raaleksandr opened 1 year ago

raaleksandr commented 1 year ago

After generating the RAP artifacts in the eclipse ABAP cloud project and publishing ODATA V4/V2 services when you click the preview for Travel v4 odata service, the Fiori app preview is supposed to load but actually, the following error appears on the browser:

Application could not be started due to technical issues.Prop. 'DISTANCE' has unit amount conver. and EDM type 'Int32' without decimals

More information and possible ideas on how to fix in the following thread: https://answers.sap.com/questions/13750416/sap-abap-cloud-trial.html

anfisc commented 1 year ago

This will be fixed by fixing the root cause in the /DMO/ travel sample objects. Here the data element for the distance field has to be changed from INT32 to DECIMALS(12,2).