<?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: Initial check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083435#M976373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI jeetu,&lt;/P&gt;&lt;P&gt;there is a simple rule if any internal table created in sap is having an header line,then itab[] would always refer to internal table body contents and itab without square brackets([]) would refer to the header line contents.&lt;/P&gt;&lt;P&gt;thnks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2008 13:04:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-03T13:04:18Z</dc:date>
    <item>
      <title>Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083426#M976364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is &lt;/P&gt;&lt;P&gt;if not itab is initial same as if not itab[] is initial?&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;Jeetu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:38:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083426#M976364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T05:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083427#M976365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;itab means header line of internal table and itab[] means body of internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:40:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083427#M976365</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2008-07-02T05:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083428#M976366</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;STRONG&gt;itab&lt;/STRONG&gt; - header line of internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;itab[]&lt;/STRONG&gt; - Body of internal table&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;&lt;/P&gt;&lt;P&gt;V.balaji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083428#M976366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T05:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083429#M976367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dey r not same...first statement 'll only check the header line which is simplay a work area associateed with internal table and the second will check actual contents of internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward points if dis helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:42:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083429#M976367</guid>
      <dc:creator>former_member188827</dc:creator>
      <dc:date>2008-07-02T05:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083430#M976368</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;  Both are same if you have not declared the internal table with out header line at the time of declaration.If you declare internal table with header line then the 'if not itab is initial' checks for the header line and 'if not itab[] is initial' checks for contents of internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Veeresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083430#M976368</guid>
      <dc:creator>former_member673464</dc:creator>
      <dc:date>2008-07-02T05:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083431#M976369</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;1.itab is initial  : checks if itab headerline i.e workarea is initial i.e empty.&lt;/P&gt;&lt;P&gt;2.itab[] is initial : checks if itab body is initial.&lt;/P&gt;&lt;P&gt;if the above itab is declared with headerline. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both will be same if you declare the internal table with out header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;dhanashri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:49:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083431#M976369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T05:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083432#M976370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;it is not same.&lt;/P&gt;&lt;P&gt;because we need to specify the body..&lt;/P&gt;&lt;P&gt;then only it will check wether the body contains records or not.&lt;/P&gt;&lt;P&gt;if we are not specifying the body it will consider as work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;venkat n&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 05:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083432#M976370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T05:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083433#M976371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeetu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually when we declare the internal table with header line, then to distinguish between the work area and the internal table itself, we use this notation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab[] means your work area and&lt;/P&gt;&lt;P&gt;itab means your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it proves useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Natasha Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 06:30:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083433#M976371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T06:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083434#M976372</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;when we declare the internaltable without headerline &lt;/P&gt;&lt;P&gt;there is no difference between itab and itab[]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we declare the internaltable with header line&lt;/P&gt;&lt;P&gt;itab menas it showing body,header and itab[] menas body only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check in debugger mode you can get good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 12:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083434#M976372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T12:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083435#M976373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI jeetu,&lt;/P&gt;&lt;P&gt;there is a simple rule if any internal table created in sap is having an header line,then itab[] would always refer to internal table body contents and itab without square brackets([]) would refer to the header line contents.&lt;/P&gt;&lt;P&gt;thnks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 13:04:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083435#M976373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-03T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Initial check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083436#M976374</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; No, Both are not one and the same when you write some thing like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT itab IS INITIAL.&lt;/P&gt;&lt;P&gt;  ---&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here if the table you created has header line then it will check whether all the fields in  header line  are set to initial value or not .if it is initial then the result of the expression will be FALSE because NOT always reverses the result of expression .If the table does not contain any header line then it will through an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOT behaviour&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; TRUE will become FALSE&lt;/P&gt;&lt;P&gt;  FALSE  will become TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT itab[] IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you are directly validating the body of the table that means whether tha table has any line or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab  is Header line or work area&lt;/P&gt;&lt;P&gt;itab[] is Body of the internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives you and idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pavan Bhamidipati on Jul 3, 2008 3:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2008 13:23:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/initial-check/m-p/4083436#M976374</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-07-03T13:23:40Z</dc:date>
    </item>
  </channel>
</rss>

