<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Excel Attachment Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428441#M1647325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of concatenating into a single field just try move and move into different different CHAR fields and see whether it works friend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because this may happen when the value is large also so move a single field into a char field of save type and check the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still the problem exists please revert back to me will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2012 13:33:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-01-04T13:33:13Z</dc:date>
    <item>
      <title>Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428435#M1647319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I use the FM : SO_NEW_DOCUMENT_ATT_SEND_API1 for triggering an email with the excel attachment. Email triggering with an attachment  happens without any issues. But in the attachment , I am facing the following issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the fields in the excel is numeric. Excel displays that field in the exponential format. Say for example, if the content is 38883001593305 ,excel  displays it as 3.8883E+13.  I need to display the numeric as it is without any conversion. Please kindly suggest how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 12:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428435#M1647319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T12:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428436#M1647320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Selva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is getting populated properly in the excel, just displayed like this.&lt;/P&gt;&lt;P&gt;Just stretch the field/column in the excel sheet and you will see the full value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428436#M1647320</guid>
      <dc:creator>Harsh_Bansal</dc:creator>
      <dc:date>2012-01-04T13:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428437#M1647321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double click on the column head which is having that type of  value . Now it shows the numeric number and save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;G.Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:06:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428437#M1647321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428438#M1647322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestions. Eventhough I have streched it out, it looks like in the same form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes,If I change the formatting as Text instead of numeric , it works. But how to achieve thie functionlity automatically through ABAP?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428438#M1647322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428439#M1647323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As others said its correct if you just stretch the field it will show the correct output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are processing the excel directly for some other purpose just use the field as a char field so that you will get the output as required directly.&lt;/P&gt;&lt;P&gt;Just pass those fields to a char field and then populate your output table or create the output table with all char fields and then do the updation it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If no issues means please follow your old method itself. Any queries please revert back to me will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: srihari.kumar on Jan 4, 2012 6:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428439#M1647323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428440#M1647324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Hari. I have already tried this. But it does not work it out. Actually I am passing all the numeric fields to string and then concatenating it into another string and then appending it to the internal table of type SOLIX. It does not work it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428440#M1647324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428441#M1647325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of concatenating into a single field just try move and move into different different CHAR fields and see whether it works friend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because this may happen when the value is large also so move a single field into a char field of save type and check the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If still the problem exists please revert back to me will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428441#M1647325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428442#M1647326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Selva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I implemented the same functionality, I used the attachment table of type solisti1, in it the field is of type CHAR255.&lt;/P&gt;&lt;P&gt;But in SOLIX, the field is of type RAW255. I don't know if it will make any difference or not, but in my case if i stretch the column, then i get to see the full value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428442#M1647326</guid>
      <dc:creator>Harsh_Bansal</dc:creator>
      <dc:date>2012-01-04T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428443#M1647327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hari, I have tried this too . It does not work it out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428443#M1647327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428444#M1647328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if I try with SOLISTI1 also, it does not work it out for me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2012 13:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428444#M1647328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-04T13:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428445#M1647329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Resolved the issue by myself . Thanks for everyone's suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 13:11:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428445#M1647329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-06T13:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428446#M1647330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please update how you resolved it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harsh Bansal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 15:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428446#M1647330</guid>
      <dc:creator>Harsh_Bansal</dc:creator>
      <dc:date>2012-01-06T15:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Excel Attachment Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428447#M1647331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;follow the below code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ lv_message = 'Mail For Cancelled Invoices.'.&lt;/P&gt;&lt;P&gt;  append lv_message to it_message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  concatenate 'OPERATING UNIT NAME'&lt;/P&gt;&lt;P&gt;              'INVOICE BATCH NAME'&lt;/P&gt;&lt;P&gt;              'SUPPLIER NAME'&lt;/P&gt;&lt;P&gt;              'SUPPLIER GSL'&lt;/P&gt;&lt;P&gt;              'SUPPLIER PAY SITE CODE'&lt;/P&gt;&lt;P&gt;              'SUPPLIER PAY SITE ADDRESS'&lt;/P&gt;&lt;P&gt;              'SUPPLIER PAY SITE CITY'&lt;/P&gt;&lt;P&gt;              'SUPPLIER PAY SITE STATE'&lt;/P&gt;&lt;P&gt;              'SUPPLIER PAY SITE COUNTRY'&lt;/P&gt;&lt;P&gt;              'INVOICE NUMBER'&lt;/P&gt;&lt;P&gt;              'VOUCHER NUMBER'&lt;/P&gt;&lt;P&gt;              'PO NUMBER'&lt;/P&gt;&lt;P&gt;              'PO LINE NUMBER'&lt;/P&gt;&lt;P&gt;              'PO BUYER NAME'&lt;/P&gt;&lt;P&gt;              'INVOICE DATE'&lt;/P&gt;&lt;P&gt;              'CANCELLED DATE'&lt;/P&gt;&lt;P&gt;              'INVOICE ENTERED DATE'&lt;/P&gt;&lt;P&gt;              'INVOICE AMOUNT'&lt;/P&gt;&lt;P&gt;              'INVOICE CREATED BY'&lt;/P&gt;&lt;P&gt;              into it_attachment separated by&lt;/P&gt;&lt;P&gt;              cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/P&gt;&lt;P&gt;  concatenate cl_abap_char_utilities=&amp;gt;cr_lf it_attachment into it_attachment.&lt;/P&gt;&lt;P&gt;  append it_attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at t_output into wa_output.&lt;/P&gt;&lt;P&gt;    concatenate wa_output-bukrs&lt;/P&gt;&lt;P&gt;                wa_output-belnr&lt;/P&gt;&lt;P&gt;                wa_output-name1&lt;/P&gt;&lt;P&gt;                wa_output-gsl&lt;/P&gt;&lt;P&gt;                wa_output-lifnr&lt;/P&gt;&lt;P&gt;                wa_output-stras&lt;/P&gt;&lt;P&gt;                wa_output-ort01&lt;/P&gt;&lt;P&gt;                wa_output-regio&lt;/P&gt;&lt;P&gt;                wa_output-land1&lt;/P&gt;&lt;P&gt;                wa_output-xblnr&lt;/P&gt;&lt;P&gt;                wa_output-belnr&lt;/P&gt;&lt;P&gt;                wa_output-ebeln&lt;/P&gt;&lt;P&gt;                wa_output-ebelp&lt;/P&gt;&lt;P&gt;                wa_output-name2&lt;/P&gt;&lt;P&gt;                wa_output-budat&lt;/P&gt;&lt;P&gt;                wa_output-cpudt&lt;/P&gt;&lt;P&gt;                wa_output-bldat&lt;/P&gt;&lt;P&gt;                wa_output-dmbtr&lt;/P&gt;&lt;P&gt;                wa_output-usnam&lt;/P&gt;&lt;P&gt;                 into it_attachment separated by&lt;/P&gt;&lt;P&gt;             cl_abap_char_utilities=&amp;gt;horizontal_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    concatenate cl_abap_char_utilities=&amp;gt;cr_lf it_attachment into it_attachment.&lt;/P&gt;&lt;P&gt;    append it_attachment.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Selecting the mail id's&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  select intid&lt;/P&gt;&lt;P&gt;         email&lt;/P&gt;&lt;P&gt;    from ztbidl&lt;/P&gt;&lt;P&gt;    into table t_ztbidl&lt;/P&gt;&lt;P&gt;   where intid = 'RICEF125' and&lt;/P&gt;&lt;P&gt;         obj_name = 'EPIQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at t_ztbidl into wa_ztbidl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    it_receivers-receiver = wa_ztbidl-email.&lt;/P&gt;&lt;P&gt;    it_receivers-rec_type = 'U'.&lt;/P&gt;&lt;P&gt;    it_receivers-com_type = 'INT'.&lt;/P&gt;&lt;P&gt;    it_receivers-notif_del = 'X'.&lt;/P&gt;&lt;P&gt;    it_receivers-notif_ndel = 'X'.&lt;/P&gt;&lt;P&gt;    it_receivers-express = 'X'.&lt;/P&gt;&lt;P&gt;    append it_receivers.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*File Type&lt;/P&gt;&lt;P&gt;  ld_format = 'XLS'.&lt;/P&gt;&lt;P&gt;**File Name&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; ld_attfilename = 'File1'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  concatenate 'PIC_' sy-datum into ld_attfilename.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_doc_data-doc_size = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate the subject/generic message attributes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_name = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_descr = psubject .&lt;/P&gt;&lt;P&gt;  gd_doc_data-sensitivty = 'F'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fill the document data and get size of attachment&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear gd_doc_data.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate the subject/generic message attributes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  gd_doc_data-obj_langu = sy-langu.&lt;/P&gt;&lt;P&gt;  read table it_attachment index w_cnt.&lt;/P&gt;&lt;P&gt;  gd_doc_data-doc_size = ( w_cnt - 1 ) * 255 + strlen( it_attachment ).&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_name  = 'SAPRPT'.&lt;/P&gt;&lt;P&gt;  gd_doc_data-obj_descr = psubject.&lt;/P&gt;&lt;P&gt;  gd_doc_data-sensitivty = 'F'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Describe the body of the message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear it_packing_list.&lt;/P&gt;&lt;P&gt;  refresh it_packing_list.&lt;/P&gt;&lt;P&gt;  it_packing_list-transf_bin = space.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_num   = 0.&lt;/P&gt;&lt;P&gt;  it_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;  describe table it_message lines it_packing_list-body_num.&lt;/P&gt;&lt;P&gt;  it_packing_list-doc_type   = 'RAW'.&lt;/P&gt;&lt;P&gt;  append it_packing_list.&lt;/P&gt;&lt;P&gt;**Describe the attachment info&lt;/P&gt;&lt;P&gt;  it_packing_list-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_start = 1.&lt;/P&gt;&lt;P&gt;  it_packing_list-head_num   = 1.&lt;/P&gt;&lt;P&gt;  it_packing_list-body_start = 1.&lt;/P&gt;&lt;P&gt;  describe table it_attachment lines  it_packing_list-body_num.&lt;/P&gt;&lt;P&gt;  it_packing_list-doc_type   = ld_format.&lt;/P&gt;&lt;P&gt;  it_packing_list-obj_name   = ld_attfilename.&lt;/P&gt;&lt;P&gt;  it_packing_list-obj_descr  = ld_attfilename.&lt;/P&gt;&lt;P&gt;  it_packing_list-doc_size   = it_packing_list-body_num * 255.&lt;/P&gt;&lt;P&gt;  append it_packing_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      document_data              = gd_doc_data&lt;/P&gt;&lt;P&gt;      put_in_outbox              = 'X'&lt;/P&gt;&lt;P&gt;      commit_work                = 'X'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      packing_list               = it_packing_list&lt;/P&gt;&lt;P&gt;      contents_bin               = it_attachment&lt;/P&gt;&lt;P&gt;      contents_txt               = it_message&lt;/P&gt;&lt;P&gt;      receivers                  = it_receivers&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      too_many_receivers         = 1&lt;/P&gt;&lt;P&gt;      document_not_sent          = 2&lt;/P&gt;&lt;P&gt;      document_type_not_exist    = 3&lt;/P&gt;&lt;P&gt;      operation_no_authorization = 4&lt;/P&gt;&lt;P&gt;      parameter_error            = 5&lt;/P&gt;&lt;P&gt;      x_error                    = 6&lt;/P&gt;&lt;P&gt;      enqueue_error              = 7&lt;/P&gt;&lt;P&gt;      others                     = 8.&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 16:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/excel-attachment-issue/m-p/8428447#M1647331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-01-06T16:49:17Z</dc:date>
    </item>
  </channel>
</rss>

