<?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: Editable ALV and update database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517777#M1424591</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;READ TABLE it_item INDEX rs_selfield-tabindex INTO wa_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from this code u can get data of the curser and go to the T code by skiping fst screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Dec 2009 04:52:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-29T04:52:44Z</dc:date>
    <item>
      <title>Editable ALV and update database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517774#M1424588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have binded a table to a ALV grid, and copying the code from BCALV_EDIT_02. I can successfully make some of fields editable. But how can I capture the edited field values and use it for updating the database table? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 10:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517774#M1424588</guid>
      <dc:creator>former_member220801</dc:creator>
      <dc:date>2009-12-28T10:20:16Z</dc:date>
    </item>
    <item>
      <title>Re: Editable ALV and update database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517775#M1424589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes..&lt;/P&gt;&lt;P&gt;in PF status you can create a button for your use and use that FCODE in user_command event and update the data base..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 10:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517775#M1424589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-28T10:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Editable ALV and update database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517776#M1424590</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;create object of alv .... V_OBJ_ALV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD V_OBJ_ALV-&amp;gt;SET_TABLE_FOR_FIRST_DISPLAY.
 EXPORTING
                           I_SAVE                        = 'A'
                          CHANGING
                            IT_OUTTAB                     =                                  " internal table
                            IT_FIELDCATALOG               =                            " field catalog table
       .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;after that&lt;/P&gt;&lt;P&gt;method for editable alv....through object &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*----------------------------FUNCTION FOR EDITABLE ALV

    CALL METHOD V_OBJ_ALV-&amp;gt;REGISTER_EDIT_EVENT
      EXPORTING
        I_EVENT_ID = CL_GUI_ALV_GRID=&amp;gt;MC_EVT_MODIFIED
      EXCEPTIONS
        ERROR      = 1
        OTHERS     = 2.
    IF SY-SUBRC &amp;lt;&amp;gt; 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;handel the event on the editable alv in secondry list display&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE sy-ucomm.
 
   WHEN 'OK'.
*------logic to handel the event
 CALL METHOD V_OBJ_ALV-&amp;gt;CHECK_CHANGED_DATA.

  CALL METHOD CL_GUI_CFW=&amp;gt;FLUSH.

  CALL METHOD CL_GUI_CFW=&amp;gt;DISPATCH.

* handel the user command for the smartform button in secondlist
    WHEN 'SF'.    "function code for smart form callin button
*--logic to handel the smartform button
     
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Dec 2009 10:30:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517776#M1424590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-28T10:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Editable ALV and update database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517777#M1424591</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;READ TABLE it_item INDEX rs_selfield-tabindex INTO wa_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from this code u can get data of the curser and go to the T code by skiping fst screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 04:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517777#M1424591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-29T04:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Editable ALV and update database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517778#M1424592</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;Use this link and try to read the sample given by me, it will definitely help you as it did help the one in that post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8565757"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Abhijit G. Borkar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Dec 2009 05:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/editable-alv-and-update-database/m-p/6517778#M1424592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-29T05:01:54Z</dc:date>
    </item>
  </channel>
</rss>

