Skip to Content
0

CDS - conversion exit output for a field

Jul 14 at 02:36 PM

146

avatar image

Hi ,

I have created one Cds in which field data element have conversion exit output. I need to display value which get in convert after conversion exit.even in Se11 when i open the data it shows value without converting it but when we display it shows corrcted value(converted output because of conversion exit).

How we can achieve in my cds.

Rgsd

Priyanka

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Keller
Jul 14 at 03:17 PM
0

You can CAST the elements of a CDS view to data elements. The semantic attributes are taken over then. See examples under

https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abencds_f1_cast_expression.htm

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi,

Thanks. I tried but no luck.

My Field is AFKO - Pronr . when we display in SE11 it shows the number but in display it shows character because of conversion exit. As suggested i have used the cast operation as follows but no luck:

cast(orderheader.pronr as PS_PSP_PRO )as wbselement,

Still it is showing the numeric output.

Priyanka

0

What does "in display" mean? What role does SE11 play here? From your description, it is not clear what you want.

0