Application Development and Automation 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: 
Read only

Multiple string operation on 1 CDS view column

anmol_bhat112
Explorer
0 Likes
597

Hello Experts,

I wanted to do multiple string operation on 1 resulting column in ABAP CDS view.

Following is my requirement.

Lets say I have string value 'Error in the &1 document created by &2' , with &1 = 1234 and &2 = ABCD

I wanted to have a result column with replacing these 2 place holders from the string to have the result as

"Error in the 1234 document created by ABCD".

I tried using replace statement but dont know how to use it 2 times and have the result in 1 column at the end.

Is it possible in ABAP CDS to do multiple operations on the single result column ?

0 REPLIES 0