<?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/1072506#M95231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the SAP demo programs for ALV .&lt;/P&gt;&lt;P&gt;Search with B&lt;STRONG&gt;ALV&lt;/STRONG&gt; you will see lots of programs.In that you cane see demo programs for your qusetion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2005 14:22:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-17T14:22:42Z</dc:date>
    <item>
      <title>Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072501#M95226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one ALV output.In that if i click on one column one more ALV grid has to display.If i click on some  column in the second ALV Grid i want to open one more ALV grid or some transaction.That means i have to identify the column and which i have clicked and display the desired output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;DRB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072501#M95226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072502#M95227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try useing the methods 'GET_SELECTED_CELLS' or&lt;/P&gt;&lt;P&gt;  'GET_SELECTED_COLUMNS' and 'GET_CURRENT_CELL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Siri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Srilatha T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072502#M95227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072503#M95228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;See this link....&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_ucomm.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_ucomm.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072503#M95228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072504#M95229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Welcome to SDN !!! &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;   Use the methods GET_SELECTED_ROWS_BASE (to get the selected row no) and GET_CELL_DATA (selected Cell Data) present in the class CL_GUI_ALV_GRID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using these methods, u can fullfil the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072504#M95229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072505#M95230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ravi,&lt;/P&gt;&lt;P&gt;   Are you sure you are clicking in the columns? Or is it rows? If it is rows, then write the code in a form routine to hadle what should happen next.&lt;/P&gt;&lt;P&gt;like this,&lt;/P&gt;&lt;P&gt;FORM DETAIL 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 'DETAIL'.&lt;/P&gt;&lt;P&gt;      IF RS_SELFIELD-FIELDNAME EQ 'VBELN'.&lt;/P&gt;&lt;P&gt;write the code to get the data for the next alv grid and also call the alv grid display function module.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;This form name has to be passed to the alv grid's function module's I_CALLBACK_USER_COMMAND  parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are really loking for columns, then do as Srilatha suggested.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072505#M95230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072506#M95231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the SAP demo programs for ALV .&lt;/P&gt;&lt;P&gt;Search with B&lt;STRONG&gt;ALV&lt;/STRONG&gt; you will see lots of programs.In that you cane see demo programs for your qusetion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:22:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072506#M95231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072507#M95232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;If u are going for Normal ALV then &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  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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     For User Command&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING UCOMM LIKE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;  CASE UCOMM.&lt;/P&gt;&lt;P&gt;**-When User Double Clicks&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt;      IF SELFIELD-TABINDEX &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;**if user clicks on sales order&lt;/P&gt;&lt;P&gt;        IF SELFIELD-SEL_TAB_FIELD = 'IT_FINAL-VGBEL'.&lt;/P&gt;&lt;P&gt;          READ TABLE IT_FINAL INDEX SELFIELD-TABINDEX&lt;/P&gt;&lt;P&gt;                                          TRANSPORTING VGBEL.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;            SET PARAMETER ID 'AUN' FIELD IT_FINAL-VGBEL.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;**if user clicks on Delivery&lt;/P&gt;&lt;P&gt;        IF SELFIELD-SEL_TAB_FIELD = 'IT_FINAL-VBELN'.&lt;/P&gt;&lt;P&gt;          READ TABLE IT_FINAL INDEX SELFIELD-TABINDEX&lt;/P&gt;&lt;P&gt;                                          TRANSPORTING VBELN.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;            SET PARAMETER ID 'VL' FIELD IT_FINAL-VBELN.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          CALL TRANSACTION 'VL02N' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;**if user clicks on Order Control Hold Reason code&lt;/P&gt;&lt;P&gt;        IF SELFIELD-SEL_TAB_FIELD = 'IT_FINAL-ZZOCHOLDRC'&lt;/P&gt;&lt;P&gt;         OR SELFIELD-SEL_TAB_FIELD = 'IT_FINAL-ZZPROMDT'.&lt;/P&gt;&lt;P&gt;          READ TABLE IT_FINAL INDEX SELFIELD-TABINDEX&lt;/P&gt;&lt;P&gt;                                          TRANSPORTING&lt;/P&gt;&lt;P&gt;                                          VGBEL&lt;/P&gt;&lt;P&gt;                                          VGPOS&lt;/P&gt;&lt;P&gt;                                          ZZOCHOLDRC.&lt;/P&gt;&lt;P&gt;          IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;**second list&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;            PERFORM GET_HU_DATA.&lt;/P&gt;&lt;P&gt;            PERFORM POPULATE_FIELDCAT2.&lt;/P&gt;&lt;P&gt;            PERFORM LIST_DISPLAY.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072507#M95232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072508#M95233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if u are going for Grid &lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look this code. &lt;/P&gt;&lt;P&gt;use event handlers&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; Report  ZALV_TEST4                                                  *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&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; PROGRAM NAME:ZALV_TEST4.                                            *&lt;/P&gt;&lt;P&gt;*&amp;amp; DESCRIPTION:INTERACTIVE REPORT USING ALV.                           *&lt;/P&gt;&lt;P&gt;*&amp;amp; DEVELOPER:KALPANA B                                                 *&lt;/P&gt;&lt;P&gt;*&amp;amp; START OF DATE:04/18/2005.                                           *&lt;/P&gt;&lt;P&gt;*&amp;amp; END OF DATE:04/20/2005.                                             *&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;&lt;/P&gt;&lt;P&gt;report  zalv_test4                              .&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;            Tables&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;*tables&lt;/P&gt;&lt;P&gt;tables:ekko, "Purchase header&lt;/P&gt;&lt;P&gt;       ekpo. "Item details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; types:begin of t_ekko ,&lt;/P&gt;&lt;P&gt;     ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;     bukrs like ekko-bukrs,&lt;/P&gt;&lt;P&gt;     bstyp like ekko-bstyp,&lt;/P&gt;&lt;P&gt;     bsart like ekko-bsart,&lt;/P&gt;&lt;P&gt;     rowcolor(4) type c,&lt;/P&gt;&lt;P&gt;     cellcolor type lvc_t_scol,&lt;/P&gt;&lt;P&gt;     end of t_ekko.&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;         selecton screen                                             *&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;&lt;/P&gt;&lt;P&gt;selection-screen:begin of block main.&lt;/P&gt;&lt;P&gt;select-options:s_ebeln for ekko-ebeln.  "Purchase Document&lt;/P&gt;&lt;P&gt;selection-screen:end of block main.&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;              Internal Tables&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;data:begin of it_ekpo occurs 0,&lt;/P&gt;&lt;P&gt;     ebeln like ekpo-ebeln,&lt;/P&gt;&lt;P&gt;     bukrs like ekpo-bukrs,&lt;/P&gt;&lt;P&gt;     werks like ekpo-werks,&lt;/P&gt;&lt;P&gt;     matkl like ekpo-matkl,&lt;/P&gt;&lt;P&gt;     meins like ekpo-meins,&lt;/P&gt;&lt;P&gt;     menge like ekpo-menge,&lt;/P&gt;&lt;P&gt;     end of it_ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:it_ekko type table of t_ekko with header line.&lt;/P&gt;&lt;P&gt;*DATA:X_EKKO  TYPE T_EKKO.&lt;/P&gt;&lt;P&gt;data:itab type standard table of t_ekko.&lt;/P&gt;&lt;P&gt;data:t_ekpo  like standard table of ekpo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:it_fieldcat type lvc_t_fcat.&lt;/P&gt;&lt;P&gt;data: x_fieldcat type lvc_s_fcat.&lt;/P&gt;&lt;P&gt;data:it_layout type lvc_s_layo.&lt;/P&gt;&lt;P&gt;data:v_cellval(10) type c,&lt;/P&gt;&lt;P&gt;     ls_cellcolor type lvc_s_scol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS lcl_event_handler DEFINITION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class lcl_event_handler definition .&lt;/P&gt;&lt;P&gt;  public section .&lt;/P&gt;&lt;P&gt;    methods:&lt;/P&gt;&lt;P&gt;    handle_hotspot_click for event hotspot_click of cl_gui_alv_grid&lt;/P&gt;&lt;P&gt;                      importing e_row_id e_column_id es_row_no.&lt;/P&gt;&lt;P&gt;endclass.                    "lcl_event_handler DEFINITION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      CLASS lcl_event_handler IMPLEMENTATION&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class lcl_event_handler implementation.&lt;/P&gt;&lt;P&gt;*Handle Hotspot Click&lt;/P&gt;&lt;P&gt;  method handle_hotspot_click .&lt;/P&gt;&lt;P&gt;    perform handle_hotspot_click using e_row_id e_column_id es_row_no .&lt;/P&gt;&lt;P&gt;  endmethod.                    "lcl_event_handler&lt;/P&gt;&lt;P&gt;endclass.                    "lcl_event_handler IMPLEMENTATION&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;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;             Global Definitions&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;&lt;/P&gt;&lt;P&gt;data:go_grid type ref to cl_gui_alv_grid,&lt;/P&gt;&lt;P&gt;    go_custom_container type ref to cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;    go_handler type ref to lcl_event_handler.&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           Start of selection&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;  set screen '100'.&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;      Module  STATUS_0100  OUTPUT&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;module status_0100 output.&lt;/P&gt;&lt;P&gt;  set pf-status 'PF_1'.&lt;/P&gt;&lt;P&gt;  set titlebar 'ABC'.&lt;/P&gt;&lt;P&gt;  if go_custom_container is initial.&lt;/P&gt;&lt;P&gt;      perform form_getdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform form_create.&lt;/P&gt;&lt;P&gt;    perform form_fieldcat.&lt;/P&gt;&lt;P&gt;    perform form_layout.&lt;/P&gt;&lt;P&gt;    perform alv_display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endmodule.                 " STATUS_0100  OUTPUT&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;      Module  USER_COMMAND_0100  INPUT&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;module user_command_0100 input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'EXIT'.&lt;/P&gt;&lt;P&gt;      leave to screen 0.&lt;/P&gt;&lt;P&gt;    when 'BACK'.&lt;/P&gt;&lt;P&gt;      leave to screen 0.&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " USER_COMMAND_0100  INPUT&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  form_getdata&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 form_getdata .&lt;/P&gt;&lt;P&gt;  select ebeln&lt;/P&gt;&lt;P&gt;          bukrs&lt;/P&gt;&lt;P&gt;          bstyp&lt;/P&gt;&lt;P&gt;          bsart&lt;/P&gt;&lt;P&gt;   into corresponding fields of table it_ekko&lt;/P&gt;&lt;P&gt;   from ekko&lt;/P&gt;&lt;P&gt;   where ebeln in s_ebeln.&lt;/P&gt;&lt;P&gt;   itab[] = it_ekko[].&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IT_EKKO-ROWCOLOR = 'C300'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CELLCOLOR-FNAME = 'BUKRS'.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CELLCOLOR-COL = '4'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " form_getdata&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  form_fieldcat&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 form_fieldcat .&lt;/P&gt;&lt;P&gt;  x_fieldcat-col_pos   = 1.&lt;/P&gt;&lt;P&gt;  x_fieldcat-fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-tabname   = 'EKKO'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-scrtext_l = 'PNO'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-key = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append x_fieldcat to it_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x_fieldcat-col_pos   = 2.&lt;/P&gt;&lt;P&gt;  x_fieldcat-fieldname = 'BUKRS'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-tabname   = 'EKKO'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-scrtext_l = 'Ccode'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-key = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append x_fieldcat to it_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x_fieldcat-col_pos   = 3.&lt;/P&gt;&lt;P&gt;  x_fieldcat-fieldname = 'BSTYP'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-tabname   = 'EKKO'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-scrtext_l = 'DOC CATEGORY'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-key = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append x_fieldcat to it_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  x_fieldcat-col_pos   = 4.&lt;/P&gt;&lt;P&gt;  x_fieldcat-fieldname = 'BSART'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-tabname   = 'EKKO'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-scrtext_l = 'DOC TYPE'.&lt;/P&gt;&lt;P&gt;  x_fieldcat-key = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  append x_fieldcat to it_fieldcat.&lt;/P&gt;&lt;P&gt;endform.                    " form_fieldcat&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  form_layout&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 form_layout .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; IT_LAYOUT-ZEBRA = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  it_layout-grid_title = 'PURCHASE'.&lt;/P&gt;&lt;P&gt;  it_layout-smalltitle = 'X'.&lt;/P&gt;&lt;P&gt;  it_layout-sel_mode = 'A'.&lt;/P&gt;&lt;P&gt;  it_layout-info_fname = 'ROWCOLOR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " form_layout&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  alv_display&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 alv_display .&lt;/P&gt;&lt;P&gt;  call method go_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      i_structure_name = 'IT_EKKO'&lt;/P&gt;&lt;P&gt;      is_layout        = it_layout&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      it_fieldcatalog  = it_fieldcat&lt;/P&gt;&lt;P&gt;      it_outtab        = itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " alv_display&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*FORM handle_user_command USING i_ucomm TYPE syucomm .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DATA lt_selected_rows TYPE lvc_t_roid .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DATA ls_selected_row TYPE lvc_s_roid .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALL METHOD go_grid-&amp;gt;get_selected_rows&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      IMPORTING et_row_no = lt_selected_rows .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*endform.&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  handle_hotspot_click&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;I_ROW_ID   text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;I_COLUMN_IDtext&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     --&amp;gt;IS_ROW_NO  text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form handle_hotspot_click using i_row_id type lvc_s_row&lt;/P&gt;&lt;P&gt;                                i_column_id type lvc_s_col&lt;/P&gt;&lt;P&gt;                                is_row_no type lvc_s_roid.&lt;/P&gt;&lt;P&gt;  data:v_value(18) type c,&lt;/P&gt;&lt;P&gt;       v_ebeln(18) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*IT_EKKO-ROWCOLOR = 'C300'.&lt;/P&gt;&lt;P&gt;read table it_ekko index i_row_id  .&lt;/P&gt;&lt;P&gt;*ls_cellcolor-fname = ' ' .&lt;/P&gt;&lt;P&gt;*ls_cellcolor-color-col = '7' .&lt;/P&gt;&lt;P&gt;*ls_cellcolor-color-int = '1' .&lt;/P&gt;&lt;P&gt;it_ekko-rowcolor = 'C600'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*APPEND ls_cellcolor TO IT_EKKO-cellcolor&lt;/P&gt;&lt;P&gt;. modify itab index i_row_id from it_ekko.&lt;/P&gt;&lt;P&gt;  modify it_ekko index i_row_id.&lt;/P&gt;&lt;P&gt;perform form_refresh.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   PERFORM ALV_DISPLAY.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0 and i_column_id-fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform form_sel.&lt;/P&gt;&lt;P&gt;    perform form_refresh.&lt;/P&gt;&lt;P&gt;    perform form_ekpo.&lt;/P&gt;&lt;P&gt;    perform form_disp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endif .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform .                    "handle_hotspot_click&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  form_create&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 form_create .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  create object go_custom_container&lt;/P&gt;&lt;P&gt;                exporting container_name = 'C_TEXT1'.&lt;/P&gt;&lt;P&gt;  create object go_grid&lt;/P&gt;&lt;P&gt;                exporting i_parent = go_custom_container.&lt;/P&gt;&lt;P&gt;  create object go_handler.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   SET HANDLER GO_HANDLER-&amp;gt;HANDLE_USER_COMMAND FOR GO_GRID.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  set handler go_handler-&amp;gt;handle_hotspot_click for go_grid.&lt;/P&gt;&lt;P&gt;endform.                    " form_create&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  FORM_REFRESH&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 form_refresh .&lt;/P&gt;&lt;P&gt;  call method go_grid-&amp;gt;refresh_table_display&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   IS_STABLE      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   I_SOFT_REFRESH =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      finished       = 1&lt;/P&gt;&lt;P&gt;      others         = 2&lt;/P&gt;&lt;P&gt;          .&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;endform.                    " FORM_REFRESH&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  form_sel&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 form_sel .&lt;/P&gt;&lt;P&gt;  call method go_grid-&amp;gt;get_current_cell&lt;/P&gt;&lt;P&gt;      importing&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       E_ROW     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        e_value   = v_cellval&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       E_COL     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       ES_ROW_ID =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       ES_COL_ID =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       ES_ROW_NO =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;endform.                    " form_sel&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  form_ekpo&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 form_ekpo .&lt;/P&gt;&lt;P&gt;  select *  from ekpo&lt;/P&gt;&lt;P&gt;  into table t_ekpo&lt;/P&gt;&lt;P&gt;  where ebeln = v_cellval .&lt;/P&gt;&lt;P&gt;endform.                    " form_ekpo&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  form_disp&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 form_disp .&lt;/P&gt;&lt;P&gt;  call method go_grid-&amp;gt;set_table_for_first_display&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       I_BUFFER_ACTIVE               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       I_BYPASSING_BUFFER            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       I_CONSISTENCY_CHECK           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        i_structure_name              = 'EKPO'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IS_VARIANT                    =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       I_SAVE                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       I_DEFAULT                     = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IS_LAYOUT                     =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IS_PRINT                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_SPECIAL_GROUPS             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_TOOLBAR_EXCLUDING          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_HYPERLINK                  =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_ALV_GRAPHICS               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_EXCEPT_QINFO               =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      changing&lt;/P&gt;&lt;P&gt;        it_outtab                     = t_ekpo&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_FIELDCATALOG               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_SORT                       =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;       IT_FILTER                     =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        invalid_parameter_combination = 1&lt;/P&gt;&lt;P&gt;        program_error                 = 2&lt;/P&gt;&lt;P&gt;        too_many_lines                = 3&lt;/P&gt;&lt;P&gt;        others                        = 4&lt;/P&gt;&lt;P&gt;            .&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;endform.                    " form_disp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:27:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072508#M95233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072509#M95234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;The interactive ALV can be done by the following steps:&lt;/P&gt;&lt;P&gt;C_USER_COMMAND TYPE SLIS_FORMNAME VALUE 'USER_COMMAND' shud be declared.&lt;/P&gt;&lt;P&gt;Then C_USER_COMMAND can be passed to the I_CALLBACK_USER_COMMAND in the ALV FM. The control can be handled in the form USER_COMMAND .&lt;/P&gt;&lt;P&gt;FORM  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;    IF RS_SELFIELD-FIELDNAME = 'fname' then calling the second display. Hope it helps.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kalpana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072509#M95234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072510#M95235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample program in BCALV_GRID_02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2005 14:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv/m-p/1072510#M95235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-17T14:51:42Z</dc:date>
    </item>
  </channel>
</rss>

