<?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: ALV - Validate Data after User-Command (SAVE) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211346#M1006337</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;Thanks for the immediate reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data-Changed-event is not the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i registered it that way and implemented the handling inclusive error-protocoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD my_ALV_-&amp;gt;REGISTER_EDIT_EVENT&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        I_EVENT_ID = CL_GUI_ALV_GRID=&amp;gt;MC_EVT_ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the user has to push 'ENTER' to check the changed data on one rush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user only pushes 'SAVE' or something beyond the alv-toolbar, the pai-module will be processed.&lt;/P&gt;&lt;P&gt;So, i get the method alv-&amp;gt;CHECK_CHANGED_DATA, to check the entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works well, the protocoll is displayed, but the wrong entry in Alv (which is normally marked as error) is overwritten by the old, correct content.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 12:20:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-28T12:20:42Z</dc:date>
    <item>
      <title>ALV - Validate Data after User-Command (SAVE)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211343#M1006334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everbody !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a quite nice editable ALV-Grid, that works almost fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only problem I have and don't understand is the valditation in the PAI-Module of my dynpro, e.g. at the 'SAVE'-Command, if the 'ENTER'-Button wasn't pushed before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of an error, the protocol shows up, but the false entry in alv is overwritten by the old content.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I call the method  MY_ALV-&amp;gt;CHECK_CHANGED_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What have i to do then?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody explain this to me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 11:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211343#M1006334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T11:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Validate Data after User-Command (SAVE)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211344#M1006335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to Make use of the DATA_CHANGED event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the sample program : &lt;STRONG&gt;BCALV_EDIT_03&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is for &lt;STRONG&gt;Verification of modified cells&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 11:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211344#M1006335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T11:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Validate Data after User-Command (SAVE)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211345#M1006336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In th USER_COMMAND subroutine of ur REUSE_ALV_GRID_DISpLAy FM&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;P_SELFLD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;case p_ucomm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Data ref1 type ref to cl_gui_alv_grid.&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 = ref1.&lt;/P&gt;&lt;P&gt;call method ref1-&amp;gt;check_changed_data&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;when 'SAVE'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;write ur code her&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 11:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211345#M1006336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T11:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV - Validate Data after User-Command (SAVE)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211346#M1006337</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;Thanks for the immediate reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data-Changed-event is not the problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i registered it that way and implemented the handling inclusive error-protocoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD my_ALV_-&amp;gt;REGISTER_EDIT_EVENT&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        I_EVENT_ID = CL_GUI_ALV_GRID=&amp;gt;MC_EVT_ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the user has to push 'ENTER' to check the changed data on one rush.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the user only pushes 'SAVE' or something beyond the alv-toolbar, the pai-module will be processed.&lt;/P&gt;&lt;P&gt;So, i get the method alv-&amp;gt;CHECK_CHANGED_DATA, to check the entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works well, the protocoll is displayed, but the wrong entry in Alv (which is normally marked as error) is overwritten by the old, correct content.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 12:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-validate-data-after-user-command-save/m-p/4211346#M1006337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T12:20:42Z</dc:date>
    </item>
  </channel>
</rss>

