cancel
Showing results for 
Search instead for 
Did you mean: 

SPLIT String : CDS S4HANA CLOUD

09-19-2023 5:25 PM
shashankagg Participant
990 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

I am wondering , how do i split a string using delimeter in S4HANA CLOUD cds views. For ex - If i have a string(ABC : XYZ ) in one of the column of the CDS view. I need 'XYZ' in the result column.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

andrewfloriano
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

Could you please provide more details about what you want to achieve manipulating this string? Depending on your use case, you may perform the string manipulation in the ABAP layer (for example, in an AMDP method, or an ABAP report that consumes the CDS view), or by creating a HANA table function (which supports the more extensive SQL functions) and calling this within your CDS view.

Kind Regards,