‎2006 Jan 20 9:27 PM
Is there an ABAP version of a toStrng function in Java.
I want to input a structure/table name and I get in out put a string with all the contents of the structure as a string. It would be nice if I have options to have a field separator or if it is fixed length.
Thanks
‎2006 Jan 20 9:47 PM
‎2006 Jan 20 9:50 PM
tables:mara.
data:l_fieldname(30),
stri type string.
select fieldname from dd03l into l_fieldname where tabname = 'MARA'.
concatenate l_fieldname stri into stri separated by '|'.
endselect.
write : stri.
‎2006 Jan 20 10:09 PM
I am just going to use the transfer statement as my end goal is to write the contents to a file.
Thanks for your help
‎2006 Jan 20 10:10 PM