Skip to Content
May 22, 2018 at 08:30 PM

How to manipulate data type STRING in CDS views?

2446 Views Last edit May 28, 2018 at 12:39 PM 2 rev


S4 HANA ABAP DDIC tables could be defined with a field of type STRING - for instance data element RSSTRING could as data type in this case...

The question is how to enable an ABAP CDS view to fetch a sub-string of this field?

None of CDS functions like CAST, LEFT, CONCATENATE,... accepts an argument of type STRING...

How to overcome this situation?