<?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: Regading Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512271#M844862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seshu.&lt;/P&gt;&lt;P&gt;Thnx for the answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my exact requirement is i want to retrive the non-matching records of my internal table with the records in lfa1 and populate them in error_itab. &lt;/P&gt;&lt;P&gt;Could u plz let me know how to proceed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Mar 2008 05:22:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-07T05:22:34Z</dc:date>
    <item>
      <title>Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512267#M844858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;How to check whether vendor from an internal table exists in lfa1 or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512267#M844858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T05:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512268#M844859</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;Take your internal table vendor no and  go to se16,&lt;/P&gt;&lt;P&gt;provide in the table input lfa1,&lt;/P&gt;&lt;P&gt;execute,&lt;/P&gt;&lt;P&gt;give your internal table vendore no in the selection screen,&lt;/P&gt;&lt;P&gt;execute,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is how u come to know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anyhow that data u r getting from &lt;STRONG&gt;sap&lt;/STRONG&gt; database tables only know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seshu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512268#M844859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T05:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512269#M844860</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;If you are filling the data in the internal table thts come only from SAP standard table.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dhruv Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512269#M844860</guid>
      <dc:creator>dhruv_shah3</dc:creator>
      <dc:date>2008-03-07T05:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512270#M844861</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;Open &lt;STRONG&gt;SE11&lt;/STRONG&gt; or &lt;STRONG&gt;SE16&lt;/STRONG&gt; and give table &lt;STRONG&gt;LFA1&lt;/STRONG&gt; and give the vendor that you are going to check.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It will open the record if exits.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope its Useful...&lt;/P&gt;&lt;P&gt;Kota&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512270#M844861</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T05:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512271#M844862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seshu.&lt;/P&gt;&lt;P&gt;Thnx for the answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my exact requirement is i want to retrive the non-matching records of my internal table with the records in lfa1 and populate them in error_itab. &lt;/P&gt;&lt;P&gt;Could u plz let me know how to proceed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512271#M844862</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T05:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512272#M844863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;open se11 or se16 and give table name as lfa1.then press on contents icon and give that vendor number then execute.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:24:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512272#M844863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-07T05:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regading Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512273#M844864</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;Lets say your internal table that stores the vendor code is named&lt;/P&gt;&lt;P&gt;GT_VENDOR. Now, what you want to do is to select from LFA1 based from &lt;/P&gt;&lt;P&gt;the records in GT_VENDOR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if gt_vendor[] is not initial.&lt;/P&gt;&lt;P&gt;select lifnr&lt;/P&gt;&lt;P&gt;  from lfa1&lt;/P&gt;&lt;P&gt;  into table gt_lfa1&lt;/P&gt;&lt;P&gt;   for all entries in gt_vendor&lt;/P&gt;&lt;P&gt; where lifnr = gt_vendor-lifnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now loop through your gt_vendor table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_vendor into wa_vendor.&lt;/P&gt;&lt;P&gt;  read table gt_lfa1 into wa_lfa1&lt;/P&gt;&lt;P&gt;		     with key lifnr = wa_vendor-lifnr.&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    wa_error-lifnr = wa_vendor-lifnr.&lt;/P&gt;&lt;P&gt;    append wa_error to gt_error.&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;In the loop above, all vendor code(LIFNR) that is not existing in&lt;/P&gt;&lt;P&gt;gt_lfa1 is moved to your error table which is GT_ERROR.&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;P.S. Please award points if it helps...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Mar 2008 05:32:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regading-internal-table/m-p/3512273#M844864</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2008-03-07T05:32:55Z</dc:date>
    </item>
  </channel>
</rss>

