<?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: Webservice returns null values (Flex) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718678#M1297728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for answer but my problem didint solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My webservice can return normal values like integer or decimal and i can read it from flex.&lt;/P&gt;&lt;P&gt;but when i try to view tables, i always get null values BUT item count is true :=) i have 4 item in z table and 4 rows returns in array from webservice but NULL values :=).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't return structure as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;result	mx.utils.ObjectProxy (@211af29)	
	DEGER	1	
	GS_CUSTOMER	generated.webservices.ZCUSTOMERS (@22ce719)	
		CLIENT	null	
		ID	null	
		NAME	null	
	GT_CUSTOMER	mx.collections.ArrayCollection (@210cd01)	
		[inherited]	
		[0]	generated.webservices.ZCUSTOMERS (@22cef61)	
			CLIENT	null	
			ID	null	
			NAME	null	
		[1]	generated.webservices.ZCUSTOMERS (@22ced31)	
		[2]	generated.webservices.ZCUSTOMERS (@22cedd1)	
		[3]	generated.webservices.ZCUSTOMERS (@22cea11)	
		source	Array (@22687e9)	
	object	Object (@22ce8a9)	
	type	null	
	uid	"723117ED-66EC-C93B-9E66-C0FD4F01246C"	
	ZCUSTOMER_TT	generated.webservices.ZCUSTOMERS_TT (@22eb941)	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you use, when declaring variables ? &lt;/P&gt;&lt;P&gt;Like or type or ref to ? Can it be a problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my function export inteface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://img241.imageshack.us/img241/9258/screenhunter01jun082052.gif" target="test_blank"&gt;http://img241.imageshack.us/img241/9258/screenhunter01jun082052.gif&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: bilen cekic on Jun 8, 2009 8:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2009 17:54:17 GMT</pubDate>
    <dc:creator>bilen_cekic</dc:creator>
    <dc:date>2009-06-08T17:54:17Z</dc:date>
    <item>
      <title>Webservice returns null values (Flex)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718676#M1297726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I created a webservice in abap, &lt;/P&gt;&lt;P&gt;(a RFC and a Function Web Service).&lt;/P&gt;&lt;P&gt;It exports a table type and contains data from a Ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i request it from Flex, it returns rows, but they contain NULL values, why ?&lt;/P&gt;&lt;P&gt;I can request and display bapi webservices that comes with in SapNetweaver trial 7.1 but i cant display my own webservice.&lt;/P&gt;&lt;P&gt;Result like this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;result	generated.webservices.ZCUSTOMERS_TT (@2205981)	
	[inherited]	
	[0]	generated.webservices.ZCUSTOMERS (@2362c91)	
		CLIENT	null	
		ID	null	
		NAME	null	
	[1]	generated.webservices.ZCUSTOMERS (@23a4129)	
	[2]	generated.webservices.ZCUSTOMERS (@23a42e1)	
	[3]	generated.webservices.ZCUSTOMERS (@23a41c9)	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is true that there are 4 rows in table, but all client, id and name is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;why ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Jun 2009 12:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718676#M1297726</guid>
      <dc:creator>bilen_cekic</dc:creator>
      <dc:date>2009-06-07T12:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice returns null values (Flex)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718677#M1297727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bilen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As your application is running without any error that implies you might have kept all syntax fine.&lt;/P&gt;&lt;P&gt;Now what i'll suggest you after looking at your post plz check following things:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Test your RFC with some proper data for which it get's executed with success and gives output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Pass input parameters correctly to Flex application which are acceptable to RFC also.&lt;/P&gt;&lt;P&gt;    e.g. If you are passing DATE as input then pass it correct fashion YYYYMMDD which is expected from RFC as an input. In Flex application DateChooser might give you date with some different format like MM/DD/YYYY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. For more clearity keep sy-subrc check and populate corresponding Error Msg/Exception to get indication what went wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will help you surely.&lt;/P&gt;&lt;P&gt;For further clarification revert with some more details about your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 08:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718677#M1297727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-08T08:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice returns null values (Flex)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718678#M1297728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for answer but my problem didint solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My webservice can return normal values like integer or decimal and i can read it from flex.&lt;/P&gt;&lt;P&gt;but when i try to view tables, i always get null values BUT item count is true :=) i have 4 item in z table and 4 rows returns in array from webservice but NULL values :=).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't return structure as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;result	mx.utils.ObjectProxy (@211af29)	
	DEGER	1	
	GS_CUSTOMER	generated.webservices.ZCUSTOMERS (@22ce719)	
		CLIENT	null	
		ID	null	
		NAME	null	
	GT_CUSTOMER	mx.collections.ArrayCollection (@210cd01)	
		[inherited]	
		[0]	generated.webservices.ZCUSTOMERS (@22cef61)	
			CLIENT	null	
			ID	null	
			NAME	null	
		[1]	generated.webservices.ZCUSTOMERS (@22ced31)	
		[2]	generated.webservices.ZCUSTOMERS (@22cedd1)	
		[3]	generated.webservices.ZCUSTOMERS (@22cea11)	
		source	Array (@22687e9)	
	object	Object (@22ce8a9)	
	type	null	
	uid	"723117ED-66EC-C93B-9E66-C0FD4F01246C"	
	ZCUSTOMER_TT	generated.webservices.ZCUSTOMERS_TT (@22eb941)	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you use, when declaring variables ? &lt;/P&gt;&lt;P&gt;Like or type or ref to ? Can it be a problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my function export inteface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://img241.imageshack.us/img241/9258/screenhunter01jun082052.gif" target="test_blank"&gt;http://img241.imageshack.us/img241/9258/screenhunter01jun082052.gif&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: bilen cekic on Jun 8, 2009 8:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 17:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718678#M1297728</guid>
      <dc:creator>bilen_cekic</dc:creator>
      <dc:date>2009-06-08T17:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice returns null values (Flex)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718679#M1297729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bilen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is with your RFC only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should maintain 'table parameters' in "Tables" tab, not in "Export".&lt;/P&gt;&lt;P&gt;e.g. if associated type for ZCUSTOMER_TT and GS_CUSTOMER are structure or table then move them to "Tables" tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this is the only issue now to rectify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need further help on how to populate tables in flex datagrid then you can revert to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 05:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718679#M1297729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T05:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice returns null values (Flex)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718680#M1297730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;my GT_CUSTOMER is defined in tables section but it is referenced to a table , not a table type&lt;/P&gt;&lt;P&gt;but i will try other alternatevies :=) all possiblities on table section.&lt;/P&gt;&lt;P&gt;I will inform later :=)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 07:01:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718680#M1297730</guid>
      <dc:creator>bilen_cekic</dc:creator>
      <dc:date>2009-06-09T07:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Webservice returns null values (Flex)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718681#M1297731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bilen ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you find the solution? I have the same problem in Flex..How did you overcome this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Teşekkürler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2009 16:25:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/webservice-returns-null-values-flex/m-p/5718681#M1297731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-29T16:25:39Z</dc:date>
    </item>
  </channel>
</rss>

