<?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: how to insert  data from different internal  table  into a data base table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093700#M1615684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jul 2011 06:12:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-07-18T06:12:59Z</dc:date>
    <item>
      <title>how to insert  data from different internal  table  into a data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093698#M1615682</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;         I want to insert a particular field in an internal table to a field in a data base table.Note that the fields in the internal table and database table are not of the same name since i need to insert data from different internal tables.can some one tell me how to do this?&lt;/P&gt;&lt;P&gt;in short i want to do something like the foll:&lt;/P&gt;&lt;P&gt; INSERT  INTO ZMIS_CODES-CODE VALUE '1'.&lt;/P&gt;&lt;P&gt;*INSERT INTO ZMIS_CODES-COL1 VALUE DATA_MTD-AUFNR .(zmis_codes is the db table and data_mtd is the int.table)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2011 09:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093698#M1615682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-16T09:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert  data from different internal  table  into a data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093699#M1615683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi subhabrata bishnu choudhury,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have no other choice than either inserting one whole record with all fields from a structured data object (what is important is the order of the fields is identical (and preferrably the data types of course), not the names), or several records (and all fields) from an internal table (same remark as for the structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the ABAP documentation for more information about INSERT (dbtab).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Jul 2011 16:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093699#M1615683</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-07-17T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert  data from different internal  table  into a data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093700#M1615684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 06:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093700#M1615684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-18T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert  data from different internal  table  into a data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093701#M1615685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have just one field in you Ztable? If yes make sure the technical attributes of the fields &amp;amp; matches with the field in the internal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 09:23:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093701#M1615685</guid>
      <dc:creator>vikrant_guptarya</dc:creator>
      <dc:date>2011-07-19T09:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert  data from different internal  table  into a data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093702#M1615686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT  ZINSERT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables kna1.&lt;/P&gt;&lt;P&gt;data: itab LIKE KNA1.&lt;/P&gt;&lt;P&gt;data lv_kUNAG LIKE KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_kuNAG =  '0000010223'.&lt;/P&gt;&lt;P&gt;ITAB-kuNNR = lv_kuNAG.&lt;/P&gt;&lt;P&gt;ITAB-name1 = 'XYZ'.&lt;/P&gt;&lt;P&gt;INSERT INTO KNA1 VALUES ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;WRITE:/ 'SUCCESS'.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;WRITE:/ 'FAILED'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here lv_kunag is ref to kna1 kunnr passed in different name &lt;/P&gt;&lt;P&gt;In internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try and let me know if this logic dint work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 07:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-insert-data-from-different-internal-table-into-a-data-base-table/m-p/8093702#M1615686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-20T07:29:52Z</dc:date>
    </item>
  </channel>
</rss>

