<?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: Re : Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183934#M1000109</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;see below coding..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty.&lt;/P&gt;&lt;P&gt;data : itab1 like itab with header line,&lt;/P&gt;&lt;P&gt;wa type ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;move wa-vbeln to itab1-vbeln.&lt;/P&gt;&lt;P&gt;move wa-ernam to itab1-ernam.&lt;/P&gt;&lt;P&gt;move wa-netwr to itab1-netwr.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;write : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;skip 2.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab1-vbeln,itab1-ernam,itab1-netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2008 03:19:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-24T03:19:46Z</dc:date>
    <item>
      <title>Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183932#M1000107</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;I have one doubt in internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code as follows ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;           vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;           ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;           netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;           end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty,&lt;/P&gt;&lt;P&gt;         wa type ty&lt;/P&gt;&lt;P&gt;         itab1 like itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;write : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move itab to itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab1-vbeln,itab1-ernam,itab1-netwr.&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;when I check the above .The error message will show itab1 has no header-line and therefore no vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is, How can I get data from &lt;STRONG&gt;Itab1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;raghul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 03:02:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183932#M1000107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T03:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183933#M1000108</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 need to create a work area for your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
types : begin of ty,
vbeln type vbak-vbeln,
ernam type vbak-ernam,
netwr type vbak-netwr,
end of ty.

data : itab type table of ty,
wa type ty
itab1 like itab,
wa1 type ty.

select vbeln ernam netwr from vbak into table itab up to 10 rows.

loop at itab into wa.
write : wa-vbeln,wa-ernam,wa-netwr.
endloop.

move itab to itab1.

*loop at itab1.
loop at itab1 into wa1.

*write :/ itab1-vbeln,itab1-ernam,itab1-netwr.
write:/ wa1-vbeln, wa1-ernam, wa1-netwr.

endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 03:07:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183933#M1000108</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-07-24T03:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183934#M1000109</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;see below coding..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty.&lt;/P&gt;&lt;P&gt;data : itab1 like itab with header line,&lt;/P&gt;&lt;P&gt;wa type ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;move wa-vbeln to itab1-vbeln.&lt;/P&gt;&lt;P&gt;move wa-ernam to itab1-ernam.&lt;/P&gt;&lt;P&gt;move wa-netwr to itab1-netwr.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;write : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;skip 2.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab1-vbeln,itab1-ernam,itab1-netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 03:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183934#M1000109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T03:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183935#M1000110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ragul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to deaclare another Work Area(WA1),&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty,&lt;/P&gt;&lt;P&gt;         vbeln TYPE vbak-vbeln,&lt;/P&gt;&lt;P&gt;         ernam TYPE vbak-ernam,&lt;/P&gt;&lt;P&gt;         netwr TYPE vbak-netwr,&lt;/P&gt;&lt;P&gt;        END OF ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : itab TYPE TABLE OF ty.&lt;/P&gt;&lt;P&gt;DATA : wa TYPE ty.&lt;/P&gt;&lt;P&gt;DATA : itab1 LIKE itab.&lt;/P&gt;&lt;P&gt;DATA : wa1 TYPE ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln ernam netwr FROM vbak INTO TABLE itab UP TO 10 ROWS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;  WRITE : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE itab TO itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab1 INTO wa1.&lt;/P&gt;&lt;P&gt;  WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Hema&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183935#M1000110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183936#M1000111</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;Create Another Work Area for the second Internal Table and use it with second Internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:31:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183936#M1000111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183937#M1000112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Replace,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*itab1 LIKE itab 
  itab1 LIKE itab WITH HEADER LINE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183937#M1000112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183938#M1000113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi all,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I have one doubt in internal table.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; My code as follows ;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; types : begin of ty,&lt;/P&gt;&lt;P&gt;&amp;gt;            vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;&amp;gt;            ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;&amp;gt;            netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;&amp;gt;            end of ty.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; data : itab type table of ty,&lt;/P&gt;&lt;P&gt;&amp;gt;          wa type ty&lt;/P&gt;&lt;P&gt;&amp;gt;          itab1 like itab.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; loop at itab into wa.&lt;/P&gt;&lt;P&gt;&amp;gt; write : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;&amp;gt; endloop.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; move itab to itab1.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; loop at itab1.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; write :/ itab1-vbeln,itab1-ernam,itab1-netwr.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; endloop.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; when I check the above .The error message will show itab1 has no header-line and therefore no vbeln.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; My question is, How can I get data from &lt;STRONG&gt;Itab1&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; raghul.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u r getting the error because u have not defined any header line or explicit work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example there are 2 ways doing it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab1 type standard table of ty with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;data: itab1 type standard table of ty,&lt;/P&gt;&lt;P&gt;        wa1  like line of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and while looping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so u r code should be modified as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;          vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;            ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;            netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;            end of ty.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; data : itab type table of ty,&lt;/P&gt;&lt;P&gt;          wa type ty&lt;/P&gt;&lt;P&gt;          itab1 like itab,&lt;/P&gt;&lt;P&gt;         wa1 like line of itab1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; loop at itab into wa.&lt;/P&gt;&lt;P&gt; write : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; move itab to itab1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa1-vbeln,wa1-ernam,wa1-netwr.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183938#M1000113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183939#M1000114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghul,&lt;/P&gt;&lt;P&gt;you can do ur task in following way... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty with header line,"(include with header line)&lt;/P&gt;&lt;P&gt;wa type ty,&lt;/P&gt;&lt;P&gt;itab1 like itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;write : wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move itab to itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab1-vbeln,itab1-ernam,itab1-netwr.&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;i hope this will work ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards &lt;/P&gt;&lt;P&gt;Ashu Singh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:41:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183939#M1000114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183940#M1000115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES : BEGIN OF TY,
