Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sending an Excel file from a background program

Former Member
0 Likes
650

I have a requirement to write a program that will run in background and send the report results in a tab delimited format to a defined set of users.

I have been looking at the function module SO_DOCUMENT_SEND_API1.

However the file content parameter CONTENT_BIN is based on type SOLISTI1 which is only CHAR255.

The output of my reports results would exceed this.

Firstly can this still be used, and if so how?

If not is there another function module that can do this but is not restricted to 255 characters?

My only other alternative is to get them to change their requirements so that the results can be no more than 255 chars on each line of the report. Or export as HTML in the e-mail body.

Any advice appreciated.

Many Thanks In Advance

David

1 ACCEPTED SOLUTION
Read only

Laxmana_Appana_
Active Contributor
0 Likes
603

Hi,

Check this link:

Regards

Appana

I have a requirement to write a program that will run in background and send the report results in a tab delimited format to a defined set of users.

I have been looking at the function module SO_DOCUMENT_SEND_API1.

However the file content parameter CONTENT_BIN is based on type SOLISTI1 which is only CHAR255.

The output of my reports results would exceed this.

Firstly can this still be used, and if so how?

If not is there another function module that can do this but is not restricted to 255 characters?

My only other alternative is to get them to change their requirements so that the results can be no more than 255 chars on each line of the report. Or export as HTML in the e-mail body.

Any advice appreciated.

Many Thanks In Advance

David

2 REPLIES 2
Read only

Laxmana_Appana_
Active Contributor
0 Likes
604

Hi,

Check this link:

Regards

Appana

Read only

guillaume-hrc
Active Contributor
0 Likes
603

Hi Daid,

Since the WAS, you have access to a new tool to send mail that facilitates the whole process.

Have a look at the following program: <b>BCS_EXAMPLE_5</b>

Best regards,

Guillaume