<?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: counting the itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948939#M944188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just use a counter and loop the table and increase the counter at new matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: count type i.

loop at itab where VBELN = 'value'.
at new matnr.
count = count + 1.
endat.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jun 2008 05:44:20 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2008-06-04T05:44:20Z</dc:date>
    <item>
      <title>counting the itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948937#M944186</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 internal table, in that i am extracting sales details, for one sales order there are N no of materials. now i need the count of the materials with respect to the sales order how i should proceed &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>Wed, 04 Jun 2008 05:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948937#M944186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T05:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: counting the itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948938#M944187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Loop the internal table, and read all the materials for the particular sales order into another internal table, and then use the command describe table and get the count of your materials.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 05:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948938#M944187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T05:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: counting the itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948939#M944188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just use a counter and loop the table and increase the counter at new matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: count type i.

loop at itab where VBELN = 'value'.
at new matnr.
count = count + 1.
endat.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 05:44:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948939#M944188</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-06-04T05:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: counting the itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948940#M944189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;got it thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 11:20:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/counting-the-itab/m-p/3948940#M944189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-04T11:20:15Z</dc:date>
    </item>
  </channel>
</rss>

