<?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 reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989161#M403636</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;atline selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event in interactive reporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is processed whenever the user chooses a valid line in the list (i.e. a line generated by statements such as WRITE , ULINE or SKIP ) with the cursor and presses the function key which has the function PICK in the interface definition. This should normally be the function key F2 , because it has the same effect as double-clicking the mouse, or single-clicking in the case of a hotspot . &lt;/P&gt;&lt;P&gt;The processing for the event AT LINE-SELECTION usually generates further list output (the details list) which completely covers the current list display. If the latter is still visible (to aid user orientation), this may be due to the key word WINDOW . &lt;/P&gt;&lt;P&gt;In most cases, the information is from the selected line is used to retrieve more comprehensive information by direct reading. When displaying the original list, you store the key terms needed for this in the HIDE area of the output line. &lt;/P&gt;&lt;P&gt;at line selection event is mainly used when u r using a drill down list.&lt;/P&gt;&lt;P&gt;that is,&lt;/P&gt;&lt;P&gt;when u click on the list in the output it triggers or navigates us into another output i.e another list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;consider this code.it can be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF TY_A1,&lt;/P&gt;&lt;P&gt;VBELN TYPE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;ERNAM TYPE VBAK-ERNAM,&lt;/P&gt;&lt;P&gt;ERDAT TYPE VBAK-ERDAT,&lt;/P&gt;&lt;P&gt;NAME1 TYPE KNA1-NAME1,&lt;/P&gt;&lt;P&gt;END OF TY_A1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN OF TY_A2,&lt;/P&gt;&lt;P&gt;MATNR TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;MAKTX TYPE MAKT-MAKTX,&lt;/P&gt;&lt;P&gt;CHARG TYPE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;END OF TY_A2.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;DATA : IT_A1 TYPE TABLE OF TY_A1,&lt;/P&gt;&lt;P&gt;IT_A2 TYPE TABLE OF TY_A2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_A1 TYPE TY_A1,&lt;/P&gt;&lt;P&gt;WA_A2 TYPE TY_A2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;PERFORM F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;ULINE 1(100).&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-VLINE, 02 TEXT-000,SY-VLINE,&lt;/P&gt;&lt;P&gt;15 TEXT-001,SY-VLINE,&lt;/P&gt;&lt;P&gt;40 TEXT-002,SY-VLINE,&lt;/P&gt;&lt;P&gt;60 TEXT-003, 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE DURING LINE-SELECTION.&lt;/P&gt;&lt;P&gt;ULINE 1(100).&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-VLINE, 02 TEXT-004,SY-VLINE,&lt;/P&gt;&lt;P&gt;25 TEXT-005, 56 SY-VLINE,&lt;/P&gt;&lt;P&gt;65 TEXT-006,SY-VLINE,&lt;/P&gt;&lt;P&gt;85 TEXT-007,&lt;/P&gt;&lt;P&gt;100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE :/100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&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;PERFORM F2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION .&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 F2&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;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 F2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_DATE-LOW IS NOT INITIAL AND P_DATE-HIGH IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;SELECT VBAK~VBELN&lt;/P&gt;&lt;P&gt;VBAK~ERNAM&lt;/P&gt;&lt;P&gt;VBAK~ERDAT&lt;/P&gt;&lt;P&gt;KNA1~NAME1&lt;/P&gt;&lt;P&gt;FROM VBAK INNER JOIN KNA1&lt;/P&gt;&lt;P&gt;ON VBAK&lt;SUB&gt;KUNNR = KNA1&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A1&lt;/P&gt;&lt;P&gt;WHERE VBAK&lt;SUB&gt;ERDAT &amp;gt; P_DATE-LOW AND VBAK&lt;/SUB&gt;ERDAT &amp;lt; P_DATE-HIGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF P_DATE IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E000(ZTH_TEST).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF P_DATE-LOW IS NOT INITIAL AND P_DATE-HIGH IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT VBAK~VBELN&lt;/P&gt;&lt;P&gt;VBAK~ERNAM&lt;/P&gt;&lt;P&gt;VBAK~ERDAT&lt;/P&gt;&lt;P&gt;KNA1~NAME1&lt;/P&gt;&lt;P&gt;FROM VBAK INNER JOIN KNA1&lt;/P&gt;&lt;P&gt;ON VBAK&lt;SUB&gt;KUNNR = KNA1&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A1&lt;/P&gt;&lt;P&gt;WHERE VBAK~ERDAT = P_DATE-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF P_DATE-HIGH IS NOT INITIAL AND P_DATE-LOW IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT VBAK~VBELN&lt;/P&gt;&lt;P&gt;VBAK~ERNAM&lt;/P&gt;&lt;P&gt;VBAK~ERDAT&lt;/P&gt;&lt;P&gt;KNA1~NAME1&lt;/P&gt;&lt;P&gt;FROM VBAK INNER JOIN KNA1&lt;/P&gt;&lt;P&gt;ON VBAK&lt;SUB&gt;KUNNR = KNA1&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A1&lt;/P&gt;&lt;P&gt;WHERE VBAK~ERDAT &amp;lt; P_DATE-HIGH.&lt;/P&gt;&lt;P&gt;ENDIF.&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 E001(ZTH_TEST).&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;*SKIP 2.&lt;/P&gt;&lt;P&gt;LOOP AT IT_A1 INTO WA_A1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / SY-VLINE, 03 WA_A1-VBELN,14 SY-VLINE.&lt;/P&gt;&lt;P&gt;HIDE WA_A1-VBELN. WRITE: 20 WA_A1-ERNAM,34 SY-VLINE,&lt;/P&gt;&lt;P&gt;36 WA_A1-ERDAT,54 SY-VLINE,&lt;/P&gt;&lt;P&gt;60 WA_A1-NAME1,100 SY-VLINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. "F2&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 F1&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;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 F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBAP~MATNR&lt;/P&gt;&lt;P&gt;MAKT~MAKTX&lt;/P&gt;&lt;P&gt;VBAP~CHARG&lt;/P&gt;&lt;P&gt;VBAP~POSNR&lt;/P&gt;&lt;P&gt;FROM VBAP INNER JOIN MAKT&lt;/P&gt;&lt;P&gt;ON VBAP&lt;SUB&gt;MATNR = MAKT&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A2&lt;/P&gt;&lt;P&gt;WHERE VBAP~VBELN = WA_A1-VBELN AND SPRAS = 'EN'.&lt;/P&gt;&lt;P&gt;*SKIP 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_A2 INTO WA_A2.&lt;/P&gt;&lt;P&gt;WRITE : / SY-VLINE, WA_A2-MATNR, 14 SY-VLINE,&lt;/P&gt;&lt;P&gt;16 WA_A2-MAKTX, 56 SY-VLINE,&lt;/P&gt;&lt;P&gt;65 WA_A2-CHARG, 78 SY-VLINE,&lt;/P&gt;&lt;P&gt;85 WA_A2-POSNR, 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;ENDFORM. "F1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user chooses a function code during list processing that is neither processed by the system, or PICK or PF&amp;lt;nn&amp;gt;, the system triggers the event AT USER-COMMAND. For this event, you must define your own GUI status for a list. To react to your own function codes in a program, you must define the following event block: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&amp;lt;statements&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this event block, you can use an IF or CASE structure to tell the function codes apart. They are available in the system field SY-UCOMM. There are further system fields that are filled in list events, such as SY-LSIND and SY-PFKEY, that allow you to make further case distinctions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Test_program.&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;SET PF-STATUS 'TEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'Basic list, SY-LSIND =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'LINE-SELECTION, SY-LSIND =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'TEST'.&lt;/P&gt;&lt;P&gt;WRITE: 'TEST, SY-LSIND =', sy-lsind.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this code double click on 'TEST' and define your own PF status and give user command as TEST and check out this useful programe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if useful.&lt;/P&gt;&lt;P&gt;sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 05:28:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T05:28:10Z</dc:date>
    <item>
      <title>interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989155#M403630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            What are the report events that are used in interactive report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989155#M403630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989156#M403631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;AT LINE-SELECTION.

