Skip to Content
0
Apr 14, 2021 at 10:11 AM

Substring in Custom CDS only with literals on position 2

390 Views Last edit May 20, 2021 at 12:13 AM 2 rev

Hi,

is there any possibility to use the substring function S/4HANA Cloud Custom CDS in a dynamic way?

The substring function seems to only work with "hard coded" literals.

As soon as i try to cut my substring via fields i get the above error, it's no casting error.

I know the message tells me that it's not intented to be used in a dynamic way, but is there any workaround?

Best Regards

Thomas