<?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: How do I enable at user command for OO Interactive ALV ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832635#M1956670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When defining handling method for double-click use the implicit parameter sender, so you can share the same method between two or more grid, just use some 'case sender/when alv1/when alv2/endcase' syntax and a set handler for all instances at start of program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 07:02:51 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2016-08-29T07:02:51Z</dc:date>
    <item>
      <title>How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832633#M1956668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created an ALV report based on a document, which when clicked into brings up another ALV report with additional information. Now I need to further be able to click into any one of the lines of the 2nd ALV report and be able to use the information for further use. Anybody has any ideas ? I tried using the same subroutine at_user_command for the processing the 2nd ALV lines, but it just does not recognize the input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps followed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Execute report with some selection criteria.&lt;/P&gt;&lt;P&gt;2. ALV report 1 is displayed.&lt;/P&gt;&lt;P&gt;3. Choose any line of ALV Report 1 and press Process button. &lt;/P&gt;&lt;P&gt;4. That opens up another ALV Report 2.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;5. Now choose any line of ALV Report 2 and try to process a line. ----&amp;gt; This step is the stumbling block. &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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Anyone has any suggestions? Thanks so much!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 06:51:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832633#M1956668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T06:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832634#M1956669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Check did you register the event properly for the object of second report in PBO module.?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 06:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832634#M1956669</guid>
      <dc:creator>Ashg1402</dc:creator>
      <dc:date>2016-08-29T06:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832635#M1956670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When defining handling method for double-click use the implicit parameter sender, so you can share the same method between two or more grid, just use some 'case sender/when alv1/when alv2/endcase' syntax and a set handler for all instances at start of program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 07:02:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832635#M1956670</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-08-29T07:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832636#M1956671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish, I did specify a SET HANDLER for the events (for user command) if that is what you meant... Let me know if there is anything more to it. Thnx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:44:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832636#M1956671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832637#M1956672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond, that's what I did... had a SET HANDLER for user command and re-used the same subroutine in which I have a case-endcase for whichever pushbutton was chosen (either from the first report or the second) . But I found that the control doesn't even go to the event in case of the ALV Report 2, which is what I am trying to troubleshoot. Any suggestions? Thnx!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 13:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832637#M1956672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T13:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832638#M1956673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you submit another report you wont be allowed to share such objects (New internal session)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 15:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832638#M1956673</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-08-29T15:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I enable at user command for OO Interactive ALV ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832639#M1956674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys, I finally was able to resolve it. While I had the SET HANDLER for user command, I hadn't registered the object reference. So once I put in this statement before the SET HANDLER, things started working. Thanks for pointing me to this direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: gr_alv type ref to cl_salv_table. &lt;/P&gt;&lt;P&gt;lo_evnt = gr_alv-&amp;gt;get_event( ).&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;gt;&amp;gt;&amp;gt; This was the line I missed&lt;/P&gt;&lt;P&gt;create object gr_evnt.&lt;/P&gt;&lt;P&gt;set handler gr_evnt-&amp;gt;on_user_command for lo_evnt. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 18:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-enable-at-user-command-for-oo-interactive-alv/m-p/11832639#M1956674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-29T18:47:32Z</dc:date>
    </item>
  </channel>
</rss>

