<?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 mail and hyperlink in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-and-hyperlink/m-p/7327650#M1537710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was asked to insert an hyperlink in an e-mail generated in an abap report (using SO_DOCUMENT_SEND_API1 function module) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the hyperlink is too long and aftermore it should be parametrized using one or more of the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BI_COMMAND_1-'CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STR  (this one should be set equal to Purchasing Order )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I use the link in the e-mail if is too long (when I try to use hyperlink it gets wrong ? ).&lt;/P&gt;&lt;P&gt;&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;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Sep 2010 13:58:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-21T13:58:38Z</dc:date>
    <item>
      <title>mail and hyperlink</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-and-hyperlink/m-p/7327650#M1537710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was asked to insert an hyperlink in an e-mail generated in an abap report (using SO_DOCUMENT_SEND_API1 function module) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the hyperlink is too long and aftermore it should be parametrized using one or more of the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BI_COMMAND_1-'CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STR  (this one should be set equal to Purchasing Order )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I use the link in the e-mail if is too long (when I try to use hyperlink it gets wrong ? ).&lt;/P&gt;&lt;P&gt;&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;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 13:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mail-and-hyperlink/m-p/7327650#M1537710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-21T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: mail and hyperlink</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/mail-and-hyperlink/m-p/7327651#M1537711</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;You emali must be in HTML format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of the lin, within the email body:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;a href="http://sap.com"&amp;gt;SAP's homepage&amp;lt;/a&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make your email to HTML format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;* Document properties
  CLEAR  ls_packlist.
  ls_packlist-head_start = 1.
  ls_packlist-head_num = 0.
  ls_packlist-body_start = 1.
  ls_packlist-body_num = l_tab_lines.
  ls_packlist-doc_type = 'HTM'.
  APPEND ls_packlist TO lt_packlist.

* Send mail
  CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
    EXPORTING
      document_data              = ls_docudata
      sender_address             = l_sender
      sender_address_type        = 'SMTP'
      commit_work                = 'X'
    TABLES
      packing_list               = lt_packlist
      object_header              = lt_objhead
      contents_txt               = lt_text
      contents_bin               = gt_pdf
      receivers                  = lt_email_receivers
    EXCEPTIONS
      too_many_receivers         = 1
      document_not_sent          = 2
      document_type_not_exist    = 3
      operation_no_authorization = 4
      parameter_error            = 5
      x_error                    = 6
      enqueue_error              = 7
      OTHERS                     = 8.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 14:04:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/mail-and-hyperlink/m-p/7327651#M1537711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-21T14:04:26Z</dc:date>
    </item>
  </channel>
</rss>

