Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User-defined functions are not supported in the SEARCHED CASE WHEN CLAUSE IN SAP

former_member310653
Participant
0 Kudos

Hi expert, I try to create a CDS veiw , and use case clause for a field, when I try to use function substring , it show error message below,

User-defined functions are not supported in the SEARCHED CASE WHEN CLAUSE IN SAP

my code is as below:

but if I want to use function in stead , I get following error :

3 REPLIES 3

UweFetzer_se38
Active Contributor
0 Kudos

The code (CDS View) and your SAP Release (for example 7.40 SP10) would be helpfull.

0 Kudos

Hi Bo,

Did you get any solution for this? Can you share if you got any solution?

Thanks,

Debraj

former_member310653
Participant
0 Kudos

those type of functions are not supported in ABAP CDS VIEW, so I created table function, where those function can be recoginized in AMDP code.