Skip to Content

Get column type

Mar 05, 2017 at 04:52 PM


avatar image
Former Member

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?

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

0 Answers