<?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 HTTP Parameter Error in method SET_FORM_FIELD in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875271#M1323959</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 have to use a web service with 3 obligatory parameters . User , password and File. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no problems with the two first parameters passing them with the class &lt;/P&gt;&lt;P&gt;cl_http_client method -&amp;gt;request-&amp;gt;set_form_field. and this values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i cant pass the third parameter (File) using the same mode. &lt;/P&gt;&lt;P&gt;i tried: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD http_client-&amp;gt;request-&amp;gt;set_form_field &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;name = 'file' &lt;/P&gt;&lt;P&gt;value = 'Path source of my file'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i receive an error response from the web service . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2009 15:29:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-23T15:29:21Z</dc:date>
    <item>
      <title>HTTP Parameter Error in method SET_FORM_FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875271#M1323959</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 have to use a web service with 3 obligatory parameters . User , password and File. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no problems with the two first parameters passing them with the class &lt;/P&gt;&lt;P&gt;cl_http_client method -&amp;gt;request-&amp;gt;set_form_field. and this values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However i cant pass the third parameter (File) using the same mode. &lt;/P&gt;&lt;P&gt;i tried: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD http_client-&amp;gt;request-&amp;gt;set_form_field &lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;name = 'file' &lt;/P&gt;&lt;P&gt;value = 'Path source of my file'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i receive an error response from the web service . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2009 15:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875271#M1323959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-23T15:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Parameter Error in method SET_FORM_FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875272#M1323960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pablo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Were you be able to pass file parameter using set_form_field method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem. I can't pass the parameter insider a multipart because the web site says that the parameter is missing, so I need to pass it using that method, but in case of parameters type file, I don't know what to pass as value..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 16:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875272#M1323960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-24T16:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Parameter Error in method SET_FORM_FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875273#M1323961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope this thread helps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/276121"&gt;http://scn.sap.com/thread/276121&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/3257799"&gt;http://scn.sap.com/thread/3257799&lt;/A&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>Wed, 24 Jul 2013 17:08:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875273#M1323961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-24T17:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP Parameter Error in method SET_FORM_FIELD</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875274#M1323962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks boby.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I tried both solutions but I still get the error.&amp;nbsp; I can't use just function module HTTP_POST because it's an https ssl call, so I created a Http destinaton linked to the certificate, etc., to use with method cl_http_client-&amp;gt; create_by_destination.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use method add_multipart, the web site doesn't recognize the parameters there. So the only method that doen't give an error is the method set_form_field, but my problem is how to send a value to a parameter type file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2013 17:42:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/http-parameter-error-in-method-set-form-field/m-p/5875274#M1323962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-24T17:42:53Z</dc:date>
    </item>
  </channel>
</rss>

