on ‎2020 Dec 03 11:11 AM
Hello Team,
I have created one CDS and used this CDS as a OData.
In CDS View one field has a routine (Conversion Exit).

When the CDS is executing ,the result is as excepted. but if i use the OData service which is generated from this CDS then that field display different value (Description is showing) due to conversion exit.
CONVERSION_EXIT_ZADJC_OUTPUT
CDS Output-

OData Output (CDS):-

If i create a OData service from SEGW , then i am able to see expected Output without call conversion exit FM.
OData (SEGW):-

Can you please help me how to get this result from CDS ?
Thanks'
Deborshi
Request clarification before answering.
Hi Deborshi,
You will have to handle it in MPC class. There are multiple ways, please refer to this blog:
https://blogs.sap.com/2016/10/21/conversions-sap-gateway-foundation-part-1/
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.