<?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 object oriented alv how to get selected cell values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558597#M856327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in object oriented alv's how can &amp;amp;#305; get value of selected cell?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2008 12:00:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-31T12:00:51Z</dc:date>
    <item>
      <title>object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558597#M856327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in object oriented alv's how can &amp;amp;#305; get value of selected cell?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 12:00:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558597#M856327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558598#M856328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL METHOD &amp;lt;ref.var. to CL_GUI_ALV_GRID &amp;gt; -&amp;gt;get_selected_cells&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;      ET_CELL  =   &amp;lt;internal table of type LVC_T_CELL &amp;gt; .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 12:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558598#M856328</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-03-31T12:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558599#M856329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using that method &amp;amp;#305; can select cell and then &amp;amp;#305; send that cell to another alv but problem is &amp;amp;#305; have to take value of cell but method doesn't work because each time, &amp;amp;#305; don't why, cell value is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you have any suggesstion ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 14:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558599#M856329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-31T14:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558600#M856330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it return nothing at all, or only row and column ID? If row and column ID are returned just use these to determine value through your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not quite sure why this method isn't working correct. Can you select individual cells, or can you only select entire rows and columns. Maybe the sel_mode of the layout structure is not set correct. Try and set it to SEL_MODE = D and then try method get_selected_cells again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternative method would be to use get_current_cell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, else I'm out of suggestions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2008 15:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558600#M856330</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-03-31T15:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558601#M856331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;get_selected_cell return 3 parameters, in my code i can take 2 of them but third one which is the value of cell, can not return from method, &amp;amp;#305; don not why :DDD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#305; try other methods, &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 07:49:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558601#M856331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T07:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558602#M856332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Selcuk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you mean method GET_CURRENT_CELL (because I do not see any method GET_SELECTED_CELL in this class on ECC6.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that you do not get the value of parameter E_VALUE might by the &lt;STRONG&gt;type&lt;/STRONG&gt; of your local variable.&lt;/P&gt;&lt;P&gt;I assume you are using a STRING variable. Replace it with a simple C-type variable, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: ld_value   TYPE lvc_value.
DATA: ld_row     TYPE i.
DATA: ld_col      TYPE i.

CALL METHOD go_grid-&amp;gt;get_current_cell
  IMPORTING
    e_row = ld_row
    e_value = ld_value
    e_column = ld_col.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 08:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558602#M856332</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-04-02T08:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558603#M856333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;amp;#305; find sel_mode in structure but how can &amp;amp;#305; set sel_mode ? such as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layout-sel_mode = 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 08:13:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558603#M856333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T08:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558604#M856334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Secul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below you find some explanations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NO_ROWMARK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If this field is set, the button at the beginning of a row is hidden in selection modes cell selection ( SEL_MODE = 'D' ) and column/row selection ( SEL_MODE = 'A' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: SPACE, 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SEL_MODE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Set the selection mode (see table at C.4.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Possible values: SPACE, 'A', 'B', 'C', 'D'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Value
Mode
Possible selections
Comment

SPACE
same as 'B'
see 'B'
Default setting

'A'
Column and row selection
Multiple columns
Multiple rows
The user selects the rows through pushbuttons at the left border of the grid control.

'B'
Simple selection, list box
Multiple columns
Multiple rows

'C'
Multiple selection, list box
Multiple columns
Multiple rows

'D'
Cell selection
Multiple columns
Multiple rows
Any cells&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The user selects the rows through pushbuttons at the left border of the grid control.&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;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 08:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558604#M856334</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-04-02T08:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558605#M856335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thks &amp;amp;#305; solve my problem &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2008 08:38:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558605#M856335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-02T08:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: object oriented alv how to get selected cell values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558606#M856336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello selcuck,&lt;/P&gt;&lt;P&gt;I am also facing the same problem.&lt;/P&gt;&lt;P&gt;Can you please tell me how u solved this issue.. &lt;/P&gt;&lt;P&gt;If u have any sample coding.. it will be really helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Linda.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 03:29:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/object-oriented-alv-how-to-get-selected-cell-values/m-p/3558606#M856336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T03:29:50Z</dc:date>
    </item>
  </channel>
</rss>

