<?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: one editable cell in alv grid using function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252979#M1213541</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;if you really want to have editable only one cell (not one column) then I do not think so that it is possible. What you can try to do is that you will implement double click for the whole column. In the handling routine for double click you will display pop up window to change value of your desired cell and all other cell you will simply ignore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 01:49:00 GMT</pubDate>
    <dc:creator>mvoros</dc:creator>
    <dc:date>2009-02-12T01:49:00Z</dc:date>
    <item>
      <title>one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252976#M1213538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one have an idea how to make a single editable cell in alv grid using function module, i mean to say&lt;/P&gt;&lt;P&gt;with out using object oriented programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 14:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252976#M1213538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T14:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252977#M1213539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 17:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252977#M1213539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-11T17:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252978#M1213540</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;I had the same requirement in one of my development and below is what I did. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CLEAR: w_fieldcat.&lt;/P&gt;&lt;P&gt;    w_fieldcat-col_pos = w_counter.&lt;/P&gt;&lt;P&gt;    w_fieldcat-fieldname = 'PLANNED_HOURS'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-seltext_l = text-m34.&lt;/P&gt;&lt;P&gt;    w_fieldcat-outputlen = 5.&lt;/P&gt;&lt;P&gt;    w_fieldcat-edit      = 'X'.&lt;/P&gt;&lt;P&gt;    w_fieldcat-emphasize = 'C300'.&lt;/P&gt;&lt;P&gt;    APPEND w_fieldcat TO t_fieldcat.&lt;/P&gt;&lt;P&gt;    w_counter = w_counter + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT = 'X' will make the field editable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 22:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252978#M1213540</guid>
      <dc:creator>nagarajan_ramudu</dc:creator>
      <dc:date>2009-02-11T22:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252979#M1213541</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;if you really want to have editable only one cell (not one column) then I do not think so that it is possible. What you can try to do is that you will implement double click for the whole column. In the handling routine for double click you will display pop up window to change value of your desired cell and all other cell you will simply ignore.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 01:49:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252979#M1213541</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2009-02-12T01:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252980#M1213542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;to make field editable in your ALV, you need to add one more line in field cat design.&lt;/P&gt;&lt;P&gt;make fieldcat-edit = 'X' for that specific field.&lt;/P&gt;&lt;P&gt;this will make field editable when ALV will display. when you will do some change in ALV report in that editable field and click on save button it will save the change in internal table which is passed in ALV report means it will modify the internal table and when you will back from ALV report you can see the change in internal table if you will display that internal table again. if you have still dout then please let me know. thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 02:38:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252980#M1213542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T02:38:04Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252981#M1213543</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;Using ALV List display it is possible.&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;TYPE-POOLS:SLIS.&lt;/P&gt;&lt;P&gt;DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;DATA: IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;DATA:IT_EVENTS TYPE SLIS_T_EVENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of it_chg occurs 0,&lt;/P&gt;&lt;P&gt;      index type sy-tabix,&lt;/P&gt;&lt;P&gt;      end of it_chg.&lt;/P&gt;&lt;P&gt;DATA:  X_EVENTS    TYPE SLIS_ALV_EVENT.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;      NAME(10) TYPE C,&lt;/P&gt;&lt;P&gt;      ZTERM TYPE C,&lt;/P&gt;&lt;P&gt;      END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM FILL_TABLE.&lt;/P&gt;&lt;P&gt;loop at itab where zterm = 'A'.&lt;/P&gt;&lt;P&gt;it_chg-index = sy-tabix + 3.&lt;/P&gt;&lt;P&gt;" addition 3 IS FOR FIELD LABELS&lt;/P&gt;&lt;P&gt;append it_chg.&lt;/P&gt;&lt;P&gt;clear it_chg.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:L_POS TYPE I VALUE 1.&lt;/P&gt;&lt;P&gt;CLEAR: L_POS.&lt;/P&gt;&lt;P&gt;L_POS = L_POS + 1.&lt;/P&gt;&lt;P&gt;**fieldcatalog&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'NAME'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS    = L_POS.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-OUTPUTLEN = '10'.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt;L_POS = L_POS + 1.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'ZTERM'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS    = L_POS.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-OUTPUTLEN = '10'.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt;**events&lt;/P&gt;&lt;P&gt;REFRESH:IT_EVENTS.&lt;/P&gt;&lt;P&gt;CLEAR:X_EVENTS,IT_EVENTS.&lt;/P&gt;&lt;P&gt;X_EVENTS-NAME = SLIS_EV_END_OF_LIST.&lt;/P&gt;&lt;P&gt;X_EVENTS-FORM = 'MODIFY_LIST'.&lt;/P&gt;&lt;P&gt;APPEND X_EVENTS TO IT_EVENTS.&lt;/P&gt;&lt;P&gt;CLEAR X_EVENTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;data lv_repid type sy-repid.&lt;/P&gt;&lt;P&gt;lv_repid = sy-repid.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_CALLBACK_PROGRAM = lv_REPID&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT        = IT_FIELDCAT&lt;/P&gt;&lt;P&gt;      IT_EVENTS          = IT_EVENTS&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB           = ITAB&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;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form FILL_TABLE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM FILL_TABLE.&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'AAA'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'A'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'ABC'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'B'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'TEST'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'C'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'BBB'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'D'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = '123'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'E'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'GEN'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'A'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'ALV'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'F'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ITAB-NAME = 'ALVTEST'.&lt;/P&gt;&lt;P&gt;  ITAB-ZTERM = 'A'.&lt;/P&gt;&lt;P&gt;  APPEND ITAB.&lt;/P&gt;&lt;P&gt;  clear itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    "FILL_TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  MODIFY_LIST&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM MODIFY_LIST.&lt;/P&gt;&lt;P&gt;data: l_lines type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;describe table itab lines l_lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  L_LINES  = L_LINES + 3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; "because we have 3 lines extra occupied by lables.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; "if we have header,i mean top of page add the no.of lines&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; "how many ever top of page have + 3 for labels.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DO L_LINES TIMES.&lt;/P&gt;&lt;P&gt;    read table it_chg with key INDEX = sy-index.&lt;/P&gt;&lt;P&gt;    if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;**This code is for reading the out put line&lt;/P&gt;&lt;P&gt;**and modify accordinlg to our requiremnet.&lt;/P&gt;&lt;P&gt;**don't chnage this.&lt;/P&gt;&lt;P&gt;      READ LINE SY-INDEX INDEX SY-LSIND.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        MODIFY LINE SY-INDEX INDEX SY-LSIND&lt;/P&gt;&lt;P&gt;                   FIELD FORMAT ITAB-NAME INPUT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDDO.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "MODIFY_LIST&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 02:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252981#M1213543</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2009-02-12T02:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252982#M1213544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jayanthi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it not possible for Grid display.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:09:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252982#M1213544</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: one editable cell in alv grid using function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252983#M1213545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey jayanthi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using almost the same code as you but the diffrence is i am using REUSE_ALV_FIELDCATALOG_MERGE to generate field catlog. &lt;/P&gt;&lt;P&gt; will it efffect ??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cause i am not able to make some cells editable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 07:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-editable-cell-in-alv-grid-using-function-module/m-p/5252983#M1213545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-09T07:12:16Z</dc:date>
    </item>
  </channel>
</rss>

