<?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: type assignment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508190#M1066366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The keyword 'TABLE OF' used to declare an internal table.&lt;/P&gt;&lt;P&gt;itab type mara -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; here itab is a structure with type MARA, it holds single recod values&lt;/P&gt;&lt;P&gt;itab type standard table of mara -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;is a standard internal table, it holds multiple records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Oct 2008 09:11:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-06T09:11:30Z</dc:date>
    <item>
      <title>type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508188#M1066364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; what is the difference b/w the below;\&lt;/P&gt;&lt;P&gt;       data : itab type mara&lt;/P&gt;&lt;P&gt;                 itab1 type standard table of mara (ztable)&lt;/P&gt;&lt;P&gt;  whats the use of TABLE OF   &lt;/P&gt;&lt;P&gt;                                                                        THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508188#M1066364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508189#M1066365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you decare&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab TYPE mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab holds the structure of mara and works only as a structure/work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when you declare,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: itab1 TYPE STANDARD TABLE OF mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now itab1 is created as an internal table.&lt;/P&gt;&lt;P&gt;This internal table can hold multiple records of the structure type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508189#M1066365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508190#M1066366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The keyword 'TABLE OF' used to declare an internal table.&lt;/P&gt;&lt;P&gt;itab type mara -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; here itab is a structure with type MARA, it holds single recod values&lt;/P&gt;&lt;P&gt;itab type standard table of mara -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt;is a standard internal table, it holds multiple records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:11:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508190#M1066366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508191#M1066367</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;data : itab type mara - itab will be like structure mara, can be used like work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1 type standard table of mara (ztable) - Itab1 is internal table with structure mara and can store multiple values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508191#M1066367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508192#M1066368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijai rajendran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type mara - &amp;gt; acts as Work Area&lt;/P&gt;&lt;P&gt;itab1 type standard table of mara (ztable) -&amp;gt; Header + WA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508192#M1066368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508193#M1066369</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;Itab type mara means only structure of table mara means you can not store data in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab type standard table of mara.. its behave like a internal table means table with body here you can pass data in this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:14:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508193#M1066369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: type assignment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508194#M1066370</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;There are severals to declare an internal table (standard) based on a dictionary structure or a type defined in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The classic ways is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0.&lt;/P&gt;&lt;P&gt;              INCLUDE STRUCTURE BKPF.&lt;/P&gt;&lt;P&gt;           END    OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB LIKE BKPF OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The different is the first declaration creates the headerline, the second one is without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other ways to declare an internal table is to use the statament TABLE OF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB TYPE TABLE OF BKPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ITAB TYPE STANDARD TABLE OF BKPF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These ways are the same, i.e they define a standard intenal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These ways are very usefull in OO Abap where it can use TYPE only in the daclarations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2008 09:18:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-assignment/m-p/4508194#M1066370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-06T09:18:49Z</dc:date>
    </item>
  </channel>
</rss>

