Skip to Content

Exporting Query Output to Excel and sending it as an Email


Hi All,

There is a requirement from the business as to export the output of a Query to Excel and subsequently mailing the same to a specified list of users.

The Query should be run in the background Weekly.

We have created the Query as per user requirement but stuck up with exporting to Excel after running in the background and mailing the same.

Please give your valuable feedback on the above requirement.

Awaiting an early reply.

Regards,

R Vijayakumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 11, 2015 at 08:31 PM

    For sending the email you can make use of the following 2 standard classes.

    CL_BCS

    CL_DOCUMENT_BCS (to attach the document to the email)

    -Chandra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.