Skip to Content
avatar image
Former Member

CDS - conversion exit output for a field

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 14, 2017 at 03:17 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 17 at 01:44 PM

    Hello Priyanka,

    Have you been able to find a solution on this? I face the same issue than you (I am reopening the discussion one year later).

    Regards,

    Destiné.

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 09 at 06:31 PM

    Hi All,

    Could you please tell me the solution? I am also facing the same issue. For example, if i exposed MATNR value from one of my DB table through CDS view, it is not giving in the converted format even though my DB table having the converted value . In my case i need to get the converted material value.

    How can i get the converted material value from CDS view?

    Can any one help me on this?

    Best Regards,

    Jagadeesh

    Add comment
    10|10000 characters needed characters exceeded