<?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: RFC_READ_TABLE + non-unicode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005479#M1896709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we should be able to fetch the data on a field by field basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try one field at a time to understand how the FM accepts the input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as far as the casting statement is concerned try to check the sy-subrc value right after the statement and see if that helps you in anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2015 12:04:00 GMT</pubDate>
    <dc:creator>vamsixk</dc:creator>
    <dc:date>2015-04-22T12:04:00Z</dc:date>
    <item>
      <title>RFC_READ_TABLE + non-unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005476#M1896706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using RFC_READ_TABLE to get data from different R/3 systems. &lt;BR /&gt;There is no problem while getting data from Unicode systems. &lt;BR /&gt;But when I run the same query on t006 table with a non-unicode system, I am getting a sy-subrc as 7. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error occurs at type casting &lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;WORK &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&amp;lt;WA&amp;gt; CASTING &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;QUERY_TABLE&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&amp;nbsp; - line 166 of the FM. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;This error doent come when I am using table T006A. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;I suspect difference between T006 and T006A (unicode direction) is, T006 has field names as name1_name2. I suppose, '_' is the reason for above error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Please let me know how to correct the issue. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;I have searched for alternate FMs &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;lt;b&amp;gt;RFC_GET_TABLE_ENTRIES&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;TABLE_ENTRIES_GET_VIA_RFC&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;GET_TABLE_RFC&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;All of them seem to be unreleased by SAP. &lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;kindly share your expertise in resolving the issue. &lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Thanks and Regards, &lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Anil Supraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 11:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005476#M1896706</guid>
      <dc:creator>former_member202771</dc:creator>
      <dc:date>2015-04-21T11:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE + non-unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005477#M1896707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the T006 table has some domain for which the Casting operation may not be supported for some data types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i suspect that the casting operation might be failing for the field "TEMP_VALUE",&amp;nbsp; try excluding these suspect fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also please cross check the structure of the field in the internal table in which you are storing the data(when you are calling the FM) and the definition of the structure that is there in the target system that is causing this sy-subrc failure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there could be a mismatch between the structure definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if you require any further inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2015 12:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005477#M1896707</guid>
      <dc:creator>vamsixk</dc:creator>
      <dc:date>2015-04-21T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE + non-unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005478#M1896708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Type casting statement, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;WORK &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;TO &lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&amp;lt;WA&amp;gt; CASTING &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;QUERY_TABLE&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;.&amp;nbsp; - line 166 of the FM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;SPAN class="L0S55" style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/SPAN&gt; is not dependent on fields which we are passing. Only dependant variable is (QUERY_TABLE) which is T006 in our case. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Yes the error should be because of &lt;SPAN style="color: #333333; font-size: 12px;"&gt; "TEMP_VALUE" and other fields of format name1_name2. But passing required fields to FM is not helping. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Anil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 03:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005478#M1896708</guid>
      <dc:creator>former_member202771</dc:creator>
      <dc:date>2015-04-22T03:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE + non-unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005479#M1896709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we should be able to fetch the data on a field by field basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try one field at a time to understand how the FM accepts the input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as far as the casting statement is concerned try to check the sy-subrc value right after the statement and see if that helps you in anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 12:04:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005479#M1896709</guid>
      <dc:creator>vamsixk</dc:creator>
      <dc:date>2015-04-22T12:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE + non-unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005480#M1896710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No Vamsi. I have tried passing seperate fields. &lt;BR /&gt;It doesnt work with non-unicode systems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 12:11:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005480#M1896710</guid>
      <dc:creator>former_member202771</dc:creator>
      <dc:date>2015-04-22T12:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: RFC_READ_TABLE + non-unicode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005481#M1896711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A correction : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Error is not because of the highlighted in grey. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="background: silver;"&gt;Even for non-unicode system, it works for table which have field names like name1, name2 (eg. T006A) etc.. But fails for tables with field names like name1_name2 (T006-TEMP_VALUE).&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;It is because of below highlighted in yellow. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background: yellow;"&gt;We are unable to read table data for those table which have data type defined as float (FLTP).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background: yellow;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background: yellow;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; background: yellow;"&gt;Anil&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 07:12:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/rfc-read-table-non-unicode/m-p/11005481#M1896711</guid>
      <dc:creator>former_member202771</dc:creator>
      <dc:date>2015-04-27T07:12:20Z</dc:date>
    </item>
  </channel>
</rss>

