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

Problem with SO_DOCUMENT_SEND_API1

Former Member
0 Likes
408

Hi,

I am using SO_DOCUMENT_SEND_API1 to send excel attachment via mail.

But, when i use this FM, file is automatically created/downloaded with name '*' with authorisation object s_dataset.

Could you please let me know the reason why the file is created like that.

Thanks.

Ramya.

2 REPLIES 2
Read only

Former Member
0 Likes
362

You can take the reference of prgrams BCS_EXAMPLE_1 to BCS_EXAMPLE_6 . And about authorization , You may need to add authorization object. Give point if useful

Read only

Former Member
0 Likes
362

Sorry, i didn't understand the problem exactly.

Are you saying the mail is not being sent with attchement ?

If the mail is being sent and file name or format is incorrect: Populate obj_desc of packing list with filename. For changing the format use FM SO_RAW_TO_RTF.

I have been able to successfully sent a mail with two CSV attachemnts using this FM only. Could you please elaborate a bit more on your problem ... Thanks..