Hi all,
does anyone give me a suggestion on how to solve this problem?
I'm trying to send an email with an excel attachment from an abap program. All works fine, but when i open the attachemnt i realize that if the line in the excel sheet ( which splitted in more columns ) is exceeding 255 then it is truncated. I'm using function module 'SO_DOCUMENT_SEND_API1' and i guess i have to compress in some way the lines that, for my purposes, will for sure exceed 255 characters.
Thanks in advance.
Angelo.
Is it possible for you to send each row as multiple lines ?
for eg:
MYFIRSTNAME MYLASTNAME MYAGE MYADDREsS
If that is the case, you can use <b>RKD_WORD_WRAP</b> (Function Module) and set a length of 255 and the end of each line can probably use a delimiter. So the contents would actually go as:
[start of row]
MYFIRSTNAME MYLASTNAME MYAGE
MYADDRESS
[end of row]
[start of row]
.......
....
[end of row]
If you have found out any other way to solve your problem, please share with us.
Regards,
Subramanian V.
Hi guys,
thank you very much for your hints.
I solved the problem using a more powerful function module: SO_NEW_DOCUMENT_ATT_SEND_API1.
I will provide you peaces of code tomorrow about the logic for filing the function's module interface in order to overtake the limit of 255 that the interface has.
Regards,
Angelo.
Add a comment