<?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: Obsolete Statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689314#M888355</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;Table declaration (old method)&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tab_ekpo OCCURS 0,             "itab with header line&lt;/P&gt;&lt;P&gt;  ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;  ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt; END OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Table declaration (new method)     "USE THIS WAY!!!&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_ekpo,&lt;/P&gt;&lt;P&gt;  ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;  ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt; END OF t_ekpo.&lt;/P&gt;&lt;P&gt;DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,      "itab&lt;/P&gt;&lt;P&gt;      wa_ekpo TYPE t_ekpo.                    "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: it_datatab LIKE tab_ekpo OCCURS 0,      "old method&lt;/P&gt;&lt;P&gt;      wa_datatab LIKE LINE OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;adding additional fields&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF t_repdata.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE tab_ekpo.  "could include EKKO table itself!!&lt;/P&gt;&lt;P&gt;TYPES: bukrs  TYPE ekpo-werks,&lt;/P&gt;&lt;P&gt;       bstyp  TYPE ekpo-bukrs.&lt;/P&gt;&lt;P&gt;TYPES: END OF t_repdata.&lt;/P&gt;&lt;P&gt;DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,   "itab&lt;/P&gt;&lt;P&gt;      wa_repdata TYPE t_repdata.                 "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Helpfull,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2008 11:19:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-21T11:19:16Z</dc:date>
    <item>
      <title>Obsolete Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689311#M888352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why 'Occurs 0' is obsolete and what is the reason we declare few statements as obsolete?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:05:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689311#M888352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Obsolete Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689312#M888353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Radha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare it in the below fashion ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Obsolete one&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 
Data: Begin of i_tab occurs 0.
fld(1),
fld(2),
End of i_tab.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Changed one&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types: Begin of ty_tab,
fld(1),
fld(2),
End of ty_tab.

data: t_itab type standard table of ty_tab.
data: st_itab type of ty_tab.
 &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:10:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689312#M888353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Obsolete Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689313#M888354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We know that occurs statement defines internal table size...if you declare occurs 0..the system allocates 8kb pages of memory to internal table..but if you have less number records then paging could increase and memory wasted..this may cause performance issue...thats why occurs 0 is a obsolete statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689313#M888354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Obsolete Statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689314#M888355</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;Table declaration (old method)&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF tab_ekpo OCCURS 0,             "itab with header line&lt;/P&gt;&lt;P&gt;  ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;  ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt; END OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Table declaration (new method)     "USE THIS WAY!!!&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_ekpo,&lt;/P&gt;&lt;P&gt;  ebeln TYPE ekpo-ebeln,&lt;/P&gt;&lt;P&gt;  ebelp TYPE ekpo-ebelp,&lt;/P&gt;&lt;P&gt; END OF t_ekpo.&lt;/P&gt;&lt;P&gt;DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,      "itab&lt;/P&gt;&lt;P&gt;      wa_ekpo TYPE t_ekpo.                    "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: it_datatab LIKE tab_ekpo OCCURS 0,      "old method&lt;/P&gt;&lt;P&gt;      wa_datatab LIKE LINE OF tab_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Build internal table and work area from existing internal table,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;adding additional fields&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF t_repdata.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE tab_ekpo.  "could include EKKO table itself!!&lt;/P&gt;&lt;P&gt;TYPES: bukrs  TYPE ekpo-werks,&lt;/P&gt;&lt;P&gt;       bstyp  TYPE ekpo-bukrs.&lt;/P&gt;&lt;P&gt;TYPES: END OF t_repdata.&lt;/P&gt;&lt;P&gt;DATA: it_repdata TYPE STANDARD TABLE OF t_repdata INITIAL SIZE 0,   "itab&lt;/P&gt;&lt;P&gt;      wa_repdata TYPE t_repdata.                 "work area (header line)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward If Helpfull,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 11:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/obsolete-statement/m-p/3689314#M888355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-21T11:19:16Z</dc:date>
    </item>
  </channel>
</rss>

