cancel
Showing results for 
Search instead for 
Did you mean: 

String with bytes from RFC Model

Former Member
0 Kudos

Hello,

i have to show a picture in my web dynpro application. the picture source is coming over a remote function call. It returns a string with bytes from type String. So how do i convert this string back to a binary file to download? Is it possible?

Regards

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

try this..

String da = "Da";

byte[] photo = da.getBytes();