<?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 Interesting - Fetching data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075623#M974502</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User will provide table name as parameter . And I have to compare data in that table in two systems. I can use RFC . But my problem is how do I declare table and write select query . Table name at run time is not known to me.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is above scenario posiible to code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert with ur suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2008 08:31:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-10T08:31:34Z</dc:date>
    <item>
      <title>Interesting - Fetching data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075623#M974502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User will provide table name as parameter . And I have to compare data in that table in two systems. I can use RFC . But my problem is how do I declare table and write select query . Table name at run time is not known to me.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is above scenario posiible to code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please revert with ur suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Madhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:31:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075623#M974502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T08:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting - Fetching data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075624#M974503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; use ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select from (parameter) .....into ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will be a dynamic selection with the table name coming at the runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;removed_by_moderator&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Jul 10, 2008 11:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075624#M974503</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2008-07-10T08:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting - Fetching data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075625#M974504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;more info...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; once you know the table name... u have a function module by which you can build an internal table. This will be a dynamic internal table. then in your select statement you can use that table. The select statement should be as in my earlier reply...&lt;/P&gt;&lt;P&gt;I belive a bit of refinement on your part for this soln. may solve your issue...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075625#M974504</guid>
      <dc:creator>madan_ullasa</dc:creator>
      <dc:date>2008-07-10T08:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting - Fetching data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075626#M974505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if with of table (or width of all fields to compare) &amp;lt;= 512 just use FM RFC_READ_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more space - here's how to declare workarea and table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: gs_wa type ref to data.
   data: gt_tab type ref to data.
   field-symbols &amp;lt;tab&amp;gt; type standard table.
   field-symbols &amp;lt;wa&amp;gt; type any.


     create data gs_wa type (p_table).
     create data gt_tab type standard table of (p_table).
     assign gs_wa -&amp;gt;* to &amp;lt;wa&amp;gt;.
     assign gt_tab -&amp;gt;* to &amp;lt;tab&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;HP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Holger Pakirnus on Jul 10, 2008 10:54 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Holger Pakirnus on Jul 10, 2008 10:58 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075626#M974505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-10T08:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Interesting - Fetching data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075627#M974506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         Create one RFC Enabled Function module with the importing parameter as the selection screen parameter and in the source code write the select statment to fetch the data and use this FM in the program.I hope Your Problem will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm regards,&lt;/P&gt;&lt;P&gt;Surendar Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2008 08:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interesting-fetching-data/m-p/4075627#M974506</guid>
      <dc:creator>suredarreddy_pulimamidi</dc:creator>
      <dc:date>2008-07-10T08:56:25Z</dc:date>
    </item>
  </channel>
</rss>

