<?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 opening URL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408724#M1547783</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;Am able to send an email Having a URL successfully.&lt;/P&gt;&lt;P&gt;But when i click on the link in the email received, its not directing to the webpage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to open a webpage when we clicked on the link in the email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the piece of my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;it_message = 'Test the URL, and check whether directing to given page'.
  APPEND it_message.
  it_message  = '&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;a href="www.google.com" target="_blank"&amp;gt;Google&amp;lt;/a&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;'.
  APPEND it_message.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mail bodylook like: Test the URL, and check whether directing to given page &lt;STRONG&gt;Google&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TIA.&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>Thu, 28 Oct 2010 04:26:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-28T04:26:12Z</dc:date>
    <item>
      <title>Problem opening URL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408724#M1547783</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;Am able to send an email Having a URL successfully.&lt;/P&gt;&lt;P&gt;But when i click on the link in the email received, its not directing to the webpage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any pointers to open a webpage when we clicked on the link in the email.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the piece of my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;it_message = 'Test the URL, and check whether directing to given page'.
  APPEND it_message.
  it_message  = '&amp;lt;html&amp;gt;&amp;lt;body&amp;gt;&amp;lt;a href="www.google.com" target="_blank"&amp;gt;Google&amp;lt;/a&amp;gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;'.
  APPEND it_message.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The mail bodylook like: Test the URL, and check whether directing to given page &lt;STRONG&gt;Google&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;TIA.&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>Thu, 28 Oct 2010 04:26:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408724#M1547783</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T04:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem opening URL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408725#M1547784</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;The problem is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replaced the link "www.google.com" with "http://www.google.com".&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>Thu, 28 Oct 2010 04:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408725#M1547784</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T04:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem opening URL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408726#M1547785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Try removing the target part from the html code and see if it works.&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;2. You can use WS_EXECUTE FM to execute url in ABAP.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
 DATA: BEGIN OF  table OCCURS 0,
                url(60),
            END OF table.
 
 table-url = 'http://www.google.com'.
 
 APPEND table.
 
 CALL FUNCTION 'WS_EXECUTE'
   EXPORTING
     program        = 'C:\Program Files\Internet Explorer\IEXPLORE.EXE'
     commandline   = table
     inform    = ' '
   EXCEPTIONS
     prog_not_found = 1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 04:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408726#M1547785</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T04:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem opening URL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408727#M1547786</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;STRONG&gt;Data definition&lt;/STRONG&gt;***********************&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;      lt_text  type table of soli,&lt;/P&gt;&lt;P&gt;      ls_text  type          soli.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;******************&lt;STRONG&gt;HTML&lt;/STRONG&gt;*********************************&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Begin of HTML page&lt;/STRONG&gt;******************&lt;/P&gt;&lt;P&gt; append '&amp;lt;HTML&amp;gt;' to lt_text.&lt;/P&gt;&lt;P&gt;  append '&amp;lt;BODY&amp;gt;' to lt_text.&lt;/P&gt;&lt;P&gt;****HTML link&lt;/P&gt;&lt;P&gt;    concatenate '&amp;lt;a href='  '"' 'www.google.com' '"' '&amp;gt;'  'Google' '&amp;lt;/a&amp;gt;'  into ls_text.&lt;/P&gt;&lt;P&gt;    append ls_text to lt_text. clear: ls_text.&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;End of WEB Page&lt;/STRONG&gt;*********************&lt;/P&gt;&lt;P&gt;  append ls_text to lt_text. clear: ls_text.&lt;/P&gt;&lt;P&gt;  append '&amp;lt;/BODY&amp;gt;' to lt_text.&lt;/P&gt;&lt;P&gt;  append '&amp;lt;/HTML&amp;gt;' to lt_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="13" type="ul"&gt;&lt;P&gt;SEND EMAIL ************************************&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;**Send email from SAP&lt;/P&gt;&lt;P&gt;DATA: OBJECT_HD_CHANGE LIKE SOOD1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      RECEIVERS        LIKE SOOS1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Populate Email input parameters&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  object_hd_change-objdes = 'Email Title'.&lt;/P&gt;&lt;P&gt;  object_hd_change-objla  = sy-langu.&lt;/P&gt;&lt;P&gt;  object_hd_change-objnam = 'List'.&lt;/P&gt;&lt;P&gt;  object_hd_change-objsns = 'F'.&lt;/P&gt;&lt;P&gt;  object_hd_change-vmtyp  = 'T'.&lt;/P&gt;&lt;P&gt;  object_hd_change-skips  = 'X'.&lt;/P&gt;&lt;P&gt;  object_hd_change-acnam  = 'SP01'.&lt;/P&gt;&lt;P&gt;  object_hd_change-objcp  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  receivers-rcdat  = sy-datum.&lt;/P&gt;&lt;P&gt;  receivers-rctim  = sy-uzeit.&lt;/P&gt;&lt;P&gt;  receivers-sndex  = x.     " Express-Mail&lt;/P&gt;&lt;P&gt;  receivers-recesc = 'U'.&lt;/P&gt;&lt;P&gt;***************put email address in next row, SDN doesn't aprove to put email address to message&lt;/P&gt;&lt;P&gt;  receivers-recextnam = 'emailaddress''.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SO_OBJECT_SEND'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_hd_change = object_hd_change&lt;/P&gt;&lt;P&gt;      object_type      = 'HTM'&lt;/P&gt;&lt;P&gt;      owner            = sy-uname&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      objcont          = lt_text&lt;/P&gt;&lt;P&gt;      receivers        = receivers.&lt;/P&gt;&lt;P&gt;**It very important set up OBJECT_TYPE = 'HTM' !!!!!!!!!!!!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Oct 2010 04:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-opening-url/m-p/7408727#M1547786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-28T04:57:59Z</dc:date>
    </item>
  </channel>
</rss>

