<?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: internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571028#M257732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi salil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declarations&lt;/P&gt;&lt;P&gt;***********&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;Tables : sflight. "structure&lt;/P&gt;&lt;P&gt;data : itab like sflight occurs 0 with header line."itab with work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab. "itab with out work area.&lt;/P&gt;&lt;P&gt;fields...&lt;/P&gt;&lt;P&gt;endof itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0. "itab with work area.&lt;/P&gt;&lt;P&gt;fields...&lt;/P&gt;&lt;P&gt;endof itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copying&lt;/P&gt;&lt;P&gt;***********&lt;/P&gt;&lt;P&gt;itab1[] = itab2[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fetching data from internal table&lt;/P&gt;&lt;P&gt;*****************************************&lt;/P&gt;&lt;P&gt;1. loop at itab.&lt;/P&gt;&lt;P&gt;    write itab-field1,&lt;/P&gt;&lt;P&gt;          itab-field2,&lt;/P&gt;&lt;P&gt;            ..........&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;2.for fetching single data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by key_field&lt;/P&gt;&lt;P&gt;read table itab with key = field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrds,&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helped mark points whn the point system get activates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2006 06:46:08 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-09-29T06:46:08Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571025#M257729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody will give me the introduction of internal table i.e. what is work area, its functionality, body, how to move data from wa to body, how to declare wa &amp;amp; body. how to use wa in select statement &amp;amp; also body etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 05:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571025#M257729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T05:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571026#M257730</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;hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3660358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3660358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nameeta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 05:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571026#M257730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T05:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571027#M257731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Salil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types : begin  of t_data,&lt;/P&gt;&lt;P&gt;          matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;          maktx type makt-maktx,&lt;/P&gt;&lt;P&gt;        end of t_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* Declaration&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;data : wa_tab type t_data. &amp;lt;b&amp;gt;" WOrk area&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Data : itab type standard table of t_data. &amp;lt;b&amp;gt;"Internal table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Itab[] = it_matnr[]. &amp;lt;b&amp;gt;"Refers copy of body i.e. all data from it_matnr to itab&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* Move data from work area&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_tab.&lt;/P&gt;&lt;P&gt;wa_final = wa_tab.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;* wa_final-matnr = wa_tab-matnr.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;wa_final-maktx = wa_tab-maktx. &amp;lt;i&amp;gt;"Individual assigmnt&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_final to it_final.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 05:49:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571027#M257731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T05:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571028#M257732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi salil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declarations&lt;/P&gt;&lt;P&gt;***********&lt;/P&gt;&lt;P&gt;1. &lt;/P&gt;&lt;P&gt;Tables : sflight. "structure&lt;/P&gt;&lt;P&gt;data : itab like sflight occurs 0 with header line."itab with work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab. "itab with out work area.&lt;/P&gt;&lt;P&gt;fields...&lt;/P&gt;&lt;P&gt;endof itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of itab occurs 0. "itab with work area.&lt;/P&gt;&lt;P&gt;fields...&lt;/P&gt;&lt;P&gt;endof itab. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;copying&lt;/P&gt;&lt;P&gt;***********&lt;/P&gt;&lt;P&gt;itab1[] = itab2[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fetching data from internal table&lt;/P&gt;&lt;P&gt;*****************************************&lt;/P&gt;&lt;P&gt;1. loop at itab.&lt;/P&gt;&lt;P&gt;    write itab-field1,&lt;/P&gt;&lt;P&gt;          itab-field2,&lt;/P&gt;&lt;P&gt;            ..........&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;2.for fetching single data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort itab by key_field&lt;/P&gt;&lt;P&gt;read table itab with key = field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regrds,&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helped mark points whn the point system get activates&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 06:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571028#M257732</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-29T06:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571029#M257733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;internal table store data temporarily . Work area is just work as a header for that IT table .That mean if we r filling IT table first work area will fill by that data then data will transfer to body of IT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when we use IT table for some operation ( Insertion or Deletion) first its WA will fill by one record then operation will perform on IT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Body- is the part of It table where whole data of IT table store temporarily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There r different type to declare a IT table or WA as-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data : begin of it occurs n ,&lt;/P&gt;&lt;P&gt;       a1 type c,&lt;/P&gt;&lt;P&gt;      a2 type c,&lt;/P&gt;&lt;P&gt;      end of it.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;this will create IT table with WA &amp;amp; body, if we do not maintain with occurs it will create only body of IT table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;data it1 type table of DDIC with header line.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;this will create IT table with WA &amp;amp; body, if we do not maintain with header line it will create only body of IT table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 07:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/1571029#M257733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T07:42:11Z</dc:date>
    </item>
  </channel>
</rss>

