<?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: OOPS ALV : Cannot change initial cell which is editable in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103072#M1815255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its general behavior of any input field. When you place mouse and click on the field the cursor stands where exactly clicked and it could be Beginning / Ending / Middle of the text in the field.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Important : After moving to the next field, the next field is highlighted, and the user can directly change it without pressing any other button.&lt;/SPAN&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as you mentioned, how user moving to next field either using TAB key or again with mouse click??&lt;/P&gt;&lt;P&gt;If he is moving with TAB key obviously the whole text will be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 10:01:51 GMT</pubDate>
    <dc:creator>VijayaKrishnaG</dc:creator>
    <dc:date>2014-02-19T10:01:51Z</dc:date>
    <item>
      <title>OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103070#M1815253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using OOPS to display an ALV. It has 1 column (POSTP) - CHAR(1) editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when the ALV is displayed, and the user clicks on POSTP to change it, he cannot change it without pressing Backspace/Delete button. (i.e. The field is not selected, The cursor is at the beginning of the field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important : After moving to the next field, the next field is highlighted, and the user can directly change it without pressing any other button.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/391591" /&gt;&lt;/P&gt;&lt;P&gt;I have tried changing the field-cat/layout values, but it didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to explicitly highlight the field after ALV is displayed&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Rajat Bothra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103070#M1815253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-19T09:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103071#M1815254</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;change the user parameter OVR instead of INS&amp;nbsp; and your user will not have to delete the field before entering a new value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your users are little lazy ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 09:58:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103071#M1815254</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2014-02-19T09:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103072#M1815255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its general behavior of any input field. When you place mouse and click on the field the cursor stands where exactly clicked and it could be Beginning / Ending / Middle of the text in the field.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Important : After moving to the next field, the next field is highlighted, and the user can directly change it without pressing any other button.&lt;/SPAN&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as you mentioned, how user moving to next field either using TAB key or again with mouse click??&lt;/P&gt;&lt;P&gt;If he is moving with TAB key obviously the whole text will be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103072#M1815255</guid>
      <dc:creator>VijayaKrishnaG</dc:creator>
      <dc:date>2014-02-19T10:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103073#M1815256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a method cl_gui_alv_grid-&amp;gt;SELECT_TEXT_IN_CURR_CELL( ). Go ahead a try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 10:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103073#M1815256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-19T10:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103074#M1815257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jozef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to implement this method, but for this, first i need to set the cursor to the intended cell.&lt;/P&gt;&lt;P&gt;And for this purpose, i tried to use the below method :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;METHOD &lt;/SPAN&gt;go_grid&lt;SPAN class="L0S70"&gt;-&amp;gt;&lt;/SPAN&gt;set_current_cell_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; row_id &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; col_id &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTIONS&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; error&amp;nbsp; = 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S31"&gt;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; others = 2&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But the program gives an error message that this method id set as protected and can't be used.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Any idea on how to proceed ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Rajat.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 12:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103074#M1815257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-24T12:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103075#M1815258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Frederic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how to do that.&lt;/P&gt;&lt;P&gt;Also, does that need to be done for every user or it is a global setting ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 12:19:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103075#M1815258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-24T12:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103076#M1815259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on ECC 6.0 and in this system the method is public. Last change from SAP on the definition was on 17.6.2013 in this system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One workaround would be inheriting CL_GUI_ALV_GRID into another customer class and redefining the method definition (or more likely creating another z-method, which would call the protected method from CL_GUI_ALV_GRID_BASE-&amp;gt;SELECT_TEXT_IN_CURRENT_CELL. That would mean changing the definition of your global alv variable in the code. I'm not sure, if this would not be just too much effort comparing the addition value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure you did not use this method from *GRID_BASE? That one is really protected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 12:45:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103076#M1815259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-24T12:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: OOPS ALV : Cannot change initial cell which is editable</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103077#M1815260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jozef.&lt;/P&gt;&lt;P&gt;I used methods : &lt;/P&gt;&lt;P&gt;cl_gui_control&lt;SPAN class="L0S70"&gt;=&amp;gt;&lt;/SPAN&gt;set_focus, &lt;/P&gt;&lt;P&gt;set_current_cell_via_id and&amp;nbsp; select_text_in_curr_cell&lt;SPAN class="L0S55"&gt;( &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Rajat Bothra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 12:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/oops-alv-cannot-change-initial-cell-which-is-editable/m-p/10103077#M1815260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-26T12:01:20Z</dc:date>
    </item>
  </channel>
</rss>

