<?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/3712211#M893661</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;&lt;/P&gt;&lt;P&gt;create two menu options like sales ,purchase using set-pf status .then go to se41 create options.&lt;/P&gt;&lt;P&gt;here use get cursor command to hold value whtever you preesed.&lt;/P&gt;&lt;P&gt;after that call transaction vao3 when sales.like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRy like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 04:57:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T04:57:00Z</dc:date>
    <item>
      <title>Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712208#M893658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have an alv report. In that if i click on the document number it has to go to VA03 and ME23N.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF that document is sales, it has to go to VA03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF that document is Purchase, it has to go to ME23N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712208#M893658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T04:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712209#M893659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need help for Interactive ALV. I can check for the document is either sales or purchase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ajay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712209#M893659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T04:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712210#M893660</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;&lt;/P&gt;&lt;P&gt;get the parameter id of the field from the attributes screen of that field.&lt;/P&gt;&lt;P&gt;SET PARAMETER ID '&amp;lt;parameter id of that field&amp;gt;' FIELD &amp;lt;selection screen field&amp;gt;.&lt;/P&gt;&lt;P&gt;or to get the parameter id of the field go to the screen by executing the transaction and goto the F1 help of that field and in the F1 help press the technical information button.one window will appear to you.in that u can see the parameter id of that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID : 'BLN' FIELD lv_belnr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.&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;Sample program&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;report zrich_0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Global ALV Data Declarations &lt;/P&gt;&lt;P&gt;type-pools: slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal Tables &lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;matnr type mara-matnr,&lt;/P&gt;&lt;P&gt;maktx type makt-maktx,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform get_data.&lt;/P&gt;&lt;P&gt;perform call_alv.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Form GET_DATA &lt;/P&gt;&lt;P&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;form get_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select mara&lt;SUB&gt;matnr makt&lt;/SUB&gt;maktx&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from mara&lt;/P&gt;&lt;P&gt;inner join makt&lt;/P&gt;&lt;P&gt;on mara&lt;SUB&gt;matnr = makt&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;up to 20 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_ALV &lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;form call_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ifc type slis_t_fieldcat_alv.&lt;/P&gt;&lt;P&gt;data: xfc type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;data: repid type sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;repid = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear xfc. refresh ifc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear xfc.&lt;/P&gt;&lt;P&gt;xfc-reptext_ddic = 'Material Number'.&lt;/P&gt;&lt;P&gt;xfc-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;xfc-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;xfc-outputlen = '18'.&lt;/P&gt;&lt;P&gt;append xfc to ifc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear xfc.&lt;/P&gt;&lt;P&gt;xfc-reptext_ddic = 'Material Description'.&lt;/P&gt;&lt;P&gt;xfc-fieldname = 'MAKTX'.&lt;/P&gt;&lt;P&gt;xfc-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;xfc-outputlen = '40'.&lt;/P&gt;&lt;P&gt;append xfc to ifc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call ABAP List Viewer (ALV) &lt;/P&gt;&lt;P&gt;call function 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;i_callback_program = repid&lt;/P&gt;&lt;P&gt;i_callback_user_command = 'HANDLE_USER_COMMAND'&lt;/P&gt;&lt;P&gt;it_fieldcat = ifc&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;t_outtab = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM handle_User_Command * &lt;/P&gt;&lt;P&gt;***********************************************************************&lt;/P&gt;&lt;P&gt;form handle_user_command using r_ucomm like sy-ucomm&lt;/P&gt;&lt;P&gt;rs_selfield type slis_selfield.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case r_ucomm.&lt;/P&gt;&lt;P&gt;when '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case rs_selfield-FIELDNAME.&lt;/P&gt;&lt;P&gt;when 'MATNR'.&lt;/P&gt;&lt;P&gt;set parameter id 'MAT' field rs_selfield-value.&lt;/P&gt;&lt;P&gt;call transaction 'MD04' and skip first screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;&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;Raj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712210#M893660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T04:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712211#M893661</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;&lt;/P&gt;&lt;P&gt;create two menu options like sales ,purchase using set-pf status .then go to se41 create options.&lt;/P&gt;&lt;P&gt;here use get cursor command to hold value whtever you preesed.&lt;/P&gt;&lt;P&gt;after that call transaction vao3 when sales.like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRy like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712211#M893661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T04:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712212#M893662</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;&lt;/P&gt;&lt;P&gt;  For ur requirtment use ALV List Function Module and try the same. Validate the data in Interactie List to get the Details of Purchase or Sales data and Call the Transaction Me23n or VA03.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 04:58:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712212#M893662</guid>
      <dc:creator>saranwin</dc:creator>
      <dc:date>2008-05-06T04:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712213#M893663</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;&lt;SPAN __default_attr="sylfaen" __jive_macro_name="font"&gt;&lt;SPAN __default_attr="15" __jive_macro_name="size"&gt;While defining the field catalog enable HOTSPOT. 

In in routine USER_COMMAND, check the field selected and accordingly call the required transaction.

