<?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: Post a File to a web server using HTTP_POST in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481557#M225246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sample usage:&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HTTP_POST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ABSOLUTE_URI                = IM_OFX_CONTROL_DATA-ADDRESS&lt;/P&gt;&lt;P&gt;      REQUEST_ENTITY_BODY_LENGTH  = RESPONSE_ENTITY_BODY_LENGTH&lt;/P&gt;&lt;P&gt;      RFC_DESTINATION             = IM_OFX_CONTROL_DATA-HTTP_RFCDEST&lt;/P&gt;&lt;P&gt;      USER                        = IM_OFX_CONTROL_DATA-HTTP_USER&lt;/P&gt;&lt;P&gt;      PASSWORD                    = IM_OFX_CONTROL_DATA-HTTP_PASSWORD&lt;/P&gt;&lt;P&gt;      BLANKSTOCRLF                = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      STATUS_CODE                 = STATUS&lt;/P&gt;&lt;P&gt;      STATUS_TEXT                 = STATUS_TEXT&lt;/P&gt;&lt;P&gt;      RESPONSE_ENTITY_BODY_LENGTH = RLENGTH&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      REQUEST_ENTITY_BODY         = LT_REQUEST&lt;/P&gt;&lt;P&gt;      RESPONSE_ENTITY_BODY        = RESPONSE&lt;/P&gt;&lt;P&gt;      RESPONSE_HEADERS            = LT_RESPONSE_HEADERS&lt;/P&gt;&lt;P&gt;      REQUEST_HEADERS             = LT_HTTP_HEADERS&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS                      = 1.&lt;/P&gt;&lt;P&gt;Refer the programs:&lt;/P&gt;&lt;P&gt;LFPIFF02             &lt;/P&gt;&lt;P&gt;LOFXALSU04           &lt;/P&gt;&lt;P&gt;LPRGN_URL_RESPONSEU01&lt;/P&gt;&lt;P&gt;LSBCCU01             &lt;/P&gt;&lt;P&gt;LSFTPU09             &lt;/P&gt;&lt;P&gt;for some idea.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Aug 2006 15:33:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-30T15:33:13Z</dc:date>
    <item>
      <title>Post a File to a web server using HTTP_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481556#M225245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;I have to generate a program to post a file ".TXT" to a web server using a HTTP POST with multipart form and a couple of variables (user, password).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was investigating and I found that I can do it using SAPHTTP but I dont know how to work with the FM HTTP_POST. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have a sample code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ariel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 15:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481556#M225245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T15:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Post a File to a web server using HTTP_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481557#M225246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sample usage:&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'HTTP_POST'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      ABSOLUTE_URI                = IM_OFX_CONTROL_DATA-ADDRESS&lt;/P&gt;&lt;P&gt;      REQUEST_ENTITY_BODY_LENGTH  = RESPONSE_ENTITY_BODY_LENGTH&lt;/P&gt;&lt;P&gt;      RFC_DESTINATION             = IM_OFX_CONTROL_DATA-HTTP_RFCDEST&lt;/P&gt;&lt;P&gt;      USER                        = IM_OFX_CONTROL_DATA-HTTP_USER&lt;/P&gt;&lt;P&gt;      PASSWORD                    = IM_OFX_CONTROL_DATA-HTTP_PASSWORD&lt;/P&gt;&lt;P&gt;      BLANKSTOCRLF                = 'X'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      STATUS_CODE                 = STATUS&lt;/P&gt;&lt;P&gt;      STATUS_TEXT                 = STATUS_TEXT&lt;/P&gt;&lt;P&gt;      RESPONSE_ENTITY_BODY_LENGTH = RLENGTH&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      REQUEST_ENTITY_BODY         = LT_REQUEST&lt;/P&gt;&lt;P&gt;      RESPONSE_ENTITY_BODY        = RESPONSE&lt;/P&gt;&lt;P&gt;      RESPONSE_HEADERS            = LT_RESPONSE_HEADERS&lt;/P&gt;&lt;P&gt;      REQUEST_HEADERS             = LT_HTTP_HEADERS&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS                      = 1.&lt;/P&gt;&lt;P&gt;Refer the programs:&lt;/P&gt;&lt;P&gt;LFPIFF02             &lt;/P&gt;&lt;P&gt;LOFXALSU04           &lt;/P&gt;&lt;P&gt;LPRGN_URL_RESPONSEU01&lt;/P&gt;&lt;P&gt;LSBCCU01             &lt;/P&gt;&lt;P&gt;LSFTPU09             &lt;/P&gt;&lt;P&gt;for some idea.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Aug 2006 15:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481557#M225246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-30T15:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Post a File to a web server using HTTP_POST</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481558#M225247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you are on was6.10 or above use class cl_http_client&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demo program for the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSHTTP01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else you can use HTTP_POST / HTTP_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to pass proper http headers in REQUEST_HEADERS tables parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RSHTTP20 &lt;/P&gt;&lt;P&gt;RSHTTP70 &lt;/P&gt;&lt;P&gt;RSHTTP90 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Sep 2006 07:15:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/post-a-file-to-a-web-server-using-http-post/m-p/1481558#M225247</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-09-03T07:15:28Z</dc:date>
    </item>
  </channel>
</rss>

