<?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: Reg ALV interactive in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666965#M295166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi REDDY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before you execute ME23N you can ask wich field you&lt;/P&gt;&lt;P&gt;have selected like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CASE RS_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;      WHEN 'EBELN'.&lt;/P&gt;&lt;P&gt;        do me23n&lt;/P&gt;&lt;P&gt;      WHEN 'EBELP'.&lt;/P&gt;&lt;P&gt;        do as you like&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;        nothing.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Oct 2006 06:47:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-27T06:47:59Z</dc:date>
    <item>
      <title>Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666950#M295151</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 displaying 14 fields as output using ALV grid display. Now the new request is that when you click on the PO number field it has to go the ME23N for the PO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you plz give tell me how to proceed in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 13:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666950#M295151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T13:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666951#M295152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do something on the following lines:&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                = W_REPID&lt;/P&gt;&lt;P&gt;    I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'&lt;/P&gt;&lt;P&gt;    I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;                        P_SELFLD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;case p_ucomm.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; when '&amp;amp;IC1'. "Or whatever is the sy-ucomm value for doble click&lt;/P&gt;&lt;P&gt;set parameter id 'BES' field p_selfld-value.&lt;/P&gt;&lt;P&gt;call transaction 'ME23' AND SKIP FIRST SCREEN.&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;&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, 26 Oct 2006 13:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666951#M295152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666952#M295153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can use the ALV event SLIS_EV_USER_COMMAND. For example write  a form CALLBACK_USER_COMMAND as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORM CALLBACK_USER_COMMAND USING 
                   P_UCOMM  LIKE SYST-UCOMM
                   P_SELFIELD TYPE SLIS_SELFIELD.
  CASE P_UCOMM.
The default F2 code is '&amp;amp;IC1' which ALV does not process.  
    WHEN '&amp;amp;IC1'.    "doubleclick F2 code
      CLEAR: IT_OUT.
      READ TABLE IT_OUT INDEX  P_SELFIELD-TABINDEX.
      IF SY-SUBRC = 0.
        SET PARAMETER ID 'BES' FIELD w_BSTNR.
        CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
      ENDIF.
      CLEAR: P_UCOMM.
