<?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: Modifying the internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643614#M1092974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, your code is quite fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 11:53:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T11:53:26Z</dc:date>
    <item>
      <title>Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643613#M1092973</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 have internal table it_pa0000 and work area wa_pa0000 with below fields. i fetched the data from pa0000 into corresponding fields of table it_pa0000. the field partid is with data type char10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:BEGIN OF typ_pa0000,&lt;/P&gt;&lt;P&gt;      pernr    TYPE persno,&lt;/P&gt;&lt;P&gt;      endda    TYPE endda,&lt;/P&gt;&lt;P&gt;      begda    TYPE begda,&lt;/P&gt;&lt;P&gt;      massn    TYPE massn,&lt;/P&gt;&lt;P&gt;      massg    TYPE massg,&lt;/P&gt;&lt;P&gt;      stat2    TYPE stat2,&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;partid   TYPE char10,&lt;/STRONG&gt; ---&amp;gt; not in pa0000 database table&lt;/P&gt;&lt;P&gt;      END OF typ_pa0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i want to fill partid(char10) with pernr which is numeric....for that i did loop and use modify statement..is there any alternative with good performance?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_pa0000 INTO wa_pa0000.&lt;/P&gt;&lt;P&gt;    wa_pa0000-partid = wa_pa0000-pernr.&lt;/P&gt;&lt;P&gt;    MODIFY TABLE it_pa0000 FROM wa_pa0000 .&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643613#M1092973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T11:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643614#M1092974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, your code is quite fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643614#M1092974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T11:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643615#M1092975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define a field symbol and LOOP into it, than you don't need the MODIFY statement. This will be a bit faster:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT it_pa0000 ASSIGNING &amp;lt;wa_pa0000&amp;gt;.
&amp;lt;wa_pa0000-partid&amp;gt; = &amp;lt;wa_pa0000-pernr&amp;gt;.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I don't think there should be any performance issue with your coding.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643615#M1092975</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-21T11:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643616#M1092976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well Eric, tho i dont think there is any gain performancewise, your solution is way more elegant &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/edit typos corrected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Florian Kemmer on Oct 21, 2008 1:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 11:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643616#M1092976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T11:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643617#M1092977</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 think there should not be any issues.&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>Tue, 21 Oct 2008 11:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643617#M1092977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T11:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643618#M1092978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Adding to Eric ans.&lt;/P&gt;&lt;P&gt;&amp;lt;wa_pa0000&amp;gt; should be of type same as it_pa0000 &lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;wa_pa0000&amp;gt; TYPE typ_pa0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope U can't better performance other than Eric's solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 12:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643618#M1092978</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-10-21T12:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying the internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643619#M1092979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florian:&lt;/P&gt;&lt;P&gt;LOOP ... INTO ... ==&amp;gt; This will make that the line of the internal table is copied to somewhere else&lt;/P&gt;&lt;P&gt;LOOP ... ASSIGNING ==&amp;gt; This will make that the field symbol shows directly to the line of the internal table, i. e. no copy is done, that makes it a little-little-litte-little... faster &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I pointed out in my first reply, that there should not be any perf. issue in the original coding.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 12:03:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifying-the-internal-table/m-p/4643619#M1092979</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-10-21T12:03:32Z</dc:date>
    </item>
  </channel>
</rss>

