<?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: Write contents from internal table in dictionary table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162801#M1195805</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 want to write new contents then use INSERT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

INSERT INTO zsflight FROM TABLE &amp;lt;internal table&amp;gt;.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to modify the existing record in table then use MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY zsflight FROM TABLE &amp;lt;internal table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Feb 2009 10:43:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-10T10:43:17Z</dc:date>
    <item>
      <title>Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162797#M1195801</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 would like to write the content of an internal table in a dictionary table (ztable).&lt;/P&gt;&lt;P&gt;I do not know how to get this. I was trying an example with sflight and zsflight. &lt;/P&gt;&lt;P&gt;Can some one please show me some coding?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me some help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162797#M1195801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162798#M1195802</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;insert ztable from table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This query works fine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162798#M1195802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162799#M1195803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tables : zsflight.&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0.&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE ZSFLIGHT.&lt;/P&gt;&lt;P&gt;DATA END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ITAB-FNAME = XXXX.&lt;/P&gt;&lt;P&gt;ITAB-FNAME = XXXX.&lt;/P&gt;&lt;P&gt;APPEND ITAB INTO ZSFLIGHT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR ELSE TRY THE UPDATE STATEMENT.&lt;/P&gt;&lt;P&gt;OR ELSE THE INSERT STATEMENT WORKS FINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I THINK THIS SHOULD WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162799#M1195803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162800#M1195804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and dont forget to do commit work after this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162800#M1195804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162801#M1195805</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 want to write new contents then use INSERT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

INSERT INTO zsflight FROM TABLE &amp;lt;internal table&amp;gt;.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to modify the existing record in table then use MODIFY statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODIFY zsflight FROM TABLE &amp;lt;internal table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:43:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162801#M1195805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162802#M1195806</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;INSERT  ztable FROM TABLE itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But make sure that itab has a same structure of ztable.(Number of fields and type of fields).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162802#M1195806</guid>
      <dc:creator>rejish_balakrishnan</dc:creator>
      <dc:date>2009-02-10T10:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162803#M1195807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peter ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: t_sflight LIKE TABLE OF sflight.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now populate internal table t_sflight with the required records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INSERT sflight FROM TABLE t_sflight.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pinaki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162803#M1195807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162804#M1195808</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;DATA: ITAB TYPE TABLE OF SFLIGHT WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Assign values to each column as ITAB-FIELD = VALUE. OR&lt;/P&gt;&lt;P&gt;SELECT * FROM SFLIGHT INTO TABLE ITAB.   "Copy from Sflight into internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;     INSERT ZSFLIGHT FROM ITAB.        "Copy from internal table to zsflight&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162804#M1195808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162805#M1195809</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;refer this code.&lt;/P&gt;&lt;P&gt;DATA :&lt;/P&gt;&lt;P&gt;  fs TYPE &amp;lt;tablename&amp;gt;.&lt;/P&gt;&lt;P&gt;( fill the field string with values required )&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;fs-id = 10.&lt;/P&gt;&lt;P&gt;fs-name = 'XYZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT into &amp;lt;tablename&amp;gt;  values fs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;U can also use internal table dirrectly.&lt;/P&gt;&lt;P&gt;insert &amp;lt;tablename&amp;gt; from table itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:49:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162805#M1195809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162806#M1195810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162806#M1195810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162807#M1195811</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;Go through this abap help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3a6d358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3a6d358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&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;Deepthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:51:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162807#M1195811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Write contents from internal table in dictionary table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162808#M1195812</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 may use the statement as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert &amp;lt;ztable name&amp;gt; from table &amp;lt;ITAB&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will update your ztable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2009 10:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-contents-from-internal-table-in-dictionary-table/m-p/5162808#M1195812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-10T10:52:03Z</dc:date>
    </item>
  </channel>
</rss>

