cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Create CDS-View including domain with conversion exit

marcelhippchen
Explorer
0 Likes
3,829

I created a CDS-View:

When i create an OData-Service based on this view, i get the following error:

It seems to be due to the field "PosNr" which has an underlying domain with a conversion exit:

It is resolved if i cast this field in the CDS-View like this:

Is this the correct solution or can i solve this in the SAP GUI system. I think it should not be the solution to convert those field in the CDS-View. Any solutions?

Best Regards

Marcel

Accepted Solutions (0)

Answers (1)

Answers (1)

MateuszAdamus
Active Contributor
0 Likes

Hi marcelhippchen

You could check the ABAP_ALPHANUM or LPAD functions.

Kind regards,

Mateusz