AT USER-COMMAND.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:44:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989156#M403631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989157#M403632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;AT PFn.&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:45:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989157#M403632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989158#M403633</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;here's a  list .........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization : triggered when the report is loaded in memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen output : triggered when the selection screen is loaded in memory before being displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen / &amp;lt;field&amp;gt; : before leaving the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection : the first event for displaying the report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection : after the start-of-selection is completed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classiscal report events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top-of-page : every time a new page is started in the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-page : every time the list data reaches the footer region of the page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interactive report events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top of page during line selection : top of page event for secondary list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection : evey time user dbl-clicks(F2) on the list data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at pF&amp;lt;key&amp;gt; : function key from F5 to F12 to perform interactive action on the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bijal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:46:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989158#M403633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989159#M403634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;srikanth,&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First event -&lt;/P&gt;&lt;P&gt;Initialization : triggered when the report is loaded in memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen output : triggered when the selection screen is loaded in memory before being displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen : before leaving the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection : the first event for displaying the report. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event keyword defines an event block whose event is triggered by the ABAP runtime environment &lt;/P&gt;&lt;P&gt;when calling the executable program selection screen processing of a selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an executable program, all statements that are not declarations, &lt;/P&gt;&lt;P&gt;and are listed before the first explicit processing block, are assigned to this event block.&lt;/P&gt;&lt;P&gt;If the program does not contain an explicitly defined event block START-OF-SELECTION,&lt;/P&gt;&lt;P&gt;these statements form the complete event block START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;If a program contains an explicitly defined event block START-OF-SELECTION, &lt;/P&gt;&lt;P&gt;these statements are added to the beginning of the event block. &lt;/P&gt;&lt;P&gt;If the program contains no explicitly defined event blocks, &lt;/P&gt;&lt;P&gt;these statements form the entire event block START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-selection : after the start-of-selection is completed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;classiscal report events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top-of-page : every time a new page is started in the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end-of-page : every time the list data reaches the footer region of the page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interactive report events. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;top of page during line selection : top of page event for secondary list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line-selection : evey time user dbl-clicks(F2) on the list data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at pF&amp;lt;key&amp;gt; : function key from F5 to F12 to perform interactive action on the list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at user-command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:48:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989159#M403634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989160#M403635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Total events in IR r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALISATION&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN&lt;/P&gt;&lt;P&gt;START OF SELECTION&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT LINE SELECTION&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;END OF SELECTION&lt;/P&gt;&lt;P&gt;TOP OF PAGE&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TOP OF PAGE DURING LINE SELECTION&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT USER COMMAND&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;END OF PAGE&lt;/P&gt;&lt;P&gt;AT PF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bolded events r extra used in IR when compared to Classic Reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~~Guduri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 04:51:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989160#M403635</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T04:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989161#M403636</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;atline selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;See this link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_di471/helpdata/EN/9f/dba3ae35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event in interactive reporting &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is processed whenever the user chooses a valid line in the list (i.e. a line generated by statements such as WRITE , ULINE or SKIP ) with the cursor and presses the function key which has the function PICK in the interface definition. This should normally be the function key F2 , because it has the same effect as double-clicking the mouse, or single-clicking in the case of a hotspot . &lt;/P&gt;&lt;P&gt;The processing for the event AT LINE-SELECTION usually generates further list output (the details list) which completely covers the current list display. If the latter is still visible (to aid user orientation), this may be due to the key word WINDOW . &lt;/P&gt;&lt;P&gt;In most cases, the information is from the selected line is used to retrieve more comprehensive information by direct reading. When displaying the original list, you store the key terms needed for this in the HIDE area of the output line. &lt;/P&gt;&lt;P&gt;at line selection event is mainly used when u r using a drill down list.&lt;/P&gt;&lt;P&gt;that is,&lt;/P&gt;&lt;P&gt;when u click on the list in the output it triggers or navigates us into another output i.e another list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;consider this code.it can be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF TY_A1,&lt;/P&gt;&lt;P&gt;VBELN TYPE VBAK-VBELN,&lt;/P&gt;&lt;P&gt;ERNAM TYPE VBAK-ERNAM,&lt;/P&gt;&lt;P&gt;ERDAT TYPE VBAK-ERDAT,&lt;/P&gt;&lt;P&gt;NAME1 TYPE KNA1-NAME1,&lt;/P&gt;&lt;P&gt;END OF TY_A1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BEGIN OF TY_A2,&lt;/P&gt;&lt;P&gt;MATNR TYPE VBAP-MATNR,&lt;/P&gt;&lt;P&gt;MAKTX TYPE MAKT-MAKTX,&lt;/P&gt;&lt;P&gt;CHARG TYPE VBAP-CHARG,&lt;/P&gt;&lt;P&gt;POSNR TYPE VBAP-POSNR,&lt;/P&gt;&lt;P&gt;END OF TY_A2.&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;&lt;/STRONG&gt;*********************************************************************&lt;/P&gt;&lt;P&gt;DATA : IT_A1 TYPE TABLE OF TY_A1,&lt;/P&gt;&lt;P&gt;IT_A2 TYPE TABLE OF TY_A2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_A1 TYPE TY_A1,&lt;/P&gt;&lt;P&gt;WA_A2 TYPE TY_A2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;PERFORM F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;ULINE 1(100).&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-VLINE, 02 TEXT-000,SY-VLINE,&lt;/P&gt;&lt;P&gt;15 TEXT-001,SY-VLINE,&lt;/P&gt;&lt;P&gt;40 TEXT-002,SY-VLINE,&lt;/P&gt;&lt;P&gt;60 TEXT-003, 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE :/100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE DURING LINE-SELECTION.&lt;/P&gt;&lt;P&gt;ULINE 1(100).&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; SY-VLINE, 02 TEXT-004,SY-VLINE,&lt;/P&gt;&lt;P&gt;25 TEXT-005, 56 SY-VLINE,&lt;/P&gt;&lt;P&gt;65 TEXT-006,SY-VLINE,&lt;/P&gt;&lt;P&gt;85 TEXT-007,&lt;/P&gt;&lt;P&gt;100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE :/100 SY-VLINE.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;WRITE : 100 SY-VLINE.&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;PERFORM F2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION .&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 F2&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;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 F2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF P_DATE-LOW IS NOT INITIAL AND P_DATE-HIGH IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;SELECT VBAK~VBELN&lt;/P&gt;&lt;P&gt;VBAK~ERNAM&lt;/P&gt;&lt;P&gt;VBAK~ERDAT&lt;/P&gt;&lt;P&gt;KNA1~NAME1&lt;/P&gt;&lt;P&gt;FROM VBAK INNER JOIN KNA1&lt;/P&gt;&lt;P&gt;ON VBAK&lt;SUB&gt;KUNNR = KNA1&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A1&lt;/P&gt;&lt;P&gt;WHERE VBAK&lt;SUB&gt;ERDAT &amp;gt; P_DATE-LOW AND VBAK&lt;/SUB&gt;ERDAT &amp;lt; P_DATE-HIGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF P_DATE IS INITIAL.&lt;/P&gt;&lt;P&gt;MESSAGE E000(ZTH_TEST).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF P_DATE-LOW IS NOT INITIAL AND P_DATE-HIGH IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT VBAK~VBELN&lt;/P&gt;&lt;P&gt;VBAK~ERNAM&lt;/P&gt;&lt;P&gt;VBAK~ERDAT&lt;/P&gt;&lt;P&gt;KNA1~NAME1&lt;/P&gt;&lt;P&gt;FROM VBAK INNER JOIN KNA1&lt;/P&gt;&lt;P&gt;ON VBAK&lt;SUB&gt;KUNNR = KNA1&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A1&lt;/P&gt;&lt;P&gt;WHERE VBAK~ERDAT = P_DATE-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSEIF P_DATE-HIGH IS NOT INITIAL AND P_DATE-LOW IS INITIAL.&lt;/P&gt;&lt;P&gt;SELECT VBAK~VBELN&lt;/P&gt;&lt;P&gt;VBAK~ERNAM&lt;/P&gt;&lt;P&gt;VBAK~ERDAT&lt;/P&gt;&lt;P&gt;KNA1~NAME1&lt;/P&gt;&lt;P&gt;FROM VBAK INNER JOIN KNA1&lt;/P&gt;&lt;P&gt;ON VBAK&lt;SUB&gt;KUNNR = KNA1&lt;/SUB&gt;KUNNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A1&lt;/P&gt;&lt;P&gt;WHERE VBAK~ERDAT &amp;lt; P_DATE-HIGH.&lt;/P&gt;&lt;P&gt;ENDIF.&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 E001(ZTH_TEST).&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;*SKIP 2.&lt;/P&gt;&lt;P&gt;LOOP AT IT_A1 INTO WA_A1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / SY-VLINE, 03 WA_A1-VBELN,14 SY-VLINE.&lt;/P&gt;&lt;P&gt;HIDE WA_A1-VBELN. WRITE: 20 WA_A1-ERNAM,34 SY-VLINE,&lt;/P&gt;&lt;P&gt;36 WA_A1-ERDAT,54 SY-VLINE,&lt;/P&gt;&lt;P&gt;60 WA_A1-NAME1,100 SY-VLINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM. "F2&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 F1&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;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 F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBAP~MATNR&lt;/P&gt;&lt;P&gt;MAKT~MAKTX&lt;/P&gt;&lt;P&gt;VBAP~CHARG&lt;/P&gt;&lt;P&gt;VBAP~POSNR&lt;/P&gt;&lt;P&gt;FROM VBAP INNER JOIN MAKT&lt;/P&gt;&lt;P&gt;ON VBAP&lt;SUB&gt;MATNR = MAKT&lt;/SUB&gt;MATNR&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE IT_A2&lt;/P&gt;&lt;P&gt;WHERE VBAP~VBELN = WA_A1-VBELN AND SPRAS = 'EN'.&lt;/P&gt;&lt;P&gt;*SKIP 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT IT_A2 INTO WA_A2.&lt;/P&gt;&lt;P&gt;WRITE : / SY-VLINE, WA_A2-MATNR, 14 SY-VLINE,&lt;/P&gt;&lt;P&gt;16 WA_A2-MAKTX, 56 SY-VLINE,&lt;/P&gt;&lt;P&gt;65 WA_A2-CHARG, 78 SY-VLINE,&lt;/P&gt;&lt;P&gt;85 WA_A2-POSNR, 100 SY-VLINE.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;WRITE AT 1(100) SY-ULINE.&lt;/P&gt;&lt;P&gt;ENDFORM. "F1 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user chooses a function code during list processing that is neither processed by the system, or PICK or PF&amp;lt;nn&amp;gt;, the system triggers the event AT USER-COMMAND. For this event, you must define your own GUI status for a list. To react to your own function codes in a program, you must define the following event block: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&amp;lt;statements&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this event block, you can use an IF or CASE structure to tell the function codes apart. They are available in the system field SY-UCOMM. There are further system fields that are filled in list events, such as SY-LSIND and SY-PFKEY, that allow you to make further case distinctions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Test_program.&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;SET PF-STATUS 'TEST'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'Basic list, SY-LSIND =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'LINE-SELECTION, SY-LSIND =', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;WHEN 'TEST'.&lt;/P&gt;&lt;P&gt;WRITE: 'TEST, SY-LSIND =', sy-lsind.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this code double click on 'TEST' and define your own PF status and give user command as TEST and check out this useful programe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;award points if useful.&lt;/P&gt;&lt;P&gt;sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 05:28:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989161#M403636</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T05:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989162#M403637</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 are the events used for reporting techniques&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD-OF-PROGRAM&lt;/P&gt;&lt;P&gt;INITIALISATION&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN&lt;/P&gt;&lt;P&gt;START OF SELECTION&lt;/P&gt;&lt;P&gt;AT LINE SELECTION&lt;/P&gt;&lt;P&gt;END OF SELECTION&lt;/P&gt;&lt;P&gt;TOP OF PAGE&lt;/P&gt;&lt;P&gt;TOP OF PAGE DURING LINE SELECTION&lt;/P&gt;&lt;P&gt;AT USER COMMAND&lt;/P&gt;&lt;P&gt;END OF PAGE&lt;/P&gt;&lt;P&gt;AT PF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;shamim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 07:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989162#M403637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T07:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989163#M403638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE DURING LINE-SELECTION.etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 07:33:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989163#M403638</guid>
      <dc:creator>sreeramkumar_madisetty</dc:creator>
      <dc:date>2007-03-01T07:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: interactive reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989164#M403639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI SRIKANTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS MIGHT GIVE YOU A BETTER IDEA&lt;/P&gt;&lt;P&gt;Interactive Reports&lt;/P&gt;&lt;P&gt;As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers. And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21). Events associated with Interactive Reports are: 1. AT LINE-SELECTION 2. AT USER-COMMAND 3. AT PF&amp;lt;key&amp;gt; 4. TOP-OF-PAGE DURING LINE-SELECTION. HIDE statement holds the data to be displayed in the secondary list. sy-lisel : contains data of the selected line. sy-lsind : contains the level of report (from 0 to 21) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive Report Events: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist. &lt;/P&gt;&lt;P&gt;AT PFn: For predefined function keys... &lt;/P&gt;&lt;P&gt;AT USER-COMMAND : It provides user functions keys. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ANUJ&lt;/P&gt;&lt;P&gt; reward for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 07:35:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-reports/m-p/1989164#M403639</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T07:35:30Z</dc:date>
    </item>
  </channel>
</rss>

