<?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 list in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677349#M1099983</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod, Thanks for your suggestion. But I am not supposed to use ALV in this task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Oct 2008 11:42:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-10T11:42:03Z</dc:date>
    <item>
      <title>Interactive list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677347#M1099981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a task in which I am displaying material and plant in the basic list. The requirement is, if i click on the material, then it should display the material details in a secondary list and if i click on plant, then it should display the plant details in another secondary list. How to achieve this? can someone suggest me the code for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677347#M1099981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677348#M1099982</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 this requirement ALV output suits best. Because in ALV you will not only be able to select the row on which you have clicked you can also select the column on which you have clicked suiting your requirement better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need more details on how to do this go to FM 'REUSE_ALV_GRID_DISPLAY' and select the documentation on the right hand corner. In the documentation check for the USER_COMMAND Details which will help you achieve this.&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;Pramod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677348#M1099982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677349#M1099983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod, Thanks for your suggestion. But I am not supposed to use ALV in this task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677349#M1099983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677350#M1099984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashwini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are only displaying plant and material then there is an alternative. When you double click on the basic list then popup a confirmation message asking the user if he wants to drilldown on Plant or material. This can be done using an FM i am not sure which, you can search for it using * POPUP * in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If he selects Material show material details on next list. Else if he states plant then show the plant details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS : The FM is 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pramod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Pramod Manjunath on Oct 10, 2008 5:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677350#M1099984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-10T11:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677351#M1099985</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;Lists are displayed in a special container screen. As with all other screens, you can link a dialog status to it using the SET PF-STATUS statement. In the dialog status, you link function codes to function keys, menu entries, icons in the standard toolbar, and pushbuttons in the application toolbar. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a normal screen, a user action triggers the PAI event. In the screen flow logic, you code a processing block that calls ABAP dialog modules in this event. In list processing, the event is intercepted by the list processor and processed. Instead of calling dialog modules, one of the three following list events may be called, depending on the function code triggered by the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT PF&amp;lt;nn&amp;gt; (obsolete)&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION&lt;/P&gt;&lt;P&gt;AT USER-COMMAND&lt;/P&gt;&lt;P&gt;If you have written the corresponding event blocks in your program, they are executed. You can access the function code in the system field SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output from any list statements that you write in these event blocks is written to detail lists. With one ABAP program, you can maintain one basic list and up to 19 detail lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZTEST_ALV123                            .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPE-POOLS:SLIS.&lt;/P&gt;&lt;P&gt;DATA :   IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;          IT_FIELDCAT1 TYPE SLIS_T_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;       VBELN LIKE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB1 OCCURS 0,&lt;/P&gt;&lt;P&gt;       VBELN LIKE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;       POSNR LIKE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;       END OF ITAB1.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT  VBELN&lt;/P&gt;&lt;P&gt;        FROM VBAK&lt;/P&gt;&lt;P&gt;        UP TO 100 ROWS&lt;/P&gt;&lt;P&gt;        INTO TABLE ITAB.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;sort itab by vbeln .&lt;/P&gt;&lt;P&gt;  SELECT VBELN&lt;/P&gt;&lt;P&gt;         POSNR&lt;/P&gt;&lt;P&gt;         INTO TABLE ITAB1&lt;/P&gt;&lt;P&gt;         FROM VBAP&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN ITAB&lt;/P&gt;&lt;P&gt;         WHERE VBELN = ITAB-VBELN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-TABNAME = 'ITAB'.&lt;/P&gt;&lt;P&gt;X_FIELDCAT-COL_POS  = 1.&lt;/P&gt;&lt;P&gt;APPEND X_FIELDCAT TO IT_FIELDCAT.&lt;/P&gt;&lt;P&gt;CLEAR X_FIELDCAT.&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_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_PF_STATUS_SET = 'POPUP'&lt;/P&gt;&lt;P&gt;    I_CALLBACK_USER_COMMAND  = 'HANDLE_USER_COMMAND'&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                 = ITAB&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  = 0.&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;FORM POPUP USING P_EXTAB TYPE SLIS_T_EXTAB.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;*- Pf status&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'POPUP'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDFORM.                 " POPUP&lt;/P&gt;&lt;P&gt; &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; &lt;/P&gt;&lt;P&gt;    WHEN '&amp;amp;IC1'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;      PERFORM INTERACTIVE_REPORT.&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;ENDFORM.                    "HANDLE_USER_COMMAND&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM INTERACTIVE_REPORT .&lt;/P&gt;&lt;P&gt;  X_FIELDCAT-FIELDNAME = 'VBELN'.&lt;/P&gt;&lt;P&gt;  X_FIELDCAT-TABNAME = 'ITAB1'.&lt;/P&gt;&lt;P&gt;  X_FIELDCAT-COL_POS  = 1.&lt;/P&gt;&lt;P&gt;  APPEND X_FIELDCAT TO IT_FIELDCAT1.&lt;/P&gt;&lt;P&gt;  CLEAR X_FIELDCAT.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  X_FIELDCAT-FIELDNAME = 'POSNR'.&lt;/P&gt;&lt;P&gt;  X_FIELDCAT-TABNAME = 'ITAB1'.&lt;/P&gt;&lt;P&gt;  X_FIELDCAT-COL_POS  = 2.&lt;/P&gt;&lt;P&gt;  APPEND X_FIELDCAT TO IT_FIELDCAT1.&lt;/P&gt;&lt;P&gt;  CLEAR X_FIELDCAT.&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       = SY-REPID&lt;/P&gt;&lt;P&gt;      IT_FIELDCAT              = IT_FIELDCAT1&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_OUTTAB                 = ITAB1&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  = 0.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " interactive_report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this code sample&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/an-interactive-alv-report.htm" target="test_blank"&gt;http://www.sap-img.com/abap/an-interactive-alv-report.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677351#M1099985</guid>
      <dc:creator>satsrockford</dc:creator>
      <dc:date>2008-10-10T11:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677352#M1099986</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;These links may help you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap-function.htm" target="test_blank"&gt;http://www.sap-img.com/abap-function.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/an-interactive-alv-report.htm" target="test_blank"&gt;http://www.sap-img.com/abap/an-interactive-alv-report.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/mpioud/Abap_programs.html" target="test_blank"&gt;http://www.geocities.com/mpioud/Abap_programs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/drill_down_reports.htm" target="test_blank"&gt;http://www.sapgenie.com/abap/drill_down_reports.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Oct 2008 11:47:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list/m-p/4677352#M1099986</guid>
      <dc:creator>satsrockford</dc:creator>
      <dc:date>2008-10-10T11:47:54Z</dc:date>
    </item>
  </channel>
</rss>

