<?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: Modify  - Transporting? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166927#M459028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz refer to the link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2007 15:06:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-26T15:06:12Z</dc:date>
    <item>
      <title>Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166923#M459024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One simple doubt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a loop itab into wa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;manipulated the first field of (either changed or added a new value, if its initial) wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Can I take it for granted that, the changes will take place/apply, surely, for the very first (which is fetched to wa from itab),  record of the &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;itab&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;, bcoz I used MODIFY?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean, SAP automatically, knows that, it has to make the changes to the corresponding equal record of the &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;itab&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;, which is fetched/resided in wa, SAP do not disturrb other records!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is my assumption is correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThaNQ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 14:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166923#M459024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166924#M459025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY ITAB FROM WA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA will recognize the key fields from internal table and updates the same record in internal table, this is the besy way to modify internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166924#M459025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166925#M459026</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 the link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps.&lt;/P&gt;&lt;P&gt;-Gaurang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:01:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166925#M459026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166926#M459027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;          U r question i right, when u use Modify itab from wa, the SAP automatically understands that u want to update that records , but it also maintains the integrity of records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think u r question is solved .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz rewards points if question is solved.&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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Pritha Agrawal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166926#M459027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166927#M459028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;plz refer to the link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb35eb358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166927#M459028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166928#M459029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  well, sap knows that the updation(change) has to be done to the current row.&lt;/P&gt;&lt;P&gt; still, as the loop keeps running, it will update the other rows also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; so, to change one particular row, u can use the MODIFY statement within some condition(s) to determine the required(s) where u want to make the changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop....&lt;/P&gt;&lt;P&gt;if &amp;lt;condition&amp;gt;&lt;/P&gt;&lt;P&gt; modify.....&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:11:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166928#M459029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166929#M459030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes U can&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166929#M459030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Modify  - Transporting?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166930#M459031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;modify itab. is equivalent to 
modify itab index sy-tabix.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you use modify itab without any index, it may result run time erros in some situations...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
read table  itab2 with key &amp;lt;&amp;gt;...


modify itab.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this may go for a toss becuase the the sy-tabix now is not of the current record of itab.&lt;/P&gt;&lt;P&gt;It is the current record or itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In such cases you have to do this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
lv_tabix = sy-tabix.
read table  itab2 with key &amp;lt;&amp;gt;...


modify itab index lv_tabix.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 15:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modify-transporting/m-p/2166930#M459031</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T15:20:19Z</dc:date>
    </item>
  </channel>
</rss>