ENDFORM&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 14:02:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666952#M295153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T14:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666953#M295154</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 find the code I have made the changes to my ALV grid as guided. below that I have written form. But I am sure I have to incorporate something. Plz help me.&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                = W_PROGRAM&lt;/P&gt;&lt;P&gt;   I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'&lt;/P&gt;&lt;P&gt;   I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'&lt;/P&gt;&lt;P&gt;   I_GRID_TITLE                      = GV_GRID_TITLE&lt;/P&gt;&lt;P&gt;   IS_LAYOUT                         = LAYOUT&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                       = GT_FIELDCAT&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    T_OUTTAB                          = GT_OUT&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;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;P_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;CASE P_UCOMM.&lt;/P&gt;&lt;P&gt;process.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.    "doubleclick F2 code&lt;/P&gt;&lt;P&gt;      CLEAR: GT_OUT.&lt;/P&gt;&lt;P&gt;      READ TABLE GT_OUT INDEX  P_SELFIELD-TABINDEX.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'BES' FIELD P_SELFIELD-VALUE.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      CLEAR: P_UCOMM.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 14:27:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666953#M295154</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T14:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666954#M295155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you have to change&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'BES' FIELD P_SELFIELD-VALUE&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'BES' FIELD GT_OUT-EBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 14:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666954#M295155</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T14:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666955#M295156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dieter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not working, I need to write any perform for this form or not. I just using this under the ALV Grid display. as shown in the earlier mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 14:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666955#M295156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T14:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666956#M295157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi REDDY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you set a breap-point at the case-line and&lt;/P&gt;&lt;P&gt;look when you make an double-click.&lt;/P&gt;&lt;P&gt;does the report stop?&lt;/P&gt;&lt;P&gt;if yes, look at the fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 14:55:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666956#M295157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T14:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666957#M295158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dieter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put the breat point in case-line. when I am doulble clicking in the PO it is not going back or it is not stopping any where.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 15:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666957#M295158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T15:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666958#M295159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link for the interactive ALV.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapfans.com/forums/viewtopic.php?t=22036" target="test_blank"&gt;http://www.sapfans.com/forums/viewtopic.php?t=22036&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For showing the PO in ME23N (Instead of using call transaction use the below FM):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'ME_DISPLAY_PURCHASE_DOCUMENT'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          i_ebeln              = &amp;lt;Po Number&amp;gt;&lt;/P&gt;&lt;P&gt;          i_display_only       = 'X'&lt;/P&gt;&lt;P&gt;          i_enjoy              = 'X'&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          not_found            = 1&lt;/P&gt;&lt;P&gt;          no_authority         = 2&lt;/P&gt;&lt;P&gt;          invalid_call         = 3&lt;/P&gt;&lt;P&gt;          preview_not_possible = 4&lt;/P&gt;&lt;P&gt;          OTHERS               = 5.&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;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 15:04:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666958#M295159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T15:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666959#M295160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use event exit like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: EVENT_EXIT    TYPE SLIS_T_EVENT_EXIT.&lt;/P&gt;&lt;P&gt;DATA: WA_EVENT_EXIT TYPE SLIS_EVENT_EXIT.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  MOVE:  '&amp;amp;IC1' TO WA_EVENT_EXIT-UCOMM,&lt;/P&gt;&lt;P&gt;          'X'   TO WA_EVENT_EXIT-BEFORE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  APPEND WA_EVENT_EXIT TO EVENT_EXIT.&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;...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;             IT_EVENT_EXIT            = EVENT_EXIT&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 15:08:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666959#M295160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T15:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666960#M295161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is very good.. but how should i get the PO from the output screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 15:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666960#M295161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T15:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666961#M295162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow the below steps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Declare type group : Code: TYPE-POOLS: slis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Declare callback program and callback subroutine. SAP must know which subroutine of which program must be executed when clicking on a hotspot of an ALV grid : &lt;/P&gt;&lt;P&gt;Code: &lt;/P&gt;&lt;P&gt;data : w_callback_subroutine TYPE slis_formname, &lt;/P&gt;&lt;P&gt;       w_callback_program LIKE sy-repid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Assign value to those two variables before calling ALV grid : &lt;/P&gt;&lt;P&gt;Code: &lt;/P&gt;&lt;P&gt;w_callback_program    = sy-repid. &lt;/P&gt;&lt;P&gt;w_callback_subroutine = 'USER_COMMAND'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or any other subroutine name but in upper case) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Define subroutine handling double-click : &lt;/P&gt;&lt;P&gt;Code: &lt;/P&gt;&lt;P&gt;FORM user_command  USING p_ucomm    LIKE sy-ucomm &lt;/P&gt;&lt;P&gt;                         p_selfield TYPE slis_selfield. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE p_ucomm. &lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.        " SAP standard code for double-clicking &lt;/P&gt;&lt;P&gt;*Call the transaction *&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;Check the link which i sent you before.&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;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 16:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666961#M295162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T16:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666962#M295163</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;Thanks for assisting, But still i am not able to resolve. I have made the changes as suggested. and i have doubt how system will recognise the subroutine. No where we are using perform.  Please suggest necessary changes to resolve this.. THis is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax error: Statement is not accessible.		&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : w_callback_subroutine TYPE slis_formname.&lt;/P&gt;&lt;P&gt;w_callback_subroutine = 'USER_COMMAND'.&lt;/P&gt;&lt;P&gt;w_program = sy-repid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM&lt;/P&gt;&lt;P&gt;                        P_SELFIELD TYPE SLIS_SELFIELD.&lt;/P&gt;&lt;P&gt;CASE P_UCOMM.&lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.    &lt;/P&gt;&lt;P&gt;        SET PARAMETER ID 'BES' FIELD p_selfield-value.&lt;/P&gt;&lt;P&gt;        CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.&lt;/P&gt;&lt;P&gt;      CLEAR: P_UCOMM.&lt;/P&gt;&lt;P&gt;ENDCASE.&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;CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;   I_CALLBACK_PROGRAM                = W_PROGRAM&lt;/P&gt;&lt;P&gt;   I_CALLBACK_PF_STATUS_SET          = 'PF_STATUS'&lt;/P&gt;&lt;P&gt;   I_CALLBACK_USER_COMMAND           = w_callback_subroutine   I_GRID_TITLE                      = GV_GRID_TITLE&lt;/P&gt;&lt;P&gt;   IS_LAYOUT                         = LAYOUT&lt;/P&gt;&lt;P&gt;   IT_FIELDCAT                       = GT_FIELDCAT&lt;/P&gt;&lt;P&gt;   IT_EVENT_EXIT                     =&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    T_OUTTAB                          = GT_OUT&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;          .&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 16:30:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666962#M295163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T16:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666963#M295164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks it is working,. One more small help. I am not able to see the icons in the top of the output.  Plz help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 16:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666963#M295164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666964#M295165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prakash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am clicking other than the PO field also it is taking the value of that field and checking whether that is PO number or not.  I dont want this.. i need only when i double click on PO then only it has to be work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to control this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 16:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666964#M295165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T16:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reg ALV interactive</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666965#M295166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi REDDY,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before you execute ME23N you can ask wich field you&lt;/P&gt;&lt;P&gt;have selected like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CASE RS_SELFIELD-FIELDNAME.&lt;/P&gt;&lt;P&gt;      WHEN 'EBELN'.&lt;/P&gt;&lt;P&gt;        do me23n&lt;/P&gt;&lt;P&gt;      WHEN 'EBELP'.&lt;/P&gt;&lt;P&gt;        do as you like&lt;/P&gt;&lt;P&gt;      WHEN OTHERS.&lt;/P&gt;&lt;P&gt;        nothing.&lt;/P&gt;&lt;P&gt;    ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2006 06:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-alv-interactive/m-p/1666965#M295166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-27T06:47:59Z</dc:date>
    </item>
  </channel>
</rss>

