<?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: What does this mean in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711018#M893420</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 of Occurs - If you use the OCCURS parameter, the value of the INITIAL SIZE of the table is returned to the variable &amp;lt;n&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data :  Begin of ITAB occurs 0,

 

                        End of ITAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs or Initial Size &amp;#150; to specify the initial amount of memory that should be assigned to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Yes, we can change the occurs value in program but output remains the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2008 10:27:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-28T10:27:39Z</dc:date>
    <item>
      <title>What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711016#M893418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*DATA:BEGIN OF it_data OCCURS 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does occurs 0 mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711016#M893418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711017#M893419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The OCCURS &amp;lt;n&amp;gt; signifies the compiler that the declaration is for an internal table....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:26:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711017#M893419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711018#M893420</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 of Occurs - If you use the OCCURS parameter, the value of the INITIAL SIZE of the table is returned to the variable &amp;lt;n&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data :  Begin of ITAB occurs 0,

 

                        End of ITAB.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Occurs or Initial Size &amp;#150; to specify the initial amount of memory that should be assigned to the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Yes, we can change the occurs value in program but output remains the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:27:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711018#M893420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711019#M893421</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;&lt;/P&gt;&lt;P&gt;When we use Occurs 0 no memory will get allocated to that internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we use Occurs 1 reserved the memory for one record.If you add more records than occurs number in Both cases memory will get incresed automatically.Occurs with number we will use only when we total number of records to be stored.  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:28:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711019#M893421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711020#M893422</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;OCCURS addition is generally used to reserve memory for the internal table corresponding to those many rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of Occurs 0, it only means that the data declared before occurs word is going to be an internal table, with no pre-reserved memory space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It DOES NOT mean that the table cannot have any rows. The internal table so declared can have any number of rows appended (upto the max limit of an internal table, ofcourse).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if this helped.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pranjal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711020#M893422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711021#M893423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This creates an internal table with header line and allocates &lt;/P&gt;&lt;P&gt;8KB of memory(space) to the internal table ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:28:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711021#M893423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711022#M893424</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;occurs 0 will create a page of 8kb..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REWARD IF USEFUL&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711022#M893424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711023#M893425</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;by using this, you can store the records in the Internal table, If you give Occues 0 then we are giving ful space(8kb) to Internal table, if you give occurs 5, then you are assiging less space, this is very usefull for large amount of data, if the total no of records in the internal table execced the 8kb, then the system automatically assign 8kb space again, so if you are dealing with small amount of data in the internal table, then make use of this occurs N, so you won't get any memero related problems&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this helps, Do reward.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711023#M893425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711024#M893426</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;Suppose I write Occurs 4 ,then it wud mean whenever an internal table is falling short of rows , 4 new rows will get added to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but there is one problem, suppose I have 5 records..then 4 will get stored in one go and next time 4 more rows will be added however there is a requirement of only one extra row, so our &lt;STRONG&gt;memory is wasted&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the reason we always write OCCURS 0 which means whenever internal table is falling short of rows add only the rows required and hence this &lt;STRONG&gt;saves memory&lt;/STRONG&gt;.. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Revert back if u have doubts...&lt;/P&gt;&lt;P&gt;Please reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711024#M893426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711025#M893427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DATA BEGIN OF itab OCCURS n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data object n that has to be specified as a numeric literal or numeric constant determines the initial memory requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vibha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the useful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:32:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711025#M893427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711026#M893428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you write OCCURS 0. the ABAP interpreter assigns &lt;STRONG&gt;8kb memory in application server&lt;/STRONG&gt; for that particular internal table,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no other concept likfe OCCURS 1 , OCCURS 2 as people say that there u can store only one row in internal table,.,,&lt;/P&gt;&lt;P&gt;This thought is completely wrong....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711026#M893428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711027#M893429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dilip,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;occurs 0 means a internal table will be allocated 8kb of &lt;/P&gt;&lt;P&gt;memory initially.if it needs more then again 8 kb of is &lt;/P&gt;&lt;P&gt;allocated to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 10:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711027#M893429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T10:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: What does this mean</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711028#M893430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It just deals with the memory and when u write occurs 0 it means the memory allocated for ur structure declaration is 8kb, according to ur records u can increase ur memory size.&lt;/P&gt;&lt;P&gt;And when u declare ur internal table with Begin OF keyword that indicates with Header LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 11:21:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-does-this-mean/m-p/3711028#M893430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T11:21:45Z</dc:date>
    </item>
  </channel>
</rss>

