2024 Jul 19 6:52 AM - edited 2024 Jul 19 10:32 AM
Dear all,
To call an action in ABAP RAP the namespace has to be provided, for example:
2024 Jul 19 1:31 PM
I don't think you can do that.
2024 Jul 22 3:30 PM
Dear @Andre_Fischer,
Could you please confirm?
2024 Jul 22 3:53 PM - edited 2024 Jul 22 3:55 PM
The name of the action / function can't be changed as such because those names are specified in the OData spec.
It is however possible to use the alias "SAP__self" that has been set by the SAP Gateway framework for you.
When you check the $metadata document of your OData service you will find something like this:
<edmx:DataServices>
<Schema Namespace="com.sap.gateway.srvd.dmo.ui_travel_d_d.v0001" Alias="SAP__self">
But you can't influence the name of that alias.
Kind regards,
Andre