Skip to Content
author's profile photo Former Member
Former Member

All data not present in Excel sheet when a report output is send via e-mail

Hi Friends,

I am just into a small confusion.

While sending the report output via mail (Excel attachment), all the data in report output is not displayed in the Excel sheet.

While the internal table which is building the data and passed to the FM 'SO_DOCUMENT_SEND_API1' is being populated properly with the whole data as in Report output.

Waiting for your inputs.

Thanks

Ashiq

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 02:08 PM

    Hello Ashiq,

    Did you check the body of the mail which you are passing into the table

    CONTENTS_TXT in the tables parameter in the function module.

    check it in debugging.

    if all the fields are not passed then pass the fields into a variable of character type with length how much you required them and concatenate all the fields with required spacing and append the in to the internal table CONTENTS_TXT.

    try it.

    Regards,

    Phani.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 02:11 PM

    There is a 255 character limitation, but you can convert the record string to a binary internal table.

    • convert record string to binary internal table

    REFRESH xxl_tab.

    CLEAR xxl_tab.

    CALL FUNCTION 'SCMS_STRING_TO_FTEXT'

    EXPORTING

    text = rec_str

    • IMPORTING

    • LENGTH =

    TABLES

    ftext_tab = xxl_tab.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 11:44 AM

    u can create a unix script which sends email using sendmail command with attachment.

    Create a external command and use "SXPG_CALL_SYSTEM" to call the external command

    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.