‎2011 Oct 27 12:42 AM
Hello all,
In 4.7 I use the following code to create a binary table that is used to send an email file attachments of any record length.
I build the string, adding data, tabs, and line breaks, convert string to xstring, convert xstring to binary table.
data: w_string type string.
data: x_string type xstring.
data: binary_att type standard table of solix.
call function 'SCMS_STRING_TO_XSTRING'
exporting
text = w_string
importing
buffer = x_string.
call function 'SCMS_XSTRING_TO_BINARY'
exporting
buffer = x_string
append_to_table = 'X' "Do not clear/refresh table
tables
binary_tab = binary_att.
We were bought by a company that uses 4.6. I haven't found any functions or class/methods in the 4.6 system that will do the same thing.
Is anyone doing this on a 4.6 system, if yes, how?
Thanks
Bruce
Edited by: Bruce Tjosvold on Oct 26, 2011 7:42 PM
Edited by: Bruce Tjosvold on Oct 26, 2011 8:00 PM
‎2011 Nov 16 2:43 AM