<?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: Function module for DB records in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637837#M1571891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM "FC_READ_TABLE" and then GUI_DOWNLOAD. This works without any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read data from APO table /SAPAPO/RBA03&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'RFC_READ_TABLE'&lt;/P&gt;&lt;P&gt;    DESTINATION gv_aposys                 " RFC Destination APO&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      query_table          = c_apo_rba03    " '/SAPAPO/RBA03'&lt;/P&gt;&lt;P&gt;      delimiter            = '|'&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Feb 2011 16:10:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-02-15T16:10:08Z</dc:date>
    <item>
      <title>Function module for DB records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637835#M1571889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt; I have a small question. I am trying to get a function module and use it to get all the entries in db table into &lt;/P&gt;&lt;P&gt;an internal table. I got a function module called 'RFC_GET_TABLE_ENTRIES'.           &lt;/P&gt;&lt;P&gt;I put my db table into internal table through this module . But when I am trying to download using function module &lt;/P&gt;&lt;P&gt;gui_download, I am saving it into a text file in a given path in my work station. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I download it, I see in my text file with only 2 columns of values and rest all are showing  "*###&amp;amp;^^" values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking if anyone of you could help me know any good function module which could help me.&lt;/P&gt;&lt;P&gt;Is it the problem of my function module or internal table? &lt;/P&gt;&lt;P&gt;I have declared my internal table as "val(400) type c". Is this what is creating problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please get me some solution to this one. I will really appreciate it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you folks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 21:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637835#M1571889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-11T21:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for DB records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637836#M1571890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I have declared my internal table as "val(400) type c". Is this what is creating problem? &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Partly - you have to parse this table and move individual fields to another work area that has the same structure as the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Feb 2011 21:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637836#M1571890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-11T21:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for DB records</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637837#M1571891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM "FC_READ_TABLE" and then GUI_DOWNLOAD. This works without any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read data from APO table /SAPAPO/RBA03&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'RFC_READ_TABLE'&lt;/P&gt;&lt;P&gt;    DESTINATION gv_aposys                 " RFC Destination APO&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      query_table          = c_apo_rba03    " '/SAPAPO/RBA03'&lt;/P&gt;&lt;P&gt;      delimiter            = '|'&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 16:10:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-db-records/m-p/7637837#M1571891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-15T16:10:08Z</dc:date>
    </item>
  </channel>
</rss>

