<?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: How to create input enabled alv grid control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606099#M1085525</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the programs from BCALV_EDIT_01 to BCALV_EDIT_08&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 05:09:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T05:09:12Z</dc:date>
    <item>
      <title>How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606097#M1085523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know how can we implement an ALV grid control report which enables us to edit/change/input data on it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea about the same if yes could you please help me with the relevant example or code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjith Nambiar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:59:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606097#M1085523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606098#M1085524</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;Go through the link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;saptechnical.com/Tutorials/ALV/Edit/fieldcatalogue.htm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mudit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606098#M1085524</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T05:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606099#M1085525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the programs from BCALV_EDIT_01 to BCALV_EDIT_08&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:09:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606099#M1085525</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T05:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606100#M1085526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would go through and revert to you later&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Ranjith Nambiar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 06:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606100#M1085526</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T06:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606101#M1085527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  yes you can enable edit/change option in ALV Grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you write the fieldcat for fields add   wa_fieldcat-edit      = 'X' for which field you want it to be editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants : c_user_command type slis_formname value 'USER_COMMAND'  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wrk_col_pos = wrk_col_pos + 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_fieldcat-col_pos   = '6'. "wrk_col_pos.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'FILLED_WT'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_l = 'Gross Weight'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-just      = 'L'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-edit      = 'X'.     " here FILLED_WT field is editable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; clear wa_fieldcat.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wrk_col_pos = wrk_col_pos + 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_fieldcat-col_pos   = '4'. "wrk_col_pos.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'CYLNO'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_l = 'Tanker Number'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-just      = 'L'.       " here CYLNO field is not editable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   clear wa_fieldcat.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; wrk_col_pos = wrk_col_pos + 1.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  wa_fieldcat-col_pos   = '5'. "wrk_col_pos.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-fieldname = 'TRGEW'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-seltext_l = 'Tar Weight'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-just      = 'L'.&lt;/P&gt;&lt;P&gt;  wa_fieldcat-edit      = 'X'.     " here TRGEW' field is not editable&lt;/P&gt;&lt;P&gt;  append wa_fieldcat to it_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in function module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;P&gt;   i_callback_program                = wrk_pgm&lt;/P&gt;&lt;P&gt;   i_callback_user_command           = c_user_command&lt;/P&gt;&lt;P&gt;   is_layout                         = wa_layout&lt;/P&gt;&lt;P&gt;   it_fieldcat                       = it_fieldcat&lt;/P&gt;&lt;P&gt;   i_save                            = 'A'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  E_EXIT_CAUSED_BY_CALLER           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ES_EXIT_CAUSED_BY_USER            =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  tables&lt;/P&gt;&lt;P&gt;    t_outtab                          = it_zprod_qty&lt;/P&gt;&lt;P&gt; exceptions&lt;/P&gt;&lt;P&gt;   program_error                     = 1&lt;/P&gt;&lt;P&gt;   others                            = 2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form user_command using p_1 type any p_selfield  type slis_selfield .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_ucomm = sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case v_ucomm.&lt;/P&gt;&lt;P&gt;  when '&amp;amp;DATA_SAVE'.&lt;/P&gt;&lt;P&gt;  clear v_ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write yor conditions and then modity the table (if you have)&lt;/P&gt;&lt;P&gt;    modify zprod_qty from table it_modify. "it_zprod_qty.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; perform display.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when '&amp;amp;IC1'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   leave program. "to SCREEN 1000.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    submit zprod_qut_decl3 via selection-screen. " and RETURN to scree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;  st_selfield-refresh = 'X'.&lt;/P&gt;&lt;P&gt;  endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpfull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Oct 2008 07:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606101#M1085527</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-22T07:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606102#M1085528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My question have been answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Oct 2008 08:52:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606102#M1085528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-24T08:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606103#M1085529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello friends&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This indeed was a great help.&lt;/P&gt;&lt;P&gt;Thank you all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I want to use some additional functionality.&lt;/P&gt;&lt;P&gt;I want to accept a few values above the grid (like accepting header data in VA01)&lt;/P&gt;&lt;P&gt;before I accept data in the ALV grid (like accepting line-items data in VA01).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;an anyone provide me w/ good reference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 14:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606103#M1085529</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T14:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create input enabled alv grid control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606104#M1085530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all - i have my ALV working but for some reason my user entered values are only written back to my internal table if i push the enter key first.  See my scenarios below.  Any help is greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario 1 (all okay)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2 records in ALV.  My cursor is placed on record 1 and a value is entered in the edit field.  Next i use my keyboard arrow keys to move to record 2 and entered a value as well.  When I finish i physically press the "enter" key.  All is okay and values are accepted and written back to my internal table  This also works okay when i push the standard save button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario 2 (not working quite well)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2 records in ALV. I edit record 1, use the arrow keys to edit record 2, then physically press a button on the application tool bar (custom button i created).  My changes to record 1 and record 2 are &lt;U&gt;not&lt;/U&gt; saved nor written back to the internal table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance should you be able to point me in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2008 20:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-create-input-enabled-alv-grid-control/m-p/4606104#M1085530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-23T20:18:17Z</dc:date>
    </item>
  </channel>
</rss>

