<?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: http data from report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252444#M1213445</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wf_string = 'http://www.google.com'.
  CALL METHOD cl_http_client=&amp;gt;create_by_url
    EXPORTING
      url                = wf_string
    IMPORTING
      client             = http_client
    EXCEPTIONS
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      OTHERS             = 4.

  CALL METHOD http_client-&amp;gt;send
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2.

  CALL METHOD http_client-&amp;gt;receive
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2
      http_processing_failed     = 3.
  CLEAR result .
  result = http_client-&amp;gt;response-&amp;gt;get_cdata( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2009 13:38:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-19T13:38:04Z</dc:date>
    <item>
      <title>http data from report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252442#M1213443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to create a very simple report that&lt;/P&gt;&lt;P&gt;1) takes as input the url of a web site&lt;/P&gt;&lt;P&gt;2) open an http connection to the site taking its html&lt;/P&gt;&lt;P&gt;3) print the html as proof of hit&lt;/P&gt;&lt;P&gt;I want to do it the SAP server and not the GUI with fm like call_browser. What I have to do exactly if I want my sap server open an http connection to an external url.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 11:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252442#M1213443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-23T11:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: http data from report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252443#M1213444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the same problem too,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanna open a connection with an external link to test if the server is correctly configured to go outside&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyone can help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2009 13:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252443#M1213444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-23T13:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: http data from report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252444#M1213445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solved:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wf_string = 'http://www.google.com'.
  CALL METHOD cl_http_client=&amp;gt;create_by_url
    EXPORTING
      url                = wf_string
    IMPORTING
      client             = http_client
    EXCEPTIONS
      argument_not_found = 1
      plugin_not_active  = 2
      internal_error     = 3
      OTHERS             = 4.

  CALL METHOD http_client-&amp;gt;send
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2.

  CALL METHOD http_client-&amp;gt;receive
    EXCEPTIONS
      http_communication_failure = 1
      http_invalid_state         = 2
      http_processing_failed     = 3.
  CLEAR result .
  result = http_client-&amp;gt;response-&amp;gt;get_cdata( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 13:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-data-from-report/m-p/5252444#M1213445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T13:38:04Z</dc:date>
    </item>
  </channel>
</rss>

