‎2009 May 06 10:08 AM
Hi,
1. is it possible to get the contents of .txt file(local machine) into a single variable say l_data.
--> the length is greated than 255 (since it is a file )
2. how can i concatenate the data from a internal table ( with only 1 field of type raw)into a single variable say l_xstr.
tried :::: the keyword CONCATENATE is applicateble only to data types C,N,String etc... and not for binary data i.e RAW type of data
THANKS
‎2009 May 06 10:10 AM
1) Yes its is possible.
If there are multiple lines, then you can concantenate them using a STRING type variable
data: v_string type string.
call function 'GUI_UPLOAD' to get the data of the file into a itab.
loop at itab.
concatenate itab-data v_string into v_string.
endloop.
Regards,
Ravi
‎2009 May 06 10:19 AM
‎2009 May 06 10:30 AM