Skip to main content

ABAP to CSN Interop

DRAFT This mapping definition is work in progress and may be subject to further change.

ABAP DataTypeCDS DatatypePropertiesCommentNew CDS Datatype
abap.cuky (len=5)cds.Stringlength = 5no change
abap.unit (len=3)cds.Stringlength = 3no change
abap.char (len=x)cds.Stringlength = xno change
abap.varc (len=x)cds.Stringlength = xno change
abap.sstring (len=x)cds.Stringlength = xno change
abap.numc (len=x)cds.Stringlength = xno change
abap.clnt (len=3)cds.Stringlength = 2no change
abap.lang (len=2)cds.Stringlength = 2no change
abap.accp (len=6)cds.Stringlength = 6no change
special logiccds.Booleandecision is taken based on certain domainsno change
abap.utclongcds.Timestampno change
abap.timscds.Timeno change
abap.timncds.Timeno change
abap.datscds.Dateno change
abap.datncds.Dateno change
abap.dec(precision = x, scale = y)cds.Decimalprecision = x, scale = yno change
abap.quan(precision = x, scale = y)cds.Decimalprecision = x, scale = yno change
abap.decfloat16(precision = 16, scale = floating)cds.Decimalprecision = 16, scale = floatingcds.decimal(16,?)
abap.df16_dec(precision = 16, scale = floating)cds.Decimalprecision = 16, scale = floatingcds.decimal(16,?)
abap.df16_raw(precision = 16, scale = floating)cds.Decimalprecision = 16, scale = floatingcds.decimal(16,?)
abap.df16_scl(precision = 16, scale = floating)cds.Decimalprecision = 16, scale = floatingcds.decimal(16,?)
abap.decfloat34(precision = 34, scale = floating)cds.Decimalprecision = 34, scale = floatingcds.decimal(34,?)
abap.df34_dec(precision = 34, scale = floating)cds.Decimalprecision = 34, scale = floatingcds.decimal(34,?)
abap.df34_raw(precision = 34, scale = floating)cds.Decimalprecision = 34, scale = floatingcds.decimal(34,?)
abap.df34_scl(precision = 34, scale = floating)cds.Decimalprecision = 34, scale = floatingcds.decimal(34,?)
abap.curr(precision = 34, scale = floating)cds.Decimalprecision = 34, scale = floatingcds.decimal(34,?)
abap.int8cds.Integer64no change
abap.int1cds.Integerno change
abap.int2cds.Integerno change
abap.int4cds.Integerno change
abap.preccds.Integerno change
abap.rawcds.binarydefault: cds.String(2 * raw-length) - later we have to discuss how to encode e.g. images or for which data types we use cds.UUID (max 36) (for a dedicated list of abap data types) - for cds.UUID use rules from OData Data Types
abap.fltpcds.doublecds.Double
abap.stringcds.largestringcds.String length is either given or blank
abap.lchrcds.largestringcds.String length is either given or blank
abap.lrawcds.largebinarynot supported
abap.rawstringcds.largebinarynot supported
abap.geom_ewkbcds.largebinarynot supported