<?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: Internal table to a standard database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889255#M1479804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to copy Table1 records to table 2 or something else??&lt;/P&gt;&lt;P&gt;In first case, select all records from tab1 and modify tab2 with these records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 May 2010 08:07:46 GMT</pubDate>
    <dc:creator>Sandeep_Panghal</dc:creator>
    <dc:date>2010-05-17T08:07:46Z</dc:date>
    <item>
      <title>Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889254#M1479803</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;My scenario is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a standard DB table 'Table1'. There are 5 fields in that in which flag and email adresses are 2 fields among the five. Now my requirement is we have to tranfer the Table1 data in to another database table 'Table2'. In additional we have fill the Email addresses and also Flag values to Table2 from table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz let me teh code for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 07:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889254#M1479803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T07:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889255#M1479804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to copy Table1 records to table 2 or something else??&lt;/P&gt;&lt;P&gt;In first case, select all records from tab1 and modify tab2 with these records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889255#M1479804</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-05-17T08:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889256#M1479805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    First select records from Table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field2 field3 field4 field5&lt;/P&gt;&lt;P&gt;into table itab where cond1&lt;/P&gt;&lt;P&gt;                                  cond 2 ....etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;INSERT Table2 FROM TABLE itab[].&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;This way you can fill the Table2 values from Table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Md Ziauddin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889256#M1479805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T08:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889257#M1479806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;Yes i have to put the data from Table1 into Table2. I mean the complete Table1 data should be sent to Table2. In additional there are 2 new fields added to Table1. Those fields are now added to table2 also.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889257#M1479806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T08:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889258#M1479807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select records from table1 into one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop on tthis table and move it to work area.&lt;/P&gt;&lt;P&gt;modify the WA as per requirement.&lt;/P&gt;&lt;P&gt;Append the WA to new ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endlioop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ITAB2[] is not initial.&lt;/P&gt;&lt;P&gt;modify &amp;lt;DB TABLE 2&amp;gt; from ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889258#M1479807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T08:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889259#M1479808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ZIAUDDIN ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are no conditions in the selct statement.&lt;/P&gt;&lt;P&gt;Just want to keep th Tbale1 to table2. every thing should come from Table1 to Table2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 08:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889259#M1479808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T08:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table to a standard database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889260#M1479809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this I am suggesting you to write a simple report. On the selection screen give the key fields of the Table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the report write the select query as mention above. In the where condition use the selection screen values or pass the null values it will bring all the records from the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Md Ziauddin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 May 2010 09:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-to-a-standard-database-table/m-p/6889260#M1479809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-17T09:17:20Z</dc:date>
    </item>
  </channel>
</rss>

