<?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: CL_GUI_ALV_TREE with user command in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-with-user-command/m-p/8126627#M1618939</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved myself : did something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Getting the selected row from the output screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD tree1-&amp;gt;get_selected_nodes&lt;/P&gt;&lt;P&gt;        CHANGING&lt;/P&gt;&lt;P&gt;          ct_selected_nodes = l_node_key.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Getting the index from the l_node_key&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CLEAR : wa_key.&lt;/P&gt;&lt;P&gt;      READ TABLE l_node_key INTO wa_key INDEX 1.&lt;/P&gt;&lt;P&gt;*Reading the Internal table with the key selected&lt;/P&gt;&lt;P&gt;      CLEAR : wa_final1.&lt;/P&gt;&lt;P&gt;      READ TABLE it_final INTO wa_final1 INDEX wa_key.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        l_notif = wa_final1-qmnum.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID : 'IQM' FIELD l_notif.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'IW52'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 23:23:18 GMT</pubDate>
    <dc:creator>kp_25</dc:creator>
    <dc:date>2011-08-11T23:23:18Z</dc:date>
    <item>
      <title>CL_GUI_ALV_TREE with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-with-user-command/m-p/8126626#M1618938</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 am using CL_GUI_ALV_TREE class for a ALV tree model output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the user presses on a button on tool bar I need to go to another transaction ..eg., Functional Location with the value of FL from the output screen.How to get  the value of the functional location and pass it to the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any specific method which can capture the values of the selected rows? I already tried  &lt;STRONG&gt;get_selected_item&lt;/STRONG&gt; and &lt;STRONG&gt;get_selected_nodes&lt;/STRONG&gt; but they just return the field and line .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any help here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 19:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-with-user-command/m-p/8126626#M1618938</guid>
      <dc:creator>kp_25</dc:creator>
      <dc:date>2011-08-11T19:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: CL_GUI_ALV_TREE with user command</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-with-user-command/m-p/8126627#M1618939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved myself : did something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Getting the selected row from the output screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CALL METHOD tree1-&amp;gt;get_selected_nodes&lt;/P&gt;&lt;P&gt;        CHANGING&lt;/P&gt;&lt;P&gt;          ct_selected_nodes = l_node_key.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Getting the index from the l_node_key&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      CLEAR : wa_key.&lt;/P&gt;&lt;P&gt;      READ TABLE l_node_key INTO wa_key INDEX 1.&lt;/P&gt;&lt;P&gt;*Reading the Internal table with the key selected&lt;/P&gt;&lt;P&gt;      CLEAR : wa_final1.&lt;/P&gt;&lt;P&gt;      READ TABLE it_final INTO wa_final1 INDEX wa_key.&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        l_notif = wa_final1-qmnum.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      SET PARAMETER ID : 'IQM' FIELD l_notif.&lt;/P&gt;&lt;P&gt;      CALL TRANSACTION 'IW52'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kamala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 23:23:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/cl-gui-alv-tree-with-user-command/m-p/8126627#M1618939</guid>
      <dc:creator>kp_25</dc:creator>
      <dc:date>2011-08-11T23:23:18Z</dc:date>
    </item>
  </channel>
</rss>

