Skip to Content
author's profile photo Former Member
Former Member

Get column type

Is it possible to retrieve a CDS custom column type at run-time?

I defined a CDS type like:

type Name : String(255);

And a column using this type:

entity myTable {
          name   : Name   not null;

If i try to get the colum type with CDS_ARTIFACT_DEFINITION or with querying other views like the CDS_* views, i only get the native type.

Therefore my question if it is possible to get the CDS-Type or is it not saved anywhere?

Add comment
10|10000 characters needed characters exceeded

0 Answers