<?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 About the abap function CALL FUNCTION RFC_ READ_ TABLE DESTINATION failed to read other system data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726286#M2020128</link>
    <description>&lt;P&gt;it is successful to test the connection system at sm59&lt;/P&gt;
  &lt;P&gt;But use RFC_ READ_ TABLE query failed, and sy-subrc=7, p_dest value is target system&lt;/P&gt;
  &lt;P&gt;The code is as follows：&lt;/P&gt;
  &lt;P&gt; CALL FUNCTION 'RFC_READ_TABLE' DESTINATION p_dest&lt;/P&gt;
  &lt;P&gt; EXPORTING&lt;/P&gt;
  &lt;P&gt; query_table = p_tname&lt;/P&gt;
  &lt;P&gt; IMPORTING&lt;/P&gt;
  &lt;P&gt; lines_per_record = lv_lines&lt;/P&gt;
  &lt;P&gt; TABLES&lt;/P&gt;
  &lt;P&gt; options = lt_options&lt;/P&gt;
  &lt;P&gt; fields = lt_fields&lt;/P&gt;
  &lt;P&gt; data = lt_data&lt;/P&gt;
  &lt;P&gt; EXCEPTIONS&lt;/P&gt;
  &lt;P&gt; table_not_available = 1&lt;/P&gt;
  &lt;P&gt; table_without_data = 2&lt;/P&gt;
  &lt;P&gt; option_not_valid = 3&lt;/P&gt;
  &lt;P&gt; field_not_valid = 4&lt;/P&gt;
  &lt;P&gt; not_authorized = 5&lt;/P&gt;
  &lt;P&gt; data_buffer_exceeded = 6&lt;/P&gt;
  &lt;P&gt; OTHERS = 7.&lt;/P&gt;
  &lt;P&gt; IF sy-subrc EQ 7.&lt;/P&gt;
  &lt;P&gt; ENDIF.&lt;/P&gt;
  &lt;H1&gt;&lt;/H1&gt;</description>
    <pubDate>Mon, 13 Mar 2023 13:04:06 GMT</pubDate>
    <dc:creator>former_member1233701</dc:creator>
    <dc:date>2023-03-13T13:04:06Z</dc:date>
    <item>
      <title>About the abap function CALL FUNCTION RFC_ READ_ TABLE DESTINATION failed to read other system data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726286#M2020128</link>
      <description>&lt;P&gt;it is successful to test the connection system at sm59&lt;/P&gt;
  &lt;P&gt;But use RFC_ READ_ TABLE query failed, and sy-subrc=7, p_dest value is target system&lt;/P&gt;
  &lt;P&gt;The code is as follows：&lt;/P&gt;
  &lt;P&gt; CALL FUNCTION 'RFC_READ_TABLE' DESTINATION p_dest&lt;/P&gt;
  &lt;P&gt; EXPORTING&lt;/P&gt;
  &lt;P&gt; query_table = p_tname&lt;/P&gt;
  &lt;P&gt; IMPORTING&lt;/P&gt;
  &lt;P&gt; lines_per_record = lv_lines&lt;/P&gt;
  &lt;P&gt; TABLES&lt;/P&gt;
  &lt;P&gt; options = lt_options&lt;/P&gt;
  &lt;P&gt; fields = lt_fields&lt;/P&gt;
  &lt;P&gt; data = lt_data&lt;/P&gt;
  &lt;P&gt; EXCEPTIONS&lt;/P&gt;
  &lt;P&gt; table_not_available = 1&lt;/P&gt;
  &lt;P&gt; table_without_data = 2&lt;/P&gt;
  &lt;P&gt; option_not_valid = 3&lt;/P&gt;
  &lt;P&gt; field_not_valid = 4&lt;/P&gt;
  &lt;P&gt; not_authorized = 5&lt;/P&gt;
  &lt;P&gt; data_buffer_exceeded = 6&lt;/P&gt;
  &lt;P&gt; OTHERS = 7.&lt;/P&gt;
  &lt;P&gt; IF sy-subrc EQ 7.&lt;/P&gt;
  &lt;P&gt; ENDIF.&lt;/P&gt;
  &lt;H1&gt;&lt;/H1&gt;</description>
      <pubDate>Mon, 13 Mar 2023 13:04:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726286#M2020128</guid>
      <dc:creator>former_member1233701</dc:creator>
      <dc:date>2023-03-13T13:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: About the abap function CALL FUNCTION RFC_ READ_ TABLE DESTINATION failed to read other system data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726287#M2020129</link>
      <description>&lt;P&gt;During a remote function call, you must add TWO exceptions - check at  &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapcall_function_destination_para.htm"&gt;CALL FUNCTION DESTINATION, parameter_list&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;      [EXCEPTIONS [exc1 = n1 exc2 = n2 ...]
                  [system_failure        = ns [MESSAGE smess]]
                  [communication_failure = nc [MESSAGE cmess]]
                  [OTHERS = n_others]] }

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I suppose that your 'OTHERS' exception will be handled with a correct error message text.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NB: p_dest is not a system name but a RFC destination, managed within &lt;A href="https://help.sap.com/docs/search?q=SM59"&gt;transaction SM59&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 09:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726287#M2020129</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2023-03-14T09:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: About the abap function CALL FUNCTION RFC_ READ_ TABLE DESTINATION failed to read other system data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726288#M2020130</link>
      <description>&lt;P&gt;Please edit your question: select your ABAP code and click the button CODE so that it's nicely displayed and we can read it easily.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Mar 2023 11:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-the-abap-function-call-function-rfc-read-table-destination-failed-to/m-p/12726288#M2020130</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-03-14T11:20:06Z</dc:date>
    </item>
  </channel>
</rss>