Below code can give you a simple idea:
&lt;PRE&gt;&lt;CODE&gt;      CASE I_SELFIELD-SEL_TAB_FIELD.
        WHEN 'I_ARSEG-BELNR'.
          CHECK NOT ST_ARSEG-BELNR IS INITIAL.
          SET PARAMETER ID 'RBN' FIELD ST_ARSEG-BELNR.
          SET PARAMETER ID 'GJR' FIELD ST_ARSEG-GJAHR.
          CALL TRANSACTION TCODE_MIR4 AND SKIP FIRST SCREEN.

        WHEN 'I_ARSEG-LIFNR'.
          SET PARAMETER ID 'LIF' FIELD ST_ARSEG-LIFNR.
          SET PARAMETER ID 'KDY' FIELD '/110'.
          CALL TRANSACTION 'MK03' AND SKIP FIRST SCREEN.

        WHEN 'I_ARSEG-EBELN'.
          CALL FUNCTION 'MR_PO_DISPLAY'
            EXPORTING
              I_EBELN = ST_ARSEG-EBELN.

        WHEN 'I_ARSEG-BELNR_FI'.
          CHECK NOT ST_ARSEG-BELNR IS INITIAL.
          READ TABLE I_ARSEG INTO ST_ARSEG
               WITH KEY BELNR = ST_ARSEG-BELNR
                        GJAHR = ST_ARSEG-GJAHR.
          PERFORM SHOW_FI_DOC
                USING ST_ARSEG-BUKRS
                      ST_ARSEG-BELNR_FI
                      ST_ARSEG-GJAHR.

      ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN __default_attr="maroon" __jive_macro_name="color"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712213#M893663</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712214#M893664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;write code like this in your interactive alv report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        i_callback_program       = sy-repid&lt;/P&gt;&lt;P&gt;        i_callback_top_of_page   = 'TOP-OF-PAGE2'&lt;/P&gt;&lt;P&gt;        i_callback_pf_status_set = 'SET_PF_STATUS'&lt;/P&gt;&lt;P&gt;        is_layout                = wa_layout&lt;/P&gt;&lt;P&gt;        it_fieldcat              = it_fieldcat&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        t_outtab                 = it_ekpo&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        program_error            = 1&lt;/P&gt;&lt;P&gt;        OTHERS                   = 2.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      form set_pf_status&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM set_pf_status USING rt_extab TYPE slis_t_extab.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'MYMENU'.&lt;/P&gt;&lt;P&gt;  "Copy of 'STANDARD' pf_status from fgroup SALV&lt;/P&gt;&lt;P&gt;ENDFORM.                    "set_pf_status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  AT_user_command&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM at_user_command  USING r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;        			  rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;  CASE r_ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'SAI'.&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'DISP'.&lt;/P&gt;&lt;P&gt;call transaction 'ME23N' and skip first screen.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.                    "AT_user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in mymenu status you put these two buttons(sai,disp) as push buttons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 05:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712214#M893664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T05:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712215#M893665</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;    check out this code....copy-paste it......then.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type-pools : slis.&lt;/P&gt;&lt;P&gt;data : it type STANDARD TABLE OF vbak.&lt;/P&gt;&lt;P&gt;data : it_event TYPE slis_t_event ,&lt;/P&gt;&lt;P&gt;       wa_event LIKE LINE OF it_event .&lt;/P&gt;&lt;P&gt;select * from vbak into table it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_EVENTS_GET'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    i_list_type     = 0&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    et_events       = it_event&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    list_type_wrong = 1&lt;/P&gt;&lt;P&gt;    OTHERS          = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_event INTO wa_event .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF wa_event-name = 'USER_COMMAND' .&lt;/P&gt;&lt;P&gt;    wa_event-form = 'TRANCALL' .&lt;/P&gt;&lt;P&gt;    MODIFY it_event FROM wa_event INDEX sy-tabix .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   I_CALLBACK_PROGRAM                = SY-REPID&lt;/P&gt;&lt;P&gt;   I_STRUCTURE_NAME                  = 'vbak'&lt;/P&gt;&lt;P&gt;   IT_EVENTS                         = IT_EVENT&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    T_OUTTAB                          = it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM TRANCALL USING fp_ucom TYPE sy-ucomm&lt;/P&gt;&lt;P&gt;                    fp_selfield TYPE slis_selfield .&lt;/P&gt;&lt;P&gt;  IF fp_ucom = '&amp;amp;IC1' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//* call transaction : according to the contents of fp_selfield *//&lt;/P&gt;&lt;P&gt;/// *  if needed set memory id//&lt;/P&gt;&lt;P&gt;///* call transcation &amp;lt;TCODE&amp;gt; 'SKIP INITIAL SCREEN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.............. By going into debug mode you can look -out the content of the structure :  fp_selfield . It contains all the information You need !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 10:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712215#M893665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T10:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712216#M893666</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;Please refer the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/reporting/alv/alvgrid_enhanced.htm" target="test_blank"&gt;http://www.sapdev.co.uk/reporting/alv/alvgrid_enhanced.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram POnna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 10:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/3712216#M893666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T10:54:17Z</dc:date>
    </item>
  </channel>
</rss>

