10-07-2008 10:58 AM
hi all,
Good morning.
My requirement is to send a report as an excel attatchment to the respective managers mail box. For this I am using the function module SO_DOCUMENT_SEND_API1 as follows.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data =
put_in_outbox =
sender_address =
sender_address_type =
commit_work =
tables
packing_list =
object_header =
contents_bin =
contents_txt =
receivers =
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Here the problem is contents_bin is of type SOLISTI1 which takes max 255 characters, As my report columns occupies more than 400 characters, I am unable to get all the column values in excel attachement.
Can anyone please help me to get all the column values in the excel attachment.
Thanks in Advance.
10-07-2008 11:38 AM
Hi,
After exceeding 255 characters just u append the data to contents_bin is of type SOLISTI1 .
10-07-2008 11:50 AM
11-11-2008 3:29 PM
Hi Srivallika,
Did you get the solution for this problem? Even I am facing the same problem. It would be of great help if you can share the solution, if you have got it.
Thanks,
Amol