<?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: table type in DATA definition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973140#M1800962</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;the usage of occurs clause is now obsolete. It is a standard table only. Occurs clause is mainly used for specifying the amount of memory to be used. Occurs 0 will allow to use 8 KB pages of memory at a time .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Suneesh Thampi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 06:17:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-06T06:17:51Z</dc:date>
    <item>
      <title>table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973137#M1800959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually, I use TYPES to define structure and use DATA xxx type standard table of&amp;nbsp; a certain type defined before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I optimize some old programs, the previous programmer wrote sth like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tab_g_item OCCURS 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maktx&amp;nbsp;&amp;nbsp; LIKE&amp;nbsp; makt-maktx,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fkimg&amp;nbsp;&amp;nbsp; LIKE&amp;nbsp; vbrp-fkimg,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P&gt;END OF tab_g_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what kind of table ' tab_g_item' is? Is it a standard table? what if I want to make it a sorted table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 05:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973137#M1800959</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2013-12-06T05:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973138#M1800960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is standard table. In order to define sorted table, first define type using TYPES and then declare internal table using data statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973138#M1800960</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2013-12-06T06:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973139#M1800961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;if you&amp;nbsp; use&lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt; &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;OCCURS 0 WITH HEADER LINE&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;then&lt;/SPAN&gt;&lt;STRONG style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt; tab_g_item &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;is an internal table.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt;OCCURS is obsolete command.&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;It defines an &lt;STRONG&gt;internal table&lt;/STRONG&gt; with memory allocated to store a specified number of rows of the internal table in the main memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;For more information&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;A __default_attr="310285" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="What does it mean: occurs 0 with header line" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973139#M1800961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-06T06:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973140#M1800962</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;the usage of occurs clause is now obsolete. It is a standard table only. Occurs clause is mainly used for specifying the amount of memory to be used. Occurs 0 will allow to use 8 KB pages of memory at a time .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;&lt;P&gt;Suneesh Thampi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973140#M1800962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-06T06:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973141#M1800963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if the &lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt;tab_g_item &lt;/STRONG&gt;&lt;/STRONG&gt;needs to be an internal table and a work area then it can be declared as with header line.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt;Occurs 0&lt;/STRONG&gt; just allots space of 8kb to internal table.&lt;STRONG style="color: #333333; font-size: 11.818181991577148px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973141#M1800963</guid>
      <dc:creator>rekha_manjunath2</dc:creator>
      <dc:date>2013-12-06T06:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973142#M1800964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Hi Ming,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Yes it is a standard table. To create a sorted table, you can write as below:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG&gt;TYPES&lt;/STRONG&gt;: BEGIN OF tab_g_item ,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maktx&amp;nbsp;&amp;nbsp; LIKE&amp;nbsp; makt-maktx,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fkimg&amp;nbsp;&amp;nbsp; LIKE&amp;nbsp; vbrp-fkimg,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;END OF tab_g_item.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;STRONG&gt;DATA: lt_g_item&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;type sorted table of tab_g_item.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333;"&gt;Ajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973142#M1800964</guid>
      <dc:creator>Ajit_K_Panda</dc:creator>
      <dc:date>2013-12-06T06:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973143#M1800965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so if tab_A is&amp;nbsp; a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA tab_B like table of tab_A.&lt;/P&gt;&lt;P&gt;DATA tab_B like tab_A occurs 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;both of the above two definition are correct, but the second is not preferred, &lt;SPAN style="font-size: 10pt;"&gt;right?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 07:06:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973143#M1800965</guid>
      <dc:creator>raffinkira</dc:creator>
      <dc:date>2013-12-06T07:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: table type in DATA definition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973144#M1800966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Occurs is obsolete and should not be used in new programs. If you are maintaining old programs, then it is a good idea to refactor without occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm now locking this thread, since it is answered, to prevent more people adding the same information you've already received!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 08:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-type-in-data-definition/m-p/9973144#M1800966</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2013-12-06T08:20:36Z</dc:date>
    </item>
  </channel>
</rss>

