<?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: code to call url in abap program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391965#M532021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi EXPERT, thanks for code, is very helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question for you, if i dont want display data in the screen, but using URL comand line to run instruction on another web server and mange the data in back ground or totaly in SAP via ABAP code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jul 2007 15:42:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-26T15:42:01Z</dc:date>
    <item>
      <title>code to call url in abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391963#M532019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code to call url in abap program using cl_http requests and save the outcome to a location  in a file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 03:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391963#M532019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T03:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: code to call url in abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391964#M532020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the below program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zbrowser .&lt;/P&gt;&lt;P&gt;TABLES : sscrfields.&lt;/P&gt;&lt;P&gt;INCLUDE .&lt;/P&gt;&lt;P&gt;CONSTANTS: htmlcntl_eventid_on_navigate TYPE i VALUE 1.&lt;/P&gt;&lt;P&gt;CONSTANTS: htmlcntl_eventid_navigate_com TYPE i VALUE 2.&lt;/P&gt;&lt;P&gt;DATA : h_html_ctrl TYPE cntl_handle,&lt;/P&gt;&lt;P&gt;repid TYPE sy-repid,&lt;/P&gt;&lt;P&gt;dynnr TYPE sy-dynnr,&lt;/P&gt;&lt;P&gt;cmd TYPE sy-ucomm,&lt;/P&gt;&lt;P&gt;flag,disp.&lt;/P&gt;&lt;P&gt;DATA : it_exclude LIKE TABLE OF rsexfcode WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN : FUNCTION KEY 1,&lt;/P&gt;&lt;P&gt;FUNCTION KEY 2,&lt;/P&gt;&lt;P&gt;FUNCTION KEY 3,&lt;/P&gt;&lt;P&gt;FUNCTION KEY 4,&lt;/P&gt;&lt;P&gt;FUNCTION KEY 5.&lt;/P&gt;&lt;P&gt;General Browser to View&lt;/P&gt;&lt;P&gt;Files/Pictures &amp;amp; WebPages&lt;/P&gt;&lt;P&gt;© 2005 SAP AG 2&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 45(50) comment1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 2(28) comment2 FOR FIELD url.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN POSITION 31.&lt;/P&gt;&lt;P&gt;PARAMETERS : url(1064) LOWER CASE .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 79(4) open USER-COMMAND open.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;comment1 = 'ABAP INTERNET EXPLORER'.&lt;/P&gt;&lt;P&gt;comment2 = 'Enter URL/Filename To Open :'.&lt;/P&gt;&lt;P&gt;open = icon_transfer .&lt;/P&gt;&lt;P&gt;sscrfields-functxt_05 = icon_sap.&lt;/P&gt;&lt;P&gt;sscrfields-functxt_04 = icon_booking_stop.&lt;/P&gt;&lt;P&gt;sscrfields-functxt_03 = icon_refresh.&lt;/P&gt;&lt;P&gt;sscrfields-functxt_02 = icon_arrow_right.&lt;/P&gt;&lt;P&gt;sscrfields-functxt_01 = icon_arrow_left.&lt;/P&gt;&lt;P&gt;repid = sy-repid.&lt;/P&gt;&lt;P&gt;dynnr = '1000'.&lt;/P&gt;&lt;P&gt;it_exclude-fcode = 'ONLI'.&lt;/P&gt;&lt;P&gt;APPEND it_exclude.&lt;/P&gt;&lt;P&gt;it_exclude-fcode = 'INFO'.&lt;/P&gt;&lt;P&gt;APPEND it_exclude.&lt;/P&gt;&lt;P&gt;*Changing GUI status&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;p_status = sy-pfkey&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;p_program = repid&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;p_exclude = it_exclude.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_INIT' .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_CREATE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;owner_repid = repid&lt;/P&gt;&lt;P&gt;link_repid = repid&lt;/P&gt;&lt;P&gt;dynnr = dynnr&lt;/P&gt;&lt;P&gt;handle = h_html_ctrl&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;control_install_error = 1&lt;/P&gt;&lt;P&gt;create_error = 2&lt;/P&gt;&lt;P&gt;General Browser to View&lt;/P&gt;&lt;P&gt;Files/Pictures &amp;amp; WebPages&lt;/P&gt;&lt;P&gt;© 2005 SAP AG 3&lt;/P&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_INIT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl&lt;/P&gt;&lt;P&gt;left = 1&lt;/P&gt;&lt;P&gt;top = 2&lt;/P&gt;&lt;P&gt;width = 143&lt;/P&gt;&lt;P&gt;height = 37&lt;/P&gt;&lt;P&gt;register_event_on_navigate = 'X'&lt;/P&gt;&lt;P&gt;cb_form_navigate_complete = 'ON_CONTROL_EVENT'&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;cntl_system_error = 1&lt;/P&gt;&lt;P&gt;cntl_error = 2&lt;/P&gt;&lt;P&gt;dp_create_error = 3&lt;/P&gt;&lt;P&gt;dp_install_error = 4&lt;/P&gt;&lt;P&gt;dp_error = 5&lt;/P&gt;&lt;P&gt;create_browser_error = 6&lt;/P&gt;&lt;P&gt;init_error = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FLUSH'.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;cmd = sscrfields-ucomm.&lt;/P&gt;&lt;P&gt;CASE cmd.&lt;/P&gt;&lt;P&gt;WHEN 'OPEN'.&lt;/P&gt;&lt;P&gt;PERFORM load_html_page.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FLUSH'.&lt;/P&gt;&lt;P&gt;WHEN 'FC01'. "BACK&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_GO_BACK'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;General Browser to View&lt;/P&gt;&lt;P&gt;Files/Pictures &amp;amp; WebPages&lt;/P&gt;&lt;P&gt;© 2005 SAP AG 4&lt;/P&gt;&lt;P&gt;PERFORM get_current_url.&lt;/P&gt;&lt;P&gt;WHEN 'FC02'. "FORWARD&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_GO_FORWARD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;PERFORM get_current_url.&lt;/P&gt;&lt;P&gt;WHEN 'FC03'. "REFRESH&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_DO_REFRESH'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;PERFORM get_current_url.&lt;/P&gt;&lt;P&gt;WHEN 'FC04'. "STOP&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_STOP'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;WHEN 'FC05'. "GO TO HOME&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_GO_HOME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;PERFORM get_current_url.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FLUSH'.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;General Browser to View&lt;/P&gt;&lt;P&gt;Files/Pictures &amp;amp; WebPages&lt;/P&gt;&lt;P&gt;© 2005 SAP AG 5&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_DISPATCH'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;fcode = cmd.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FLUSH'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;CLEAR cmd.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_FLUSH'.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR url.&lt;/P&gt;&lt;P&gt;PERFORM get_file_name.&lt;/P&gt;&lt;P&gt;PERFORM load_html_page.&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Form get_page_name&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get Page Name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;FORM get_file_name.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WS_FILENAME_GET'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DEF_FILENAME = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;def_path = 'C: '&lt;/P&gt;&lt;P&gt;mask = ',&lt;STRONG&gt;.&lt;/STRONG&gt;,&lt;STRONG&gt;.&lt;/STRONG&gt;.'&lt;/P&gt;&lt;P&gt;mode = 'o'&lt;/P&gt;&lt;P&gt;title = 'Browse to Open'&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;filename = url&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RC =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;inv_winsys = 1&lt;/P&gt;&lt;P&gt;no_batch = 2&lt;/P&gt;&lt;P&gt;selection_cancel = 3&lt;/P&gt;&lt;P&gt;selection_error = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. " get_page_name&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&amp;amp; Form load_html_page&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;TO load the file (URL)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;General Browser to View&lt;/P&gt;&lt;P&gt;Files/Pictures &amp;amp; WebPages&lt;/P&gt;&lt;P&gt;© 2005 SAP AG 6&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;FORM load_html_page.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_SHOW_URL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl&lt;/P&gt;&lt;P&gt;url = url.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;EXIT.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;flag = 'X'.&lt;/P&gt;&lt;P&gt;ENDFORM. " load_html_page&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&amp;amp; Form get_current_url&lt;/P&gt;&lt;P&gt;*&amp;amp;----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get Current URL&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FORM get_current_url.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HTMLCNTL_GET_CURRENT_URL'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;url = url.&lt;/P&gt;&lt;P&gt;ENDFORM. " get_current_url&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Callback form for the event 'NavigateComplete'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;callback on_control_event.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONTROL_GET_EVENT_PARAM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;h_control = h_html_ctrl&lt;/P&gt;&lt;P&gt;param_id = 0&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;return = url.&lt;/P&gt;&lt;P&gt;PERFORM get_current_url.&lt;/P&gt;&lt;P&gt;endcallback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2007 03:25:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391964#M532020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-05T03:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: code to call url in abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391965#M532021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi EXPERT, thanks for code, is very helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question for you, if i dont want display data in the screen, but using URL comand line to run instruction on another web server and mange the data in back ground or totaly in SAP via ABAP code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 15:42:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391965#M532021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T15:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: code to call url in abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391966#M532022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simply use the CALL_BROWSER function module in your ABAP Program. or&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call method cl_gui_frontend_services=&amp;gt;execute
  exporting
    document = 'https://www.sdn.sap.com'
  exceptions
    others   = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 15:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391966#M532022</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-07-26T15:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: code to call url in abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391967#M532023</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;Try with this program:&lt;/P&gt;&lt;P&gt;REPORT ZURL NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF URL_TABLE OCCURS 10,&lt;/P&gt;&lt;P&gt;L(25),&lt;/P&gt;&lt;P&gt;END OF URL_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;URL_TABLE-L = 'http://www.lycos.com'.APPEND URL_TABLE.&lt;/P&gt;&lt;P&gt;URL_TABLE-L = 'http://www.hotbot.com'.APPEND URL_TABLE.&lt;/P&gt;&lt;P&gt;URL_TABLE-L = 'http://www.sap.com'.APPEND URL_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT URL_TABLE.&lt;/P&gt;&lt;P&gt;  SKIP. FORMAT INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;  WRITE: / 'Single click on '.&lt;/P&gt;&lt;P&gt;  FORMAT HOTSPOT ON.FORMAT INTENSIFIED ON.&lt;/P&gt;&lt;P&gt;  WRITE: URL_TABLE. HIDE URL_TABLE.&lt;/P&gt;&lt;P&gt;  FORMAT HOTSPOT OFF.FORMAT INTENSIFIED OFF.&lt;/P&gt;&lt;P&gt;  WRITE: 'to go to', URL_TABLE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;CLEAR URL_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT URL_TABLE IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_EXECUTE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            program = 'C:\Program Files\Internet Explorer\IEXPLORE.EXE'&lt;/P&gt;&lt;P&gt;            commandline     = URL_TABLE&lt;/P&gt;&lt;P&gt;            INFORM         = ''&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            PROG_NOT_FOUND = 1.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;     WRITE:/ 'Cannot find program to open Internet'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&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;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 15:54:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391967#M532023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T15:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: code to call url in abap program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391968#M532024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i want to manage url command line in back ground without show in a browser, in ana abap module pool i would manage the possibility to run some command to a web server not in sap domain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i apologize if my technical language is not the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, simone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jul 2007 15:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-to-call-url-in-abap-program/m-p/2391968#M532024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-26T15:58:03Z</dc:date>
    </item>
  </channel>
</rss>

