Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sending a Report as an excel attachment to the respective user's mail box

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'


document_data =

put_in_outbox =

sender_address =

sender_address_type =

commit_work =


packing_list =

object_header =

contents_bin =

contents_txt =

receivers =


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.

Former Member
Not what you were looking for? View more on this topic or Ask a question