<?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: Capture changed data in editable alv grid. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465838#M1650856</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 field catalog pass  qfieldname filed and qtabname  also ref_fieldname ref_tabname for MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2011 07:21:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-19T07:21:44Z</dc:date>
    <item>
      <title>Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465833#M1650851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am very munch new to ABAP.&lt;/P&gt;&lt;P&gt;I got a requirement where i have to display ztable data in full screen editable alv grid. where 1 field is editable.when the user change the value or delete the line and then click on save, the changed data have to be captured in ztable as a new entry without changing any data from the ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u help me with the sample code or procedure.&lt;/P&gt;&lt;P&gt;am using bapi_reuse_alv_grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2011 13:08:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465833#M1650851</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-17T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465834#M1650852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For editable filed in ALV &lt;/P&gt;&lt;P&gt;while creating field catelog,Just pass fieldcat-edit = 'X' this will set column in editable mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for User command on save and delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_USER_COMMAND = 'USER_COMMAND'  "&amp;lt;--use this


FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.

CASE r_ucomm.
WHEN '&amp;amp;IC1'.
READ TABLE iT_tab INTO wa_tab INDEX rs_selfield-tabindex.

WHEN 'SAVE'.

"--&amp;gt;code
WHEN 'DELE'.'
"--&amp;gt;code
ENDCASE.
ENDFORM. "user_command
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Dec 2011 14:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465834#M1650852</guid>
      <dc:creator>mithun_shetty4</dc:creator>
      <dc:date>2011-12-17T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465835#M1650853</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 below mentioned code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : ref_grid TYPE REF TO cl_gui_alv_grid.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        i_callback_program       = g_repid
        i_callback_pf_status_set = alv_status_set
        i_callback_user_command  = alv_user_comm
        i_grid_title             = grid_title
        i_save                   = g_save
        is_variant               = gs_variant
        is_layout                = alv_layout
        it_fieldcat              = alv_fieldcat[]
        it_events                = gt_events[]
        it_sort                  = alv_sort[]
      IMPORTING
        e_exit_caused_by_caller  = g_exit_caused_by_caller
        es_exit_caused_by_user   = gs_exit_caused_by_user
      TABLES
        t_outtab                 = git_final[].

    PERFORM alv_user_comm USING r_ucomm
                                rs_selfield.

FORM alv_user_comm  USING    r_ucomm     LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.

*Determine the main component beign viewed
  READ TABLE git_final INTO gwa_final INDEX rs_selfield-tabindex.

  CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'   "This FM will get the reference of the changed data in ref_grid 
    IMPORTING
      e_grid = ref_grid.

  IF ref_grid IS NOT INITIAL.
    CALL METHOD ref_grid-&amp;gt;check_changed_data( ).  "After calling this method your internal table will have updated values

    git_final_tmp = git_final.
endform.
modify Z* from git_final &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; " Modify your ztable with the last stmnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will definitely solve your issue. Come up with your queries if any..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Dec 2011 08:44:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465835#M1650853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-18T08:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465836#M1650854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is working fine..when i change the quantity field and save&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its showing : too many decimal places (maximum 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MENGE type MENGE_D.       "Quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 06:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465836#M1650854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T06:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465837#M1650855</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;The Menge_d type quan13 with 3 decimal places , so its expecting decimal places , please enter value with 3 three decimals or change it into INT , then u didnt get any problem .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 07:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465837#M1650855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T07:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465838#M1650856</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 field catalog pass  qfieldname filed and qtabname  also ref_fieldname ref_tabname for MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 07:21:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465838#M1650856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T07:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capture changed data in editable alv grid.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465839#M1650857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vishal Jindal solved my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 10:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capture-changed-data-in-editable-alv-grid/m-p/8465839#M1650857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-19T10:40:06Z</dc:date>
    </item>
  </channel>
</rss>

