<?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: Binding Data through function module in adobe to display charts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225422#M769312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;option 1. Consume the RFC as a webservice from flex as told in this thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="673385"&gt;&lt;/A&gt; (its your thread, you should atleast say thanks if that helped you and close that thread)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options 2: write a BSP which returns the data in xml format and then use mx:HTTPService on the flex side to get the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jan 2008 09:10:52 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2008-01-12T09:10:52Z</dc:date>
    <item>
      <title>Binding Data through function module in adobe to display charts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225421#M769311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the requirement :-&lt;/P&gt;&lt;P&gt;Through function module output i have to display the chart.&lt;/P&gt;&lt;P&gt;For ex:-In sales order transaction there is a field called status.For every order there is status (open, complete, inprocess). Display the chart based on the order status that how many open, complete and inprocess are there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2008 06:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225421#M769311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-12T06:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Binding Data through function module in adobe to display charts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225422#M769312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;option 1. Consume the RFC as a webservice from flex as told in this thread&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="673385"&gt;&lt;/A&gt; (its your thread, you should atleast say thanks if that helped you and close that thread)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;options 2: write a BSP which returns the data in xml format and then use mx:HTTPService on the flex side to get the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2008 09:10:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225422#M769312</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2008-01-12T09:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Binding Data through function module in adobe to display charts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225423#M769313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;continuing the above option just write a logic by comparing the strings in XML data(xml data handles acts as dataprovider for comparing strings) and increase the count.Finally handle the count in array and take that array as dataprovider to chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 15:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225423#M769313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Binding Data through function module in adobe to display charts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225424#M769314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As i said continuing with above steps handle data in XML object (here in code xmldata).then compare the status you need with xmldata and take status count.see the code&lt;/P&gt;&lt;P&gt;Finally this array can useful for chart.&lt;/P&gt;&lt;P&gt;[Bindable] public var StatusArray:ArrayCollection = new ArrayCollection();&lt;/P&gt;&lt;P&gt;public function getChartValueOfOrder():void{&lt;/P&gt;&lt;P&gt;	 					var openVal:Number = 0;&lt;/P&gt;&lt;P&gt;	 					var completeVal:Number = 0;&lt;/P&gt;&lt;P&gt;	 					var inprocessVal:Number = 0;&lt;/P&gt;&lt;P&gt;StatusArray.removeAll();&lt;/P&gt;&lt;P&gt;for(var i:int= 0 ;i&amp;lt;xmldata.dataProvider.length;i++){&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	if(xmldata.dataProvider&amp;lt;i&amp;gt;.overAllStatus.toString() == 'open'){&lt;/P&gt;&lt;P&gt;		openVal++;&lt;/P&gt;&lt;P&gt;	}	&lt;/P&gt;&lt;P&gt;	else if(xmldata.dataProvider&amp;lt;i&amp;gt;.overAllStatus.toString() == 'complete'){&lt;/P&gt;&lt;P&gt;		completeVal++;&lt;/P&gt;&lt;P&gt;	}&lt;/P&gt;&lt;P&gt;	 else if(xmldata.dataProvider&amp;lt;i&amp;gt;.overAllStatus.toString() == 'inprocess'){&lt;/P&gt;&lt;P&gt;	 	inprocessVal++;&lt;/P&gt;&lt;P&gt;	}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var objStatus:Object = &lt;SPAN __jive_macro_name="Status"&gt;&lt;/SPAN&gt; ; &lt;/P&gt;&lt;P&gt;	 			StatusArray.addItem(objStatus);	&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.i hope this help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 15:08:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225424#M769314</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T15:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Binding Data through function module in adobe to display charts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225425#M769315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to provide a bit more color,  a more actionscript way of doing this is to use E4X:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;openVal = (xmldata.dataProvider.(overAllStatus == 'open')).length;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some info about E4X, if you are doing lots of XML parsing with actionscript knowing how to use E4X will save you tons of time:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.partlyhuman.com/blog/roger/as3-e4x-rundown" target="test_blank"&gt;http://www.partlyhuman.com/blog/roger/as3-e4x-rundown&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 16:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/binding-data-through-function-module-in-adobe-to-display-charts/m-p/3225425#M769315</guid>
      <dc:creator>former_member10945</dc:creator>
      <dc:date>2008-05-02T16:18:32Z</dc:date>
    </item>
  </channel>
</rss>

