<?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 Block list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832070#M1316680</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;Try to refresh the selfield&lt;/P&gt;&lt;P&gt;rs_selfield-refresh = con_true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: g_repid     type sy-repid.&lt;/P&gt;&lt;P&gt;use the variable in the FM.&lt;/P&gt;&lt;P&gt;Thnaks&lt;/P&gt;&lt;P&gt;(r u tried Refresh command?)&lt;/P&gt;&lt;P&gt;Edited by: dharma raj on Jul 2, 2009 12:43 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dharma raj on Jul 3, 2009 3:01 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dharma raj on Jul 3, 2009 3:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2009 07:12:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-02T07:12:03Z</dc:date>
    <item>
      <title>Interactive ALV Block list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832069#M1316679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;         For the first time,the second list is coming when i double click the basic list.&lt;/P&gt;&lt;P&gt;But when i come back and again when i double click the basic list,nothing happens.Its staying on the  basic list only..&lt;/P&gt;&lt;P&gt;Why its not displaying?..Does anything I am missing in the code??..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
      I_CALLBACK_PROGRAM             = SY-REPID
*   I_CALLBACK_PF_STATUS_SET       =
     I_CALLBACK_USER_COMMAND        = 'USER_COMMAND'.
*   IT_EXCLUDING                   =

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  USER_COMMAND
*&amp;amp;---------------------------------------------------------------------*
*
*----------------------------------------------------------------------*

FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                        RS_SELFIELD TYPE SLIS_SELFIELD.

  CASE R_UCOMM.

    WHEN '&amp;amp;IC1'.

      CLEAR: L_CHTEXT,L_CHANNEL.
      CLEAR W_MD.
      READ TABLE T_MD INTO W_MD INDEX RS_SELFIELD-TABINDEX.
      IF SY-SUBRC = 0.
        L_CHTEXT = W_MD-VTEXT.
        L_CHANNEL = W_MD-VTWEG.
      ELSE.
        READ TABLE T_MD_UP INTO W_MD_UP INDEX RS_SELFIELD-TABINDEX.
        IF SY-SUBRC = 0.
          L_CHTEXT = W_MD_UP-VTEXT.
          L_CHANNEL = W_MD_UP-VTWEG.
        ENDIF.
      ENDIF.

      IF L_CHANNEL EQ '10' OR L_CHANNEL EQ '30'.
        PERFORM SUB_DISP_REP USING L_CHANNEL L_CHTEXT.
      ENDIF.
  ENDCASE.

ENDFORM.                    " USER_COMMAND

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 06:44:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832069#M1316679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV Block list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832070#M1316680</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;Try to refresh the selfield&lt;/P&gt;&lt;P&gt;rs_selfield-refresh = con_true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: g_repid     type sy-repid.&lt;/P&gt;&lt;P&gt;use the variable in the FM.&lt;/P&gt;&lt;P&gt;Thnaks&lt;/P&gt;&lt;P&gt;(r u tried Refresh command?)&lt;/P&gt;&lt;P&gt;Edited by: dharma raj on Jul 2, 2009 12:43 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dharma raj on Jul 3, 2009 3:01 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: dharma raj on Jul 3, 2009 3:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 07:12:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832070#M1316680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-02T07:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV Block list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832071#M1316681</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;From your coding I can find out a mistake. But I don't know that cause your problem or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inside USER_COMMAND, you are blindly using RS_SELFIELD-TABINDEX with out considering RS_SELFIELD-TABNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try to debug at the following point? Is it going inside PERFORM SUB_DISP_REP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF L_CHANNEL EQ '10' OR L_CHANNEL EQ '30'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2009 07:51:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832071#M1316681</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2009-07-02T07:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive ALV Block list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832072#M1316682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if i use tabname no difference..&lt;/P&gt;&lt;P&gt;Second time its not going to the user_command form..its just executing the default SAP code when i double click..and staying on the same basic list.Can any one tell me why its happening like this??..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2009 09:20:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-alv-block-list/m-p/5832072#M1316682</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-03T09:20:17Z</dc:date>
    </item>
  </channel>
</rss>

