You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While creating Service Binding, we are getting an error below when using the database table /dmo/connection.
When I define a view entity and add the Semantics line, it pops up the error in the header when creating a service binding.
When I delete the semantics line, everything seems to work fine. Is there an issue with the Data Element "Distance" ?
define view entity ZI_Connection_Techn
as select from /dmo/connection as Connection
{
key carrier_id as CarrierId,
key connection_id as ConnectionId,
airport_from_id as AirportFromId,
airport_to_id as AirportToId,
departure_time as DepartureTime,
arrival_time as ArrivalTime,
@Semantics.quantity.unitOfMeasure: 'DistanceUnit'
distance as Distance,
distance_unit as DistanceUnit
}
I am using the branch [ABAP-platform-2020]
Thanks
Saurabh
The text was updated successfully, but these errors were encountered:
thanks for reporting. This is a known issue we plan to fix.
A temporary workaround is to either remove the annotation @Semantics.quantity.unitOfMeasure: 'DistanceUnit' or to change the data type in the domain /dmo/distance from int4 to dec(12,2). Please keep in mind that this could lead to a database adjustment.
While creating Service Binding, we are getting an error below when using the database table /dmo/connection.
When I define a view entity and add the Semantics line, it pops up the error in the header when creating a service binding.
When I delete the semantics line, everything seems to work fine. Is there an issue with the Data Element "Distance" ?
define view entity ZI_Connection_Techn
as select from /dmo/connection as Connection
{
key carrier_id as CarrierId,
key connection_id as ConnectionId,
airport_from_id as AirportFromId,
airport_to_id as AirportToId,
departure_time as DepartureTime,
arrival_time as ArrivalTime,
@Semantics.quantity.unitOfMeasure: 'DistanceUnit'
distance as Distance,
distance_unit as DistanceUnit
}
I am using the branch [ABAP-platform-2020]
Thanks
Saurabh
The text was updated successfully, but these errors were encountered: