<?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: reading tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767595#M331652</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 can't read DB table. You need to select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single * from VBEP&lt;/P&gt;&lt;P&gt;            into wa_vbep&lt;/P&gt;&lt;P&gt;           where vbeln = vbap-vbeln&lt;/P&gt;&lt;P&gt;posnr = vbap-posnr&lt;/P&gt;&lt;P&gt;etenr = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this Helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2006 13:52:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-15T13:52:52Z</dc:date>
    <item>
      <title>reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767593#M331650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I want to read the database table VBEP. for that i wrote following lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE vbep WITH KEY vbeln = vbap-vbeln&lt;/P&gt;&lt;P&gt;                                             posnr = vbap-posnr&lt;/P&gt;&lt;P&gt;                                             etenr = '0001'.&lt;/P&gt;&lt;P&gt;But it showing error that '" vbeln is not present ". Please tell me how to read db table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767593#M331650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767594#M331651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;U cant use READ stmt for database table read.Its for internal tables only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use SELECT stmt for database table read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;select * from vbap into corresponding fields of table itab where...&lt;/P&gt;&lt;P&gt;select * from vbep into into corresponding fields of table itab1 where...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;READ TABLE itab WITH KEY vbeln = itab1-vbeln&lt;/P&gt;&lt;P&gt;posnr = vbap-posnr&lt;/P&gt;&lt;P&gt;etenr = '0001'.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;code here.&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;&lt;/P&gt;&lt;P&gt;Regs&lt;/P&gt;&lt;P&gt;Manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767594#M331651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767595#M331652</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 can't read DB table. You need to select&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select single * from VBEP&lt;/P&gt;&lt;P&gt;            into wa_vbep&lt;/P&gt;&lt;P&gt;           where vbeln = vbap-vbeln&lt;/P&gt;&lt;P&gt;posnr = vbap-posnr&lt;/P&gt;&lt;P&gt;etenr = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if this Helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:52:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767595#M331652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767596#M331653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot use READ table for database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select all the data to internal table and use read&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:53:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767596#M331653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767597#M331654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u r trying to read from a database table, its completely wrong..!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to select records from the table into an internal table &amp;amp; then read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767597#M331654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767598#M331655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading the Database table is Obsolete now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead use select to read the data from VBEP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from VBAP into itab where ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not itab[] is intiial.&lt;/P&gt;&lt;P&gt;  select * from VBEP into table Itab1 for all entries in itab&lt;/P&gt;&lt;P&gt;where vbeln = itab-vbeln&lt;/P&gt;&lt;P&gt;posnr = itab-posnr&lt;/P&gt;&lt;P&gt;etenr = '0001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 13:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767598#M331655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T13:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: reading tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767599#M331656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shweta &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the READ statement is used at internal table level only.&lt;/P&gt;&lt;P&gt;Plz use SELECT * / SELECT DISTINCT / SELECT &amp;lt;field1&amp;gt; ...&amp;lt;FIELDn&amp;gt; ..&lt;/P&gt;&lt;P&gt;statement to read data from the Dbase tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 14:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-tables/m-p/1767599#M331656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T14:01:44Z</dc:date>
    </item>
  </channel>
</rss>

