<?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: calling multiple URL in call browser in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998857#M1494955</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Aug 2010 10:51:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-12T10:51:32Z</dc:date>
    <item>
      <title>calling multiple URL in call browser</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998855#M1494953</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;i am having internal table having a multiple Url . each row consists of different URl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am calling the call browser functional  module in Inside the Loop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what i am geting is , when the first record ( URL)  gets generated . it will call the Browser . sms sent and its not calling the second record even though its in loop. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what has to do. any parallel processing / asynchronous processing posible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 06:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998855#M1494953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-02T06:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: calling multiple URL in call browser</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998856#M1494954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was browsing forums and your problem seem to be stuck in my brain. It keeps coming back again and again :-). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, I find out that instead of using CALL_BROWSER, if you can use the execute method of cl_gui_frontend_services, it will work. Just pass internet explorer exe file path in 'APPLICATION' parameter and you url in 'PARAMETER' parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However there is one problem and that is how to get the filepath for internet explorer exe file. On most PCs it will be like C:\Program files\Internet Explorer\iexplore.exe' , so you can hare code this. OR you can read it from registry as per the following &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: kstr TYPE string, vstr TYPE string,
      convstr TYPE string.

kstr = 'SOFTWARE\Classes\Applications\iexplore.exe\shell\open\command'.
CALL METHOD cl_gui_frontend_services=&amp;gt;registry_get_value
  EXPORTING
    root                 = cl_gui_frontend_services=&amp;gt;hkey_local_machine
    key                  = kstr
  IMPORTING
    reg_value            = vstr
  EXCEPTIONS
    get_regvalue_failed  = 1
    cntl_error           = 2
    error_no_gui         = 3
    not_supported_by_gui = 4
    OTHERS               = 5 .
IF sy-subrc &amp;lt;&amp;gt; 0.
  WRITE:/ 'registry read error subrc=', sy-subrc.
  EXIT.
ELSE.
  TRANSLATE vstr USING '% 1 '.
  CONDENSE vstr.
ENDIF. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have explorer file path in VSTR, can can call the execute method as following.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Assumption&lt;/STRONG&gt;: ITAB-STR is of type string and contains url like 'http://www'google.com' etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab.
  CALL METHOD cl_gui_frontend_services=&amp;gt;execute
    EXPORTING
       application            = vstr
       parameter              = itab-str
    EXCEPTIONS
      cntl_error             = 1
      error_no_gui           = 2
      bad_parameter          = 3
      file_not_found         = 4
      path_not_found         = 5
      file_extension_unknown = 6
      error_execute_failed   = 7
      synchronous_failed     = 8
      not_supported_by_gui   = 9
      OTHERS                 = 10 .
  IF sy-subrc &amp;lt;&amp;gt; 0.
    WRITE:/ 'Error in EXECUTE, subrc =', sy-subrc.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jun 2010 08:50:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998856#M1494954</guid>
      <dc:creator>Rashid_Javed</dc:creator>
      <dc:date>2010-06-06T08:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: calling multiple URL in call browser</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998857#M1494955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Aug 2010 10:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-multiple-url-in-call-browser/m-p/6998857#M1494955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-12T10:51:32Z</dc:date>
    </item>
  </channel>
</rss>

