<?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: differentiating the data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510093#M844248</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;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ITAB-MANDT  NE SY_MANDT.&lt;/P&gt;&lt;P&gt;   MOVE : all records to one more internal table ITAB2.&lt;/P&gt;&lt;P&gt;    APPEND ITAB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you want to delete that record from ITAB &lt;/P&gt;&lt;P&gt;    DELETE ITAB WHERE MANDT EQ ITAB-MANDT.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To count the data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA v_line TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE ITAB2 LINES v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 27, 2008 5:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2008 10:02:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-27T10:02:58Z</dc:date>
    <item>
      <title>differentiating the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510090#M844245</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;I had uploaded a flat file. I'm having all the data from my flat file to an internal table. In that flat file i'm having a field MANDT also. Now i want to check mandt field with my system mandt field and if i found the other mandt other than the present system mandt then i have to redirect to some other internal table and then i want to count all the data in that table. How to do that??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 09:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510090#M844245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T09:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: differentiating the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510091#M844246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nanda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : gv_lines TYPE i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa WHERE mandt NE sy-mandt.&lt;/P&gt;&lt;P&gt;APPEND wa TO itab2.&lt;/P&gt;&lt;P&gt;DELETE itab.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE itab LINES gv_lines.&lt;/P&gt;&lt;P&gt;gv_lines contains the number of lines in your itab now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 09:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510091#M844246</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-02-27T09:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: differentiating the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510092#M844247</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;Suppose you are having all the records in a internal table as lt_flat and you are having data in this internal table then compare like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-mandt = lt_flat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then u can use for all entries in your select statement or u can use read statement then get all your values into your internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 10:00:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510092#M844247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T10:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: differentiating the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510093#M844248</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;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF ITAB-MANDT  NE SY_MANDT.&lt;/P&gt;&lt;P&gt;   MOVE : all records to one more internal table ITAB2.&lt;/P&gt;&lt;P&gt;    APPEND ITAB2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   If you want to delete that record from ITAB &lt;/P&gt;&lt;P&gt;    DELETE ITAB WHERE MANDT EQ ITAB-MANDT.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To count the data ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA v_line TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE ITAB2 LINES v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE v_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 27, 2008 5:31 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 10:02:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiating-the-data/m-p/3510093#M844248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-27T10:02:58Z</dc:date>
    </item>
  </channel>
</rss>

