This is a test message to test the length of the message box.
Login
|

Write a comment

Writing comments is only allowed to registered users, registration is free and does not require an email address and can be done quickly here.

You can also use an OData Service instead

andre.fischer@sap.com - 11/10/2025 - 16:53

Hi Bjoern,

you can also use an OData Service instead of developing a custom http service. This is not obvious since when using a CDS view OData service and if you try to create a property called "number" you will get the error message that this is a reserved key word and that you thus have to use another property name. There is however a not well known annotation available that allows you to set the name of a property of an OData service as described in the SAP Online Documentation

  @OData.property.name: 'Number'
  BaseUnit : abap.unit( 3 );
}   

This works for custom entities and well as for view entities or normal cds views.

Kind regards,
Andre