<?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: events in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236135#M140838</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the following link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has the order of selection screen events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2006 05:44:27 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-04-24T05:44:27Z</dc:date>
    <item>
      <title>events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236131#M140834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have seen many materials on events in reporting but i am not sure with the actual sequence of events in reporting . &lt;/P&gt;&lt;P&gt;plz tell me what is the actual sequence of simple reporting , and interactive reporting .&lt;/P&gt;&lt;P&gt;what i know is for simple reporting &lt;/P&gt;&lt;P&gt;initialization&lt;/P&gt;&lt;P&gt;at selection screen &lt;/P&gt;&lt;P&gt;at selection screen output &lt;/P&gt;&lt;P&gt;start-of-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;end-ofpage&lt;/P&gt;&lt;P&gt;and for interactive reporting &lt;/P&gt;&lt;P&gt;initialization&lt;/P&gt;&lt;P&gt;at selection screen &lt;/P&gt;&lt;P&gt;at selection screen output &lt;/P&gt;&lt;P&gt;start-of-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;end-ofpage&lt;/P&gt;&lt;P&gt;top-of-page- during line selection &lt;/P&gt;&lt;P&gt;at line selection &lt;/P&gt;&lt;P&gt;at user command &lt;/P&gt;&lt;P&gt;at pf status &lt;/P&gt;&lt;P&gt;plz tell me the exact sequence for both simple and interactive reporting .  and is it necessary to include the events of logical database . do we use logical databse in industry in india .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2006 08:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236131#M140834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-23T08:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236132#M140835</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;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;Thanks&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2006 08:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236132#M140835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-23T08:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236133#M140836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This is the sequence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1). Load of Program&lt;/P&gt;&lt;P&gt;2). initialization&lt;/P&gt;&lt;P&gt;3. at selection screen output &lt;/P&gt;&lt;P&gt;4).at selection screen on &amp;lt;field&amp;gt;&lt;/P&gt;&lt;P&gt;5). At selection screen&lt;/P&gt;&lt;P&gt;6). start-of-selection &lt;/P&gt;&lt;P&gt;7). end-of-selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Triggerd on the first page and the subsequent triggering is only if there is a page break. &lt;/P&gt;&lt;P&gt;8). top-of-page &lt;/P&gt;&lt;P&gt;9). end-of-page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For interactive reporting the sequence depends on the user action. If the user double clicks on a line then At line selection is triggered. If the user clicks on some button then At usercommand is triggerd and when the user clicks on a Function Keys like F5,F6 etc then AT pf status is triggered. If there is any page break in the secondary list then the top-of-page during line selection is triggered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at line selection &lt;/P&gt;&lt;P&gt;at user command &lt;/P&gt;&lt;P&gt;at pf status &lt;/P&gt;&lt;P&gt;top-of-page- during line selection &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Vj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Apr 2006 12:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236133#M140836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-23T12:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236134#M140837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Rohit &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the order of execution in Classical/Interactive Report Events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classical Reports&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;Reports which are properly formatted  (header, footer, page numbers etc.,) with the help of one or more external events like top-of-page,end-of-page etc., are called as CLASSICAL REPORTS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard list.&lt;/P&gt;&lt;P&gt;Output of Report program is nothing but Standard list. It consists of one continuous page of 60,000 lines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To restrict number of lines per page.&lt;/P&gt;&lt;P&gt;Report Zxxxxx line-count 25.&lt;/P&gt;&lt;P&gt;			OR&lt;/P&gt;&lt;P&gt;Report Zxxxxx line-count 25(3).&lt;/P&gt;&lt;P&gt;( In this case 3 lines are reserved for footer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To restrict Output width.&lt;/P&gt;&lt;P&gt;Report Zxxxx line-size 125.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To suppress standard page heading.&lt;/P&gt;&lt;P&gt;Report Zxxxx no standard page heading&lt;/P&gt;&lt;P&gt;Above all at a time:&lt;/P&gt;&lt;P&gt;Report Zxxxx line-count 25(3) &lt;/P&gt;&lt;P&gt;                       line-size 125&lt;/P&gt;&lt;P&gt;                       no standard page heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen Events			List Events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initialization. 		Start-of-selection &lt;/P&gt;&lt;P&gt;At selection-screen.		Top-of-page.&lt;/P&gt;&lt;P&gt;At selection-screen on &amp;lt;field&amp;gt;.	End-of-page.&lt;/P&gt;&lt;P&gt;				End-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can initialize the selection-screen with calculated default values under this event.&lt;/P&gt;&lt;P&gt;	Initialization.&lt;/P&gt;&lt;P&gt;	s_date-high = sy-datum.&lt;/P&gt;&lt;P&gt;	s_date-low = sy-datum - 15.&lt;/P&gt;&lt;P&gt;	Append s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can validate all the inputs on selection screen fields under this event.&lt;/P&gt;&lt;P&gt;	At selection-screen.&lt;/P&gt;&lt;P&gt;	If s_carrid-low is initial or &lt;/P&gt;&lt;P&gt;	    s_connid-low is initial or&lt;/P&gt;&lt;P&gt;	    s_date is initial.&lt;/P&gt;&lt;P&gt;	&amp;lt; ... code for validation... &amp;gt;.&lt;/P&gt;&lt;P&gt;	Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can validate a particular field input on selection screen under this event.&lt;/P&gt;&lt;P&gt;	At selection-screen on s_carrid.&lt;/P&gt;&lt;P&gt;	If s_carrid-low &amp;lt; &amp;gt; &amp;#145;LH&amp;#146;.&lt;/P&gt;&lt;P&gt;	&amp;lt;&amp;#133; code for validation&amp;#133;&amp;gt;&lt;/P&gt;&lt;P&gt;	Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any of the other event comes before&lt;/P&gt;&lt;P&gt;&amp;#145;Select&amp;#133;Endselect.&amp;#146; statements, then to break&lt;/P&gt;&lt;P&gt;that event, we require this S-O-S event.&lt;/P&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;Select * from &amp;#133;&amp;#133;&lt;/P&gt;&lt;P&gt;&amp;#133;&amp;#133;&amp;#133;&amp;#133;&lt;/P&gt;&lt;P&gt;Endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we need some portion of the output (like&lt;/P&gt;&lt;P&gt;column headings) to appear in all the pages,&lt;/P&gt;&lt;P&gt;then we use this event.&lt;/P&gt;&lt;P&gt;Top-of-page.&lt;/P&gt;&lt;P&gt;Write:/ &amp;#145;Carrier&amp;#146;,10 &amp;#145;Connection&amp;#146; 20 &amp;#145;Date&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no external output statement before&lt;/P&gt;&lt;P&gt;&amp;#145;Top-of-page&amp;#146; event, then this event will not &lt;/P&gt;&lt;P&gt;work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the cursor reaches the last line of the &lt;/P&gt;&lt;P&gt;page, automatically this event will be triggered.&lt;/P&gt;&lt;P&gt;Report Zxxx line-count 25(3).&lt;/P&gt;&lt;P&gt;In this case line numbers 23, 24 and 25 are &lt;/P&gt;&lt;P&gt;reserved for footer.&lt;/P&gt;&lt;P&gt;Once the cursor reaches 23rd line, this event&lt;/P&gt;&lt;P&gt;will be triggered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End-of-page.&lt;/P&gt;&lt;P&gt;Write:/ sy-uline(75).&lt;/P&gt;&lt;P&gt;Write:/ &amp;#145;This is end of page:&amp;#146;,sy-pagno.&lt;/P&gt;&lt;P&gt;Write:/ sy-uline(75).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is used for concluding part of List.&lt;/P&gt;&lt;P&gt;	End-of-selection.&lt;/P&gt;&lt;P&gt;	Write:/ &amp;#145;This is end of the Report&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive Report&lt;/P&gt;&lt;P&gt;A simple report or even a classical report  displays a clustered list with all the  requested output at one go. &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;What ever it is displayed, it is final. That means, the user can not interact with with that list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple report or even a classical report  displays a clustered list with all the  requested output at one go. &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;What ever it is displayed, it is final. That means, the user can not interact with with that list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the interactive reports, we can create as many as 21 lists. &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;The first list is called &amp;#145;Basic list&amp;#146; and all the successive lists are called &amp;#145;Secondary lists&amp;#146;. Each list is again an interactive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;The Basic list is not deleted when secondary list is created. &lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;A secondary list may either overlay the basic list or appear in an additional dialog window on the same screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;The system variable associated with list number is &amp;#145;SY-LSIND&amp;#146;.&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;For basic list SY-LSIND = 0 and for secondary lists, SY-LSIND varies from 1 to 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User can interact with the list by the following ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Double clicking or single click and pressing F2 (function key) or single click with &amp;#145;hotspot on&amp;#146;.&lt;/P&gt;&lt;P&gt;			OR&lt;/P&gt;&lt;P&gt;Selecting from menu bar or from application tool bar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the events used in classical reports can be used in Basic List.&lt;/P&gt;&lt;P&gt;The event &amp;#145;End-of-page&amp;#146; can be used in Secondary Lists also.(the other six events can not be used in secondary lists)&lt;/P&gt;&lt;P&gt;You can not place &amp;#145;select-options&amp;#146; in secondary lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following additional events are &lt;/P&gt;&lt;P&gt;applicable to secondary lists.&lt;/P&gt;&lt;P&gt;Top-of-page during line-selection.&lt;/P&gt;&lt;P&gt;At line-selection.&lt;/P&gt;&lt;P&gt;At user-command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you double click on any field in the basic list, you will be navigating to secondary list with detailed information pertaining to clicked field.&lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;As such we need to store the clicked field information at some variable. &lt;/P&gt;&lt;P&gt;		&lt;/P&gt;&lt;P&gt;&amp;#145;Hide&amp;#146; temporarily stores the content of clicked field for later use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default title of the out put is the text what we enter during creation of program.&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;This title can be changed using:&lt;/P&gt;&lt;P&gt;SET TITLEBAR &amp;#145;AAA&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	GUI status includes:&lt;/P&gt;&lt;P&gt;Menu bar&lt;/P&gt;&lt;P&gt;Application tool bar and&lt;/P&gt;&lt;P&gt;Activating standard tool bar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	GUI status can be created using&lt;/P&gt;&lt;P&gt;SET PF-STATUS &amp;#145;BBB&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have 8 menus ( out of which, 2 menus are reserved for &amp;#145;System&amp;#146; and &amp;#145;Help&amp;#146;).&lt;/P&gt;&lt;P&gt;Each menu can have 15 menu items.&lt;/P&gt;&lt;P&gt;Each menu item can have 3 levels of submenus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create 35 items in application tool bar.&lt;/P&gt;&lt;P&gt;	&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Reagrds&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 05:04:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236134#M140837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-24T05:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236135#M140838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the following link,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it has the order of selection screen events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2006 05:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/1236135#M140838</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-04-24T05:44:27Z</dc:date>
    </item>
  </channel>
</rss>

