<?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: TABLES statement in report program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403958#M817388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want a workarea for the tables which you are using with in the Program then use the TABLES statment otherwise do not use these statments, if you are nor using the workarea then you are wating some memory of the SAP using these TABLES statment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Feb 2008 09:47:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-11T09:47:34Z</dc:date>
    <item>
      <title>TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403956#M817386</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;Is there any performance issue in using TABLES statement in report program? Because I have got an review point from QA insisting me to avoid TABLES statement. Is it recommended by SAP to avoid TABLES statement in report program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balaji Viswanath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 09:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403956#M817386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T09:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403957#M817387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use TABLE statement it will provide the work area of the given table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: Decalre  any fields of table in slection scereen &lt;/P&gt;&lt;P&gt;without declarin g the tabel name in TAble statement.It will give error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_matnr LIKE MARA-matnr. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: mara.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS : s_matnr LIKE MARA-matnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It means it will occupy some area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 09:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403957#M817387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T09:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403958#M817388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want a workarea for the tables which you are using with in the Program then use the TABLES statment otherwise do not use these statments, if you are nor using the workarea then you are wating some memory of the SAP using these TABLES statment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 09:47:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403958#M817388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T09:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403959#M817389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no performance issues related to using the TABLES statement; however, it is not allowed in an OOP context. It's reccommended to use other constructs (like TYPE). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2008 15:29:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403959#M817389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-11T15:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403960#M817390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Rob pointed out, it's a standards issue (even if you don't use ABAP objects you still want to avoid using it) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do an F1 lookup on the TABLES command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"You should only use the TABLES statement in an ABAP program where it is absolutely necessary, namely to transport fields with an ABAP Dictionary reference between screens and an ABAP program, or to transport data between a logical database and an executable program."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should only use the TABLES command for select-options or dialog programming.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 09:32:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403960#M817390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T09:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403961#M817391</link>
      <description>&lt;P&gt;I've found a curious use-case for TABLES statement . &lt;/P&gt;&lt;P&gt;Although important while using selection-screen , it is a waste of memory otherwise. But recently I enocuntered an error while moving a TR to QA . In the import log it was giving a syntax error at a particular line in the code , which was a SELECT query . But if a program has syntax error it shouldn't get activated &amp;amp; hence not assigned to a TR . So , it took me some to understand that our QA &amp;amp; DEV system are out of sync &amp;amp; thus the dictionary object BSET I was using in my select statement somehow was different in QA &amp;amp; thus it needed to be loaded in program memory to be transported .&lt;/P&gt;&lt;P&gt;So I assigned BSET to TABLES statement &amp;amp; the program was transferred successfully . I'm still not sure how it worked but it happened regardless. Does anyone have a better understanding for this ? &lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 12:09:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403961#M817391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-02-25T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: TABLES statement in report program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403962#M817392</link>
      <description>&lt;P&gt;Please ask a new question and add a link to this page. People here are all "former members", and the discussion is 12 years old.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2020 14:26:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tables-statement-in-report-program/m-p/3403962#M817392</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-02-25T14:26:02Z</dc:date>
    </item>
  </channel>
</rss>

