<?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: Problem : Getting selected node data in ALV Tree display in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676180#M885288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with get_selected_nodes but it returns some numeric value however i want to capture data of selected record. Please suggest &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2008 14:18:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-16T14:18:52Z</dc:date>
    <item>
      <title>Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676174#M885282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used ALV report tree for a program. Now i want to perform some action for any node / any column of node selected . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May i know which system field i should use for getting current record selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 13:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676174#M885282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-15T13:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676175#M885283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is no system field for this, but there are methods within the alv tree class which should help you. I don't have a system at hand right now, so I can't give you the exact name of the method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2008 15:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676175#M885283</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-15T15:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676176#M885284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me in finding the method of class CL_GUI_ALV_TREE by which i can capture selected node data ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 14:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676176#M885284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T14:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676177#M885285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_SELECTED_NODES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 14:05:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676177#M885285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676178#M885286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want for item then use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_SELECTED_ITEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for Node use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_SELECTED_NODES&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 14:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676178#M885286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T14:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676179#M885287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used this in the DOUBLE_CLICK Method&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  METHOD  handle_item_double_click.
    " this method handles the item double click event of the tree
    " control instance

    " show the key of the node and the name of the item
    " of the double clicked item in a dynpro field
    g_event = 'ITEM_DOUBLE_CLICK'.
    g_node_key = node_key.
    g_item_name = item_name.
    READ TABLE item_table INTO item
      WITH KEY node_key   = g_node_key
               item_name  = 'Column3'.
    IF sy-subrc = 0.
      g_item_text = item-text.
      IF NOT g_item_text IS INITIAL.
data: tcode     type TSTC-TCODE.
        tcode = g_item_text.
        CALL FUNCTION 'AUTHORITY_CHECK_TCODE'
             EXPORTING
                  tcode  = tcode
             EXCEPTIONS
                  ok     = 1
                  not_ok = 2
                  OTHERS = 3.
        IF sy-subrc &amp;lt;&amp;gt; 1.
          MESSAGE E208(00)
            WITH 'You are not authorized to use this transaction'.
        ELSE.

          CALL TRANSACTION g_item_text.
        ENDIF.
      ENDIF.
    ENDIF.
    CLEAR g_header_name.
  ENDMETHOD.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 14:16:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676179#M885287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T14:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676180#M885288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with get_selected_nodes but it returns some numeric value however i want to capture data of selected record. Please suggest &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2008 14:18:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676180#M885288</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-16T14:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676181#M885289</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;Can anybody suggest which method of class CL_GUI_ALV_TREE i can use to capture data of selected record of ALV report Tree ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If get_selected_item method can be used then please let me know how to use that method and which parameters are essential. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 06:57:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676181#M885289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-17T06:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem : Getting selected node data in ALV Tree display</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676182#M885290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one know how to deal with this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Jun 2010 12:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-getting-selected-node-data-in-alv-tree-display/m-p/3676182#M885290</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-19T12:04:27Z</dc:date>
    </item>
  </channel>
</rss>

