<?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: select from intrenal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644064#M608907</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 ask how to buield table in se11 that i can do insert from itab to it.&lt;/P&gt;&lt;P&gt;size and class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 17:51:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-27T17:51:16Z</dc:date>
    <item>
      <title>select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644059#M608902</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 heard that i can do select from internal table with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a1&lt;/P&gt;&lt;P&gt;from (itab)&lt;/P&gt;&lt;P&gt;into....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644059#M608902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T17:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644060#M608903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You heard wrong, that can not be done, you can only use the SELECT statement against database tables.   In your to read an internal table, you must use the LOOP AT syntax or the READ TABLE syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:41:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644060#M608903</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-27T17:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644061#M608904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;o.k. thankes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wont to buield table in se 11 to insert the data from itab to that i can do that select from there&lt;/P&gt;&lt;P&gt;how i declare it ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644061#M608904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T17:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644062#M608905</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 insert data from Internal to Z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the internal with fields of Z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get the tables from related tables. And use insert statement to insert data into z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644062#M608905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T17:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644063#M608906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you asking how to build a table in SE11?  or are you asking how to declare the internal table which could insert data into the "Z" database table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the latter,  you can simply declare it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: itab type table of ztab.
data: wa like line of itab.

wa-fld1 = 'ABC'.
wa-fld2 = 'DEF'.
append wa to itab.

wa-fld1 = 'GHI'.
wa-fld2 = 'JKL'.
append wa to itab.

* Now insert into the database table.
insert ztab from table itab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644063#M608906</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-08-27T17:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644064#M608907</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 ask how to buield table in se11 that i can do insert from itab to it.&lt;/P&gt;&lt;P&gt;size and class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:51:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644064#M608907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T17:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644065#M608908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi antonio rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use INSERT, follow a example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT INTO (TABLE) VALUES (INTERNAL TABLE).&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;*Message if OK.&lt;/P&gt;&lt;P&gt;  MESSAGE I398(00) WITH 'OK'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;*Message if error.&lt;/P&gt;&lt;P&gt;  MESSAGE e398(00) WITH 'Error'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add too using the transation 'SM30'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a "Table Maintanance Generator" at Menu "Utilities" into Maintance Table('SE11').&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;&lt;/P&gt;&lt;P&gt;Allan Cristian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Allan Cristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 17:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644065#M608908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-27T17:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: select from intrenal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644066#M608909</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;  1 . Create a table(for Eg : ZQCWHSTOCK)  in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  2. In your program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : STOCKINT TYPE STANDARD TABLE OF ZQCWHSTOCK &lt;/P&gt;&lt;P&gt;                                         INITIAL SIZE 0 WITH  HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM ZQCWHSTOCK INTO CORRESPONDING FIELDS OF TABLE STOCKINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT ZQCWHSTOCK FROM TABLE STOCKINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lakshmiraj&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 11:10:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-from-intrenal-table/m-p/2644066#M608909</guid>
      <dc:creator>abapdeveloper20</dc:creator>
      <dc:date>2007-08-28T11:10:15Z</dc:date>
    </item>
  </channel>
</rss>

