<?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 Internal Table question in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190448#M128417</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;&lt;/P&gt;&lt;P&gt;Is there a way of defining an 'Internal Table' without using 'Occurs n' specification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jan 2006 14:44:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-01-04T14:44:32Z</dc:date>
    <item>
      <title>Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190448#M128417</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;&lt;/P&gt;&lt;P&gt;Is there a way of defining an 'Internal Table' without using 'Occurs n' specification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 14:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190448#M128417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-04T14:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190449#M128418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, there is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Types: Begin of ttab,
       field1 type c,
       field2 type c,
       end of ttab.

data: itab type table of ttab with header line.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 14:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190449#M128418</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-04T14:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190450#M128419</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;You can write like thi....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: TYP_MARA  TYPE STANDARD TABLE OF MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: T_MARA TYPE TYP_MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramakrishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ramakrishna Prasad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 14:48:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190450#M128419</guid>
      <dc:creator>venkata_ramisetti</dc:creator>
      <dc:date>2006-01-04T14:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190451#M128420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to use a head line either, you need to use a word area to access the table.&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;


Types: Begin of ttab,       
       field1 type c,  
       field2 type c,  
       end of ttab.

data: itab type table of ttab.
data: wa like line of itab.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 14:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190451#M128420</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-04T14:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190452#M128421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes U can declare an internal table without using Occurs n specification. Declare internal table of TYPES....Then declare internal table using this TYPES.&lt;/P&gt;&lt;P&gt;Below is a small code which will help U.&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF TY_VENDOR_MASTER,&lt;/P&gt;&lt;P&gt;        FLAG  TYPE C,          &lt;/P&gt;&lt;P&gt;        LIFNR TYPE LIFNR,       &lt;/P&gt;&lt;P&gt;        BUKRS TYPE BUKRS,        &lt;/P&gt;&lt;P&gt;        KTOKK TYPE KTOKK,         &lt;/P&gt;&lt;P&gt;        END   OF TY_VENDOR_MASTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the TYPES internal table. Now declare internal table as&lt;/P&gt;&lt;P&gt;DATA : IT_VENDOR_MASTER    TYPE STANDARD TABLE OF TY_VENDOR_MASTER.&lt;/P&gt;&lt;P&gt;This one u can use to store data which is fetched from database.&lt;/P&gt;&lt;P&gt;To use this internal table for other operations u have to use workarea...&lt;/P&gt;&lt;P&gt;DATA : WA_IT_VENDOR_MASTER TYPE TY_VENDOR_MASTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pl. award appropriate points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way of defining an 'Internal Table' without using 'Occurs n' specification.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 14:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190452#M128421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-04T14:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190453#M128422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;          If you want to declare a internal table without a 'occurs n' you can do it only if you know an structure name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      You know there is database table called mara. If you want an internal table with the structure similar to mara then use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data: it_mara like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your information if you write an itab without 'occurs n' it becomes a structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maheswaran.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 14:59:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190453#M128422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-04T14:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190454#M128423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich, Ramakrishna and Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rich, Is it better to use 'WITH HEADER LINE' option or 'WORK AREA' option from a Performance perspective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ramesh, Actually i used TYPE STANDARD TABLE OF statement for storing data. I then tried to use this internal table with 'FOR ALL ENTRIES IN it'. It gave me an error saying that the 'it' has not been declared using OCCURS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you guys.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 15:05:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190454#M128423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-04T15:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal Table question</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190455#M128424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would say that you should get used to using the TYPE TABLE OF and using work areas instead of header lines.  The reason is that in ABAP Objects, the OCCURS and WITH HEADER LINE are not allowed.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jan 2006 15:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-question/m-p/1190455#M128424</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-01-04T15:14:29Z</dc:date>
    </item>
  </channel>
</rss>