VBELN TYPE VBAK-VBELN,
ERNAM TYPE VBAK-ERNAM,
NETWR TYPE VBAK-NETWR,
END OF TY.

DATA : ITAB TYPE TABLE OF TY,
WA TYPE TY,
ITAB1 TYPE STANDARD TABLE OF TY.

SELECT VBELN ERNAM NETWR FROM VBAK INTO TABLE ITAB UP TO 10 ROWS.

LOOP AT ITAB INTO WA.
WRITE : / WA-VBELN,WA-ERNAM,WA-NETWR.
ENDLOOP.

MOVE ITAB TO ITAB1.

LOOP AT ITAB1 INTO WA.
WRITE :/ WA-VBELN,WA-ERNAM,WA-NETWR.

ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183940#M1000115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183941#M1000116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;types : begin of ty,&lt;/P&gt;&lt;P&gt;           vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;          ernam type vbak-ernam,&lt;/P&gt;&lt;P&gt;           netwr type vbak-netwr,&lt;/P&gt;&lt;P&gt;        end of ty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type table of ty,&lt;/P&gt;&lt;P&gt;         wa TYPE ty,&lt;/P&gt;&lt;P&gt;         itab1 like itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vbeln ernam netwr from vbak into table itab up to 10 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move itab to itab1.&lt;/P&gt;&lt;P&gt;skip 5.&lt;/P&gt;&lt;P&gt;loop at itab1 into wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; itab1-vbeln,itab1-ernam,itab1-netwr.&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa-vbeln,wa-ernam,wa-netwr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 04:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183941#M1000116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T04:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183942#M1000117</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;For itab there is no header line and u have created header line explicitly..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want u r code to be executed then create the header line for itab1 with the same name as,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;   itab1 like standard table of itab with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;writew like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;Sunil KUmar Mutyala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 05:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183942#M1000117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T05:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183943#M1000118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;itab1 like itab.&lt;/STRONG&gt;  --&amp;gt; itab1 type table of ty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ur code will run...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Jay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jul 2008 05:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-internal-table/m-p/4183943#M1000118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-24T05:21:08Z</dc:date>
    </item>
  </channel>
</rss>

