<?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: Email from a variable type XSTRING in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152582#M1368816</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved with different logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2009 10:52:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-23T10:52:25Z</dc:date>
    <item>
      <title>Email from a variable type XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152579#M1368813</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 have a variable of type XSTRING, i need to send this PDF file as an attachement to a mail. How can i do this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Harshad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 08:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152579#M1368813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-14T08:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Email from a variable type XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152580#M1368814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use the method XSTRING_TO_SOLIX of class CL_DOCUMENT_BCS to convert to SOLIX_TAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Call the method ADD_ATTACHMENT class CL_DOCUMENT_BCS to add the attachment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further details look into the SAP example BCS_EXAMPLE_5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else use the method XSTRING_TO_SOLIX of class CL_DOCUMENT_BCS to get the hex contents &amp;amp; pass the resultant table to CONTENTS_HEX of the FM: SO_NEW_DOCUMENT_ATT_SEND_API1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 09:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152580#M1368814</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-09-14T09:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Email from a variable type XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152581#M1368815</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;Take ur XSTRING data into one Internal table and use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'EFG_GEN_SEND_EMAIL'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        i_title                = 'KPI Report - Status'(046)&lt;/P&gt;&lt;P&gt;        i_sender               = g_sender&lt;/P&gt;&lt;P&gt;        i_recipient            = g_email&lt;/P&gt;&lt;P&gt;        i_flg_commit           = k_x&lt;/P&gt;&lt;P&gt;        i_flg_send_immediately = k_x&lt;/P&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        i_tab_lines            = it_tab_soli&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        not_qualified          = 1&lt;/P&gt;&lt;P&gt;        failed                 = 2&lt;/P&gt;&lt;P&gt;        others                 = 3.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      write:/ sy-subrc.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreeram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2009 09:19:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152581#M1368815</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2009-09-14T09:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Email from a variable type XSTRING</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152582#M1368816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved with different logic&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2009 10:52:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/email-from-a-variable-type-xstring/m-p/6152582#M1368816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-23T10:52:25Z</dc:date>
    </item>
  </channel>
</rss>

