cancel
Showing results for 
Search instead for 
Did you mean: 

Convert LRAW type to String type ABAP CDS View.

0 Kudos

Hi,

I am using DBTABLOG table to create a CDS view and i need to convert LRAW data type field( field logdata in table DBTABLOG) to String format. I tried with conversion function "bintohex" but it does not work. Do we have any way to resolve this?

Accepted Solutions (0)

Answers (3)

Answers (3)

Sandra_Rossi
Active Contributor
0 Kudos

I think it's far too complex for CDS and you need ABAP code. cf the algorithm by Raymond here: https://archive.sap.com/discussions/thread/486920

developerone
Contributor
0 Kudos
ArthurParisius
Contributor
0 Kudos

Try looking at CL_BCS_CONVERT, this class has several methods that might be of use to you.