<?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 Problem with SO_DOCUMENT_SEND_API1 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-document-send-api1/m-p/2370884#M525301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem with the funciton module SO_DOCUMENT_SEND_API1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the following logic to send a mail with excel attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_ekpo INTO wa_charekpo.&lt;/P&gt;&lt;P&gt;    CONCATENATE wa_charekpo-ebeln&lt;/P&gt;&lt;P&gt;                             wa_charekpo-ebelp&lt;/P&gt;&lt;P&gt;                             wa_charekpo-matnr&lt;/P&gt;&lt;P&gt;                             wa_charekpo-aedat&lt;/P&gt;&lt;P&gt;           INTO it_attach SEPARATED BY con_tab.&lt;/P&gt;&lt;P&gt;    CONCATENATE con_cret it_attach  INTO it_attach.&lt;/P&gt;&lt;P&gt;    APPEND  it_attach.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in the above code, internal table "it_attach" is of type structure "solisti1".&lt;/P&gt;&lt;P&gt;This structure "solisti1" has only one field "LINE" with size 255 characters. &lt;/P&gt;&lt;P&gt;So it is not allowing me to store more than 255 chars per line and getting truncated if the length exceeds.  As my requirement demands to send 15 columns information of EKPO table as an excel attachment which i am not able to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded for all the helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 06:55:57 GMT</pubDate>
    <dc:creator>graghavendra_sharma</dc:creator>
    <dc:date>2007-06-19T06:55:57Z</dc:date>
    <item>
      <title>Problem with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-document-send-api1/m-p/2370884#M525301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing problem with the funciton module SO_DOCUMENT_SEND_API1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the following logic to send a mail with excel attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT it_ekpo INTO wa_charekpo.&lt;/P&gt;&lt;P&gt;    CONCATENATE wa_charekpo-ebeln&lt;/P&gt;&lt;P&gt;                             wa_charekpo-ebelp&lt;/P&gt;&lt;P&gt;                             wa_charekpo-matnr&lt;/P&gt;&lt;P&gt;                             wa_charekpo-aedat&lt;/P&gt;&lt;P&gt;           INTO it_attach SEPARATED BY con_tab.&lt;/P&gt;&lt;P&gt;    CONCATENATE con_cret it_attach  INTO it_attach.&lt;/P&gt;&lt;P&gt;    APPEND  it_attach.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here in the above code, internal table "it_attach" is of type structure "solisti1".&lt;/P&gt;&lt;P&gt;This structure "solisti1" has only one field "LINE" with size 255 characters. &lt;/P&gt;&lt;P&gt;So it is not allowing me to store more than 255 chars per line and getting truncated if the length exceeds.  As my requirement demands to send 15 columns information of EKPO table as an excel attachment which i am not able to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points will be rewarded for all the helpful answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 06:55:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-document-send-api1/m-p/2370884#M525301</guid>
      <dc:creator>graghavendra_sharma</dc:creator>
      <dc:date>2007-06-19T06:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SO_DOCUMENT_SEND_API1</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-document-send-api1/m-p/2370885#M525302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghav ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SO_DOCUMENT_SEND_AP1 expects the Attachment Internal Table to be of &lt;/P&gt;&lt;P&gt;SOLIST1  type only . So you need to stick that structure type .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what i would suggest is -- before u move ur data into the attachment table , you move  each data  into  STRING type variable and then Use CONDENSE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will eliminate the extra blanks and then u can try CONCATENATE , this way u can reduce the truncation and maybe able to rid of it too .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Soumyadip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-so-document-send-api1/m-p/2370885#M525302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T07:07:04Z</dc:date>
    </item>
  </channel>
</rss>

