<?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: Extended Program Check, TABLES statement obsolete in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689753#M1669834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Asshrith HG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use the statement TABLES, then an internal table with header line will get declared and sice internal tables with header lines are obsolete you are getting that error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested you can use the data element directly. Data element for that field is TABNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable of type TABNAME and use it in your program. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2012 09:43:01 GMT</pubDate>
    <dc:creator>Kartik2</dc:creator>
    <dc:date>2012-05-03T09:43:01Z</dc:date>
    <item>
      <title>Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689750#M1669831</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;I am using a field from "DD02L" in my parameters and therefore have declared the table using TABLES statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do an EPC on my program, it gives me the following under Programming Guidelines(Warnings) :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"TABLES statement (DD02L) is obsolete&lt;/P&gt;&lt;P&gt;Cannot be suppressed using a pragma or pseudo-comment"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the alternative to this statement?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working ECC 6 Ehp5.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689750#M1669831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-03T09:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689751#M1669832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why dont you use the data element of the table for your parameter?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689751#M1669832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-03T09:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689752#M1669833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If by parameters, you mean to say , selection screen parameters,why you need Tables Statement to define parameter. You can directly do it like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters p_tab type dd02l-tabname.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know if I understood your requirement incorrectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689752#M1669833</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-03T09:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689753#M1669834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Asshrith HG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use the statement TABLES, then an internal table with header line will get declared and sice internal tables with header lines are obsolete you are getting that error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As suggested you can use the data element directly. Data element for that field is TABNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable of type TABNAME and use it in your program. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689753#M1669834</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-05-03T09:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689754#M1669835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can direct refer to the Data Element of the field which you want to refer and accordingly you can adjust your Parameter declaration. For that you do not need to use TABLES statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table statement actually allows you to use a structure with the same name and hence it creates a conflict in a Obj Oriented scenario. Hence that statement is made Obsolete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689754#M1669835</guid>
      <dc:creator>former_member209818</dc:creator>
      <dc:date>2012-05-03T09:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689755#M1669836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TABLES statement is obsolete because it declares a work area of the same name as the DB table, thus leading to ambiguous code, similar topic as internal tables with header lines, also obsolete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better declare separate work areas for the relevant DB tables for the use in the SELECT statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 09:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689755#M1669836</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-05-03T09:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689756#M1669837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For parameters you don't need TABLES statement You can directly refer using TABLE-FIELDNAM or Data element name. LIke&lt;/P&gt;&lt;P&gt;parameters : p_matnr type matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are trying to create select option the you may create an auxilarry variable for the same.&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;data : gv_matnr type matnr.&lt;/P&gt;&lt;P&gt;select-options : so_matnr for gv_matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 10:05:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689756#M1669837</guid>
      <dc:creator>Private_Member_49934</dc:creator>
      <dc:date>2012-05-03T10:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689757#M1669838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TABLES should only be used when fields are used in a dynpro, else declare a workarea of type database name. (ex: DATA: vbap TYPE vbap.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 10:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689757#M1669838</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-05-03T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check, TABLES statement obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689758#M1669839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for your quick &amp;amp; valuable replies.&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/731/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 10:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-tables-statement-obsolete/m-p/8689758#M1669839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-03T10:18:01Z</dc:date>
    </item>
  </channel>
</rss>

