<?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: Issue with SO_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467436#M1416682</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;Let us know how you are passing the internal table content to the mailing FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 08:58:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-18T08:58:01Z</dc:date>
    <item>
      <title>Issue with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467435#M1416681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sending mail and an excelsheet attachment through SO_DOCUMENT_SEND_API1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is i am having 5 rows in the internal table which i am passing to this FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when checked in the inbox, only 3 rows are coming in the excel attachement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 07:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467435#M1416681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T07:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467436#M1416682</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;Let us know how you are passing the internal table content to the mailing FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 08:58:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467436#M1416682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T08:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467437#M1416683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swapnil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There Could be an issue when you are transforming your Internal table in to Excel file, Kindly follow the Example code below and do modifocations accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The below code shows you how to create an excell table form your data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;*Build data table for .xls document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If you have Unicode check active in program attributes thnen you will&lt;/P&gt;&lt;P&gt;*need to declare constants as follows&lt;/P&gt;&lt;P&gt;*class cl_abap_char_utilities definition load.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;constants:

con_tab type c value cl_abap_char_utilities=&amp;gt;HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=&amp;gt;CR_LF.

CONCATENATE 'MACHINE' 'MODEL'
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.

LOOP AT iTAB.
CONCATENATE ITAB-ZMACHINE ITAB-ZMODEL
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 09:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-with-so-document-send-api1/m-p/6467437#M1416683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T09:01:32Z</dc:date>
    </item>
  </channel>
</rss>

