Create a byte array from a file?
something like this should work:
data: w_line type xstring.
data: t_file type table of xstring.
data: w_filename type string falue 'myfile.txt'.
data: w_len type i.
open dataset w_filename for input in binary mode.
read dataset w_filename into w_line length w_len.
while w_len > 0.
append w_line to t_file.
read dataset w_filename into w_line length w_len.
endwhile.
close dataset w_filename.
* t_file now holds the data in an internal table