I have created a cds-view for spfli, which contains the field FLTIME (type I. An OData-Service is created for the CDS-View by using the annotaiton @OData.publish: true.
A call of the OData-Service yields the following error:
Failed to call CONVERSION_EXIT_SDURA_OUTPUT (output is assignet to a not compatible field).
Code: /IWBEP/CL_MGW_DATA_HELPER=====CM008 (Line 214)
CALL FUNCTION lv_function "value = CONVERSION_EXIT_SDURA_OUTPUT
EXPORTING
input = iv_source_property " value 361, I(4)
IMPORTING
output = ev_target_property " value 361, I(4)
Why is the function called with integer values? It seems to be a software error from SAP.
Note: In the method INTERNAL_ENTITYSET_OUTB (/IWBEP/CL_MGW_DATA_HELPER) one can see that the internal type is an Integer and the corresponding EXIT is SDURA (in the structure LS_PROPERTY_INFO).