<?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: Read and verify data from internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595736#M865908</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)         SORT i_input  by company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE i_input where company code eq space.&lt;/P&gt;&lt;P&gt;DELETE i_input where wbs eq space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In above statement empty data records will get removed .So no need of raising error messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2008 03:49:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-31T03:49:01Z</dc:date>
    <item>
      <title>Read and verify data from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595734#M865906</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;Im new to abap .Could anyone help me on below of my queries with some code supported for my references.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Internal table : i_input&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Company Code (prps-pbukr)&lt;/P&gt;&lt;P&gt;WBS element(prps-pspnr)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Check If any columns in upload file without any values, if yes display errors message with the column name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If above found an errors. How to remove the data from the internal table (i_input) before i proceed with verification on WBS and company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Validate the wbs element &amp;amp; company code in table PRPS if it is exist.&lt;/P&gt;&lt;P&gt;   if not, display errors message like  - XXX  WBS does not exist and &lt;/P&gt;&lt;P&gt;                                                   -   XXX company code does not exist.&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>Sun, 30 Mar 2008 04:41:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595734#M865906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T04:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Read and verify data from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595735#M865907</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 using file upload use the method GUI_UPLOAD of the class CL_GUI_FRONTEND_SERVICES.&lt;/P&gt;&lt;P&gt;Then you will get the data into internal table that you have declared in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then loop at the internal table and check record by record for the conditions you are having.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the record which you want by using the statement DELETE TABLE .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Mar 2008 15:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595735#M865907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-30T15:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Read and verify data from internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595736#M865908</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)         SORT i_input  by company code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE i_input where company code eq space.&lt;/P&gt;&lt;P&gt;DELETE i_input where wbs eq space. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In above statement empty data records will get removed .So no need of raising error messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 03:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-and-verify-data-from-internal-table/m-p/3595736#M865908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T03:49:01Z</dc:date>
    </item>
  </channel>
</rss>

