cancel
Showing results for 
Search instead for 
Did you mean: 

Conversion exit in ABAP RESTful Programming Model - Need Solution

Area - ABPA RESTful Programming model.

I created CDS view with below fields. Data element behind the attributes have the conversion exit.

Because of the Conversion exit, my service Binding Preview tool, is not loading the application.

So I checked the transaction code /IWBEP/ERROR_LOG. I have error Message, Conversion exit not allowed for entity attribte << attribute name >>.

But I need the attribute, should be shown on my application.

Attribute use the Standard data element Domain.

Example : PS_PSPID ( Domain )

/BOBF/TIMESTAMP ( Domain )

rajeshkatkoori
Explorer
0 Kudos

Hi ,

I am also facing this issue. Could you please tell how this issue got fixed? I tried using CAST but did not work.

Regards,

Rajesh

View Entire Topic
gaurav_sharan
Explorer
0 Kudos

Hi,

You can cast field to the data element which doesn't have conversion exit. Then it will work. Refer to below code.

cast( created_on as changedatetime ) as CreatedOn,

Here changedatetime dataelement doesn't have conversion exit.

Thanks
Gaurav