<?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: problem in updsting fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777419#M647425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below methods this will be use full to you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF grid IS INITIAL.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        e_grid = grid.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*To get back the user entered data on the grid&lt;/P&gt;&lt;P&gt;  IF NOT grid IS INITIAL.&lt;/P&gt;&lt;P&gt;    CALL METHOD grid-&amp;gt;check_changed_data.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the method this will update the same data user entered on the grid in the same table &lt;/P&gt;&lt;P&gt;this will automatically get back the user enterd data to the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2007 09:49:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-13T09:49:33Z</dc:date>
    <item>
      <title>problem in updsting fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777415#M647421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  i have 2 fields for editing in alv output.when user enter some value in fields&lt;/P&gt;&lt;P&gt;  then i save that value in ztable.&lt;/P&gt;&lt;P&gt;  my problem is same value get updated in both field what is the problem?&lt;/P&gt;&lt;P&gt;  IF r_ucomm = '&amp;amp;DATA_SAVE'.&lt;/P&gt;&lt;P&gt;    READ TABLE final INDEX rs_selfield-tabindex.&lt;/P&gt;&lt;P&gt;    UPDATE zstatus SET cform = rs_selfield-value&lt;/P&gt;&lt;P&gt;                       WHERE vbeln = final-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    UPDATE zstatus SET remark = rs_selfield-value&lt;/P&gt;&lt;P&gt;                       WHERE vbeln = final-vbeln.&lt;/P&gt;&lt;P&gt;    MESSAGE i000(su) WITH 'saved'.&lt;/P&gt;&lt;P&gt;    clear  rs_selfield-value.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 08:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777415#M647421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T08:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: problem in updsting fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777416#M647422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonu,&lt;/P&gt;&lt;P&gt;It is very clear that your code will update the same value in both the field.&lt;/P&gt;&lt;P&gt;Before the two update statement you are reading the table with one specified index now in the rs_selfield-value you will get the value which corresponds to that index and you are updating the table with this value!!!!,hope you got the mistake.&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;shibu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777416#M647422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem in updsting fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777417#M647423</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;Problem with this statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE zstatus SET cform = rs_selfield-value&lt;/P&gt;&lt;P&gt;WHERE vbeln = final-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE zstatus SET remark = rs_selfield-value&lt;/P&gt;&lt;P&gt;WHERE vbeln = final-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here rs_selfield-value has same  value which is assigned to cform and remark.so u r getting same value...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777417#M647423</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2007-09-13T09:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: problem in updsting fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777418#M647424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tnx for reply .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; can u correct my mistake .what i have correct .plz suggest me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777418#M647424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: problem in updsting fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777419#M647425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below methods this will be use full to you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; IF grid IS INITIAL.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        e_grid = grid.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*To get back the user entered data on the grid&lt;/P&gt;&lt;P&gt;  IF NOT grid IS INITIAL.&lt;/P&gt;&lt;P&gt;    CALL METHOD grid-&amp;gt;check_changed_data.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the method this will update the same data user entered on the grid in the same table &lt;/P&gt;&lt;P&gt;this will automatically get back the user enterd data to the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 09:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-updsting-fields/m-p/2777419#M647425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T09:49:33Z</dc:date>
    </item>
  </channel>
</rss>

