<?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: Setting &amp;quot;sap-client&amp;quot; parameter in &amp;lt;mx:HTTPService&amp;gt; object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827469#M1129588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan, worked a treat!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2008 16:34:45 GMT</pubDate>
    <dc:creator>GrahamRobbo</dc:creator>
    <dc:date>2008-11-18T16:34:45Z</dc:date>
    <item>
      <title>Setting "sap-client" parameter in &lt;mx:HTTPService&gt; object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827467#M1129586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problems setting the "sap-client" parameter on a HTTPService object due to the "-" in the parameter name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I do it like...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;mx:HTTPService id="vmsplan" url="http://mysaphost.domain.com/sap/bc/bsp/sap/yvms1/vmsdata.xml"&amp;gt;
	&amp;lt;mx:request&amp;gt;
		&amp;lt;sap-client&amp;gt;410&amp;lt;/sap-client&amp;gt;
	&amp;lt;/mx:request&amp;gt;
&amp;lt;/mx:HTTPService&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;... I get the compile time error&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"1084: Syntax error: expecting colon before minus"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If I do it in ActionScript like this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;				var parameters:Object = new Object;
				parameters.sap-client = "410";
				vmsplan.request = parameters;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;...the compile time error is...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;"1050: Cannot assign to a non-reference value."&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Can anyone help me with this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Graham Robbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 16:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827467#M1129586</guid>
      <dc:creator>GrahamRobbo</dc:creator>
      <dc:date>2008-11-18T16:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setting "sap-client" parameter in &lt;mx:HTTPService&gt; object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827468#M1129587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without running it you should be able to do the actionscript one like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;parameters["sap-client"] = 4.10;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Object type objects in the actionscript sense are dynamic and you can think of their properties as nothing more then a dictionary which you can edit freely.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 16:25:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827468#M1129587</guid>
      <dc:creator>former_member10945</dc:creator>
      <dc:date>2008-11-18T16:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Setting "sap-client" parameter in &lt;mx:HTTPService&gt; object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827469#M1129588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Dan, worked a treat!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2008 16:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/setting-quot-sap-client-quot-parameter-in-lt-mx-httpservice-gt-object/m-p/4827469#M1129588</guid>
      <dc:creator>GrahamRobbo</dc:creator>
      <dc:date>2008-11-18T16:34:45Z</dc:date>
    </item>
  </channel>
</rss>

