<?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: Interactive ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648825#M878812</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;for interactive report this are the events to triggred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;events of interactive report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                         at line selection &lt;/P&gt;&lt;P&gt;                         at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points&lt;/P&gt;&lt;P&gt;Fareedas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Apr 2008 11:15:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-08T11:15:40Z</dc:date>
    <item>
      <title>Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648822#M878809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SDN friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody tell us how to make interactive alv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the function modules and the mandatory parameters to pass.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 07:12:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648822#M878809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T07:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648823#M878810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4730968"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5032217"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4917043"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5134112"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 07:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648823#M878810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T07:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648824#M878811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Rajesh Parandkar,
Here is the procedure to handle Interactive ALV.
1. 
declare events table like this.
&lt;PRE&gt;&lt;CODE&gt;data :
      i_events  type slis_t_event,
      w_events  like line of i_events.&lt;/CODE&gt;&lt;/PRE&gt;
2.
Build events table .

&lt;PRE&gt;&lt;CODE&gt;w_events-name = 'USER_COMMAND' .
w_events-form = 'USER_COMMAND' .
append w_events to i_events.
clear w_events.
 
w_events-name = 'PF_STATUS_SET' .
w_events-form = 'PF_STATUS_SET' .
append w_events to i_events.
clear w_events.&lt;/CODE&gt;&lt;/PRE&gt;
3.
pass this events table through REUSE_ALV_GRID_DISPLAY.
4. 
USER_COMMAND and PF_STATUS_SET call back subroutines should be like this in your case. These are nowhere called using PERFORM statement in ur program.
5.
USER_COMMAND subroutine should be like this.
&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  user_command
*&amp;amp;---------------------------------------------------------------------*
form user_command using ucomm like sy-ucomm
                  selfield type slis_selfield.
  case ucomm .
    when '&amp;amp;IC1'. This is for double click on ALV output.
      skip 10.
      position 10.
      write 'Double click was executed'.
  endcase.
 
endform.                    "user_command&lt;/CODE&gt;&lt;/PRE&gt;
&lt;STRONG&gt;selfield structure&lt;/STRONG&gt; 
You can also handle Interactive ALV using this structure.
&lt;PRE&gt;&lt;CODE&gt;types: begin of slis_selfield,
         tabname              type slis_tabname,
         tabindex             like sy-tabix,
         sumindex             like sy-tabix,
         endsum(1)            type c,
         sel_tab_field        type slis_sel_tab_field,
         value                type slis_entry,
         before_action(1)     type c,
         after_action(1)      type c,
         refresh(1)           type c,
         col_stable(1)        type c,
         row_stable(1)        type c,
*        colwidth_optimize(1) type c,
         exit(1)              type c,
         fieldname            type slis_fieldname,
         grouplevel           type i,
         collect_from         type i,
         collect_to           type i,
       end of slis_selfield.&lt;/CODE&gt;&lt;/PRE&gt;6.
PF_STATUS_SET' subroutine should be like this.
&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  pf_status_set
*&amp;amp;---------------------------------------------------------------------*
form pf_status_set    using extab type slis_t_extab.
set pf-status 'STATUS1' excluding g_extab.
 
endform.                    "pf_status_set&lt;/CODE&gt;&lt;/PRE&gt;

I hope that it helps u.

&lt;STRONG&gt;Regards,&lt;/STRONG&gt;
&lt;STRONG&gt;Venkat.O&lt;/STRONG&gt;
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 07:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648824#M878811</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-04-03T07:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648825#M878812</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;for interactive report this are the events to triggred&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;events of interactive report&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                         at line selection &lt;/P&gt;&lt;P&gt;                         at user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points&lt;/P&gt;&lt;P&gt;Fareedas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Apr 2008 11:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3648825#M878812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-08T11:15:40Z</dc:date>
    </item>
  </channel>
</rss>

