<?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 Change data without refresh in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816763#M658780</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;  In my editable ALV, I have to generate item numbers if user does not specify item numbers. And once a row has an item number, item number field needs to be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Say user adds 2 items. There are some errors related to those rows. I validated the data and add errors to protocol. Before validating, I generate the item numbers based on my logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Now, the item number field needs to be disabled for input. This I do by using MODIFY_STYLE. I am modifying mp_mod_rows to change the item number on screen without calling refresh.  Because of this modification, data_changed is triggered again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Is there a way I can modify data on screen without calling refresh and date_changed is not triggered again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Sep 2007 18:37:50 GMT</pubDate>
    <dc:creator>srinivas_anchuri</dc:creator>
    <dc:date>2007-09-30T18:37:50Z</dc:date>
    <item>
      <title>Change data without refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816763#M658780</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;  In my editable ALV, I have to generate item numbers if user does not specify item numbers. And once a row has an item number, item number field needs to be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Say user adds 2 items. There are some errors related to those rows. I validated the data and add errors to protocol. Before validating, I generate the item numbers based on my logic. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Now, the item number field needs to be disabled for input. This I do by using MODIFY_STYLE. I am modifying mp_mod_rows to change the item number on screen without calling refresh.  Because of this modification, data_changed is triggered again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Is there a way I can modify data on screen without calling refresh and date_changed is not triggered again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Sep 2007 18:37:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816763#M658780</guid>
      <dc:creator>srinivas_anchuri</dc:creator>
      <dc:date>2007-09-30T18:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change data without refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816764#M658781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your original output is in table i_output... then user generates item number.&lt;/P&gt;&lt;P&gt;Before that move old output to i_temp table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since refresh is triggered, i_output will have new data... so after you call MODIFY_STYLE, pass old data to i_output.&lt;/P&gt;&lt;P&gt;i_output[] = i_temp[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should fix the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 03:15:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816764#M658781</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-01T03:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: Change data without refresh</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816765#M658782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prashant,&lt;/P&gt;&lt;P&gt;  Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  My problem is, I cannot refresh, but want to change the item number on the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2007 05:09:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-data-without-refresh/m-p/2816765#M658782</guid>
      <dc:creator>srinivas_anchuri</dc:creator>
      <dc:date>2007-10-01T05:09:49Z</dc:date>
    </item>
  </channel>
</rss>

