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

HTML code appearing in single cell of excel

Hi ,

My requirement was to mail the data in the an internal table as an attachment.

I am using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 to do.

I am converting the data in the internal table into html format using WWW_ITAB_TO_HTML fm.

I am then passing this html data to the SO_NEW_DOCUMENT_ATT_SEND_API1.While doing so i am naming the attached as AAA .XLS.

The same code is present in the unicode and non-unicode systems.

When the user clicks on the mail attachment in non-unicode system, he is able to view the data in the html format in excel sheet.

In the non-unicode system, i observed that the entire HTML code sits in a single cell of the excel attachment.As a result i cannot see the data.

Also the first line of the html code is empty and the second line contains script. It does not contain an

Can someone provide some solution to the problem ?

Thanks,

Avanish Joshi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 31, 2009 at 07:22 AM

    Just for those who face a similar issue, i have used the BCS class to send the email and it works fine.

    Check the BCSEXample programs on usage

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 12, 2009 at 12:09 PM

    Hi Avanish ,

    Thanks a lot for your response . It solved my problem .

    We use BCS classes for this type of purposes .

    Thanks & Regads

    Nikhil

    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.