<?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/3450169#M828822</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;This section describes in more detail the events that occur when you run an executable program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following events occur when you run a typical executable program that is linked with a logical database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event&lt;/P&gt;&lt;P&gt; Time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INITIALIZATION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Before the standard selection screen is displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN&lt;/P&gt;&lt;P&gt; After user input on a selection screen has been processed, but while the selection screen is still active &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; &lt;/P&gt;&lt;P&gt; After the standard selection screen has been processed, before data is read from the logical database&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GET node &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; After the logical database has read a data record from the node node &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GET node LATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; After all of the nodes of the logical database have been processed that are hierarchically subordinate to the node node in the structure of the logical database &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;END-OF-SELECTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; After all data has been read by the logical database &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List processor events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event&lt;/P&gt;&lt;P&gt; Time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TOP-OF-PAGE&lt;/P&gt;&lt;P&gt; In list processing when a new page starts&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;END-OF-PAGE&lt;/P&gt;&lt;P&gt; In list processing when a page ends&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT LINE-SELECTION&lt;/P&gt;&lt;P&gt; When the user triggers the predefined function code PICK&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT PFnn&lt;/P&gt;&lt;P&gt; When the user triggers the predefined function code PFnn&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT USER-COMMAND&lt;/P&gt;&lt;P&gt; When the user triggers a function code defined in the program&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;vasavi.&lt;/P&gt;&lt;P&gt;kindly reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Feb 2008 12:52:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-25T12:52:02Z</dc:date>
    <item>
      <title>events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450166#M828819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frds plz give me response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to declare &amp;amp; register events?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to my mail id  sudhakarbabu786@rediffmail.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 07:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450166#M828819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T07:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450167#M828820</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;Events enable objects or classes to trigger Event Handler Methods in other objects or Classes&lt;/P&gt;&lt;P&gt;Events are of two types : Instance and Static&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instance Events &lt;/P&gt;&lt;P&gt;Declared using the statement EVENTS.&lt;/P&gt;&lt;P&gt;Instance events can only be triggered in Instance Methods.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Static Events &lt;/P&gt;&lt;P&gt;Declared using statement CLASS-EVENTS&lt;/P&gt;&lt;P&gt;Static events can be triggered both by Instance Methods and Static Methods&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events can be triggered from the Objects/Class of the same class where the events have been defined.&lt;/P&gt;&lt;P&gt;Event handler methods can be defined in the same class or other classes.&lt;/P&gt;&lt;P&gt;The EVENTS statement has addition EXPORTING parameter to pass attributes if required&lt;/P&gt;&lt;P&gt;The following statements are used to declare event e1 in class c1.  Event e1 exports integer variable var. Here object o1 is created of class type c1. Event handler method handle_e1 has been declared. Also, when raising e1 the integer temp_var is exported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                   EVENTS e1 EXPORTING value(var) TYPE i. &lt;/P&gt;&lt;P&gt;     The syntax for declaration of Event Handler Methods is as follows :&lt;/P&gt;&lt;P&gt;                   METHODS handle_e1 FOR EVENT e1 OF c1&lt;/P&gt;&lt;P&gt;                                                         IMPORTING var.&lt;/P&gt;&lt;P&gt;     Set the Event Handler methods, before triggering the events, using the following statement&lt;/P&gt;&lt;P&gt;                  SET HANDLER o1-&amp;gt;handle_e1 FOR ALL INSTANCES.&lt;/P&gt;&lt;P&gt;     To trigger the event, use the statement RAISE EVENT. &lt;/P&gt;&lt;P&gt;                  RAISE EVENT e1 EXPORTING var = temp_var. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SET HANDLER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Registers and deregisters Event Handler Methods dynamically at Runtime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement can be used in three ways&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1 &amp;#133;.hn FOR ref &lt;/P&gt;&lt;P&gt;This form is used for instance events and registers the Event Handler Methods for only one instance (i.e one object )&lt;/P&gt;&lt;P&gt;      ref stands for Class Reference Variable or Interface Reference Variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1&amp;#133;..hn FOR ALL INSTANCES&lt;/P&gt;&lt;P&gt;This form is used for instance events and registers the Event Handler Methods for all Instances&lt;/P&gt;&lt;P&gt;      ref stands for Class Reference Variable or Interface Reference Variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET HANDLER h1&amp;#133;..hn. &lt;/P&gt;&lt;P&gt;This form is used for static events.&lt;/P&gt;&lt;P&gt;In case of Class Reference : It registers Event Handler Methods for triggering from class where the event has been declared.&lt;/P&gt;&lt;P&gt;In case of Interface Reference : It registers the event handler methods for all triggering classes that implement the interface intf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RAISE EVENT&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     It triggers the Event Handler Methods that have been registered for that event with  the SET HANDLER statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event must be the component of the class from where it is triggered&lt;/P&gt;&lt;P&gt;After the RAISE EVENT statement, all of the registered handler methods&lt;/P&gt;&lt;P&gt;     are executed before the next statement is processed (Synchronous Event Handling)&lt;/P&gt;&lt;P&gt;Event handler methods can in turn trigger events&lt;/P&gt;&lt;P&gt;It is currently only possible to nest RAISE EVENT statements to a depth of 64 calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 07:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450167#M828820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T07:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450168#M828821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EVENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pa_date = pa_date - 7.&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;WRITE pa_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The easiest events to understand are those for an executable program (type 1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ABAP runtime system calls event blocks in a sequence designed for generating and processing&lt;/P&gt;&lt;P&gt;lists:&lt;/P&gt;&lt;P&gt;First, the INITIALIZATION event block is called&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then a selection screen is sent to the presentation server&lt;/P&gt;&lt;P&gt;After the user leaves the selection screen, START-OF-SELECTION is called&lt;/P&gt;&lt;P&gt;If the START-OF-SELECTION event block contains the ABAP statements WRITE, SKIP or ULINE,&lt;/P&gt;&lt;P&gt;a list buffer is filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event Blocks in Executable Programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&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;Default event block:&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;Event blocks are processing blocks that are called by the ABAP runtime system. The sequence if which&lt;/P&gt;&lt;P&gt;they are processed is determined by the runtime system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In executable programs, there are different event blocks for the various tasks involved in creating lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax: Event Blocks&lt;/P&gt;&lt;P&gt;REPORT ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: pa_date LIKE sy-datum DEFAULT sy-datum.&lt;/P&gt;&lt;P&gt;INITIALIZATION.                                      " Default values for selection screen&lt;/P&gt;&lt;P&gt;pa_date = pa_date - 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.  &lt;/P&gt;&lt;P&gt;                                                     " Start of data processing&lt;/P&gt;&lt;P&gt;WRITE pa_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sequence of event blocks in the&lt;/P&gt;&lt;P&gt;source code has no effect on the sequence in&lt;/P&gt;&lt;P&gt;which they are called by the ABAP runtime system.&lt;/P&gt;&lt;P&gt;call&lt;/P&gt;&lt;P&gt;initialization&lt;/P&gt;&lt;P&gt;START&lt;DEL&gt;OF&lt;/DEL&gt;SELECTION..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ABAP program, an event block is introduced with an event key word. It ends when the next&lt;/P&gt;&lt;P&gt;processing block starts. There is no ABAP statement that explicitly concludes an event block.&lt;/P&gt;&lt;P&gt;Event blocks are called by the ABAP runtime system. The order in which you arrange the event blocks in&lt;/P&gt;&lt;P&gt;your program is irrelevant - the system always calls them in a particular order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION is the first event for processing data and generating a list. It is called by the&lt;/P&gt;&lt;P&gt;ABAP runtime system as soon as you have left the standard selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION is an event that you can use if you need to set a large number of default values. This&lt;/P&gt;&lt;P&gt;event block allows you to set default values that can only be determined at runtime. In the above&lt;/P&gt;&lt;P&gt;example, the date 'A week ago' is calculated and placed in data object pa_date. The ABAP runtime&lt;/P&gt;&lt;P&gt;system then sends a selection screen to the presentation server containing the calculated value as a&lt;/P&gt;&lt;P&gt;default. The value can, of course, still be changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection screen processing is event-driven. Events are ABAP processing blocks that are called by the&lt;/P&gt;&lt;P&gt;runtime system in a particular order and processed sequentially. In the program, each event is&lt;/P&gt;&lt;P&gt;introduced by an event keyword. The processing block ends when the next event block starts, or the&lt;/P&gt;&lt;P&gt;definition of a subroutine or dialog module occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT is processed before the selection screen is displayed on the&lt;/P&gt;&lt;P&gt;screen. You can use this event to modify the selection screen dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON HELP-REQUEST FOR &amp;lt;sel_field&amp;gt; and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;sel_field&amp;gt; allow you to define your own F1&lt;/P&gt;&lt;P&gt;and F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN is processed when the user presses ENTER or chooses another function on&lt;/P&gt;&lt;P&gt;the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An ABAP program consists of a sequence of processing blocks (events) that are processed by the&lt;/P&gt;&lt;P&gt;runtime system in a particular order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD-OF-PROGRAM is triggered directly after the system has loaded a program with type 1, M, F, or S&lt;/P&gt;&lt;P&gt;into an internal session. The processing block is executed once only for each program in each internal&lt;/P&gt;&lt;P&gt;session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION is processed in executable (type 1) programs, directly before the selection screen is&lt;/P&gt;&lt;P&gt;displayed. You can use the corresponding processing block to pre-assign values to the parameters and&lt;/P&gt;&lt;P&gt;selection options on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION is processed after the selection screen has been processed. If you are&lt;/P&gt;&lt;P&gt;working with a logical database, the corresponding GET events are triggered after START-OFSELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION is processed after all of the data has been read, and before the list is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE is an event in list processing. The associated processing block is always executed when&lt;/P&gt;&lt;P&gt;you start a new page in the list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;module pool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET GET ...&lt;/P&gt;&lt;P&gt;You can only assign a report transaction to an executable (type 1) program. In a report transaction,&lt;/P&gt;&lt;P&gt;the system calls particular events in a fixed sequence, and calls a series of standard screens. The&lt;/P&gt;&lt;P&gt;following steps occur when you run a report transaction:&lt;/P&gt;&lt;P&gt;First, the LOAD-OF-PROGRAM event is triggered.&lt;/P&gt;&lt;P&gt;Then the INITIALIZATION event is triggered.&lt;/P&gt;&lt;P&gt;Next, the standard selection screen is called (if you have declared one), and its corresponding events&lt;/P&gt;&lt;P&gt;are triggered: AT SELECTION-SCREEN OUTPUT and AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;Next, the START-OF-SELECTION event is triggered. (This is the default event block. If you omit this&lt;/P&gt;&lt;P&gt;event keyword, all statements that are not assigned to another processing block are treated as though&lt;/P&gt;&lt;P&gt;they belong to it.)&lt;/P&gt;&lt;P&gt;If you have attached a logical database to your program, the system triggers the GET &amp;lt;node&amp;gt; and GET&lt;/P&gt;&lt;P&gt;&amp;lt;node&amp;gt; LATE events.&lt;/P&gt;&lt;P&gt;Then the END-OF-SELECTION event is triggered.&lt;/P&gt;&lt;P&gt;You can also include screen processing (as in module pools) by using the CALL SCREEN statement.&lt;/P&gt;&lt;P&gt;You can start executable (type 1) programs without using a transaction code. You can also run them in&lt;/P&gt;&lt;P&gt;the background.&lt;/P&gt;&lt;P&gt;(C) SAP AG BC402 2-11&lt;/P&gt;&lt;P&gt;SAP AG 1999&lt;/P&gt;&lt;P&gt;WRITE ...&lt;/P&gt;&lt;P&gt;SKIP ...&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;List Processing Events&lt;/P&gt;&lt;P&gt;TOP TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;EOP END-OF-PAGE.&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE ...&lt;/P&gt;&lt;P&gt;SKIP ...&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;ALS&lt;/P&gt;&lt;P&gt;List buffer for basic list&lt;/P&gt;&lt;P&gt;AUC AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;List buffer for detail list&lt;/P&gt;&lt;P&gt;If you fill the list buffer of the basic list (using the WRITE, SKIP, and ULINE statements), two further&lt;/P&gt;&lt;P&gt;events are triggered: At the beginning of each new page, the TOP-OF-PAGE event is triggered, and the&lt;/P&gt;&lt;P&gt;END-OF-PAGE event is triggered at the end of each page.&lt;/P&gt;&lt;P&gt;Once the END-OF-SELECTION event block has been processed, interactive list processing starts.&lt;/P&gt;&lt;P&gt;The system displays the formatted basic list . The user can now trigger further events.&lt;/P&gt;&lt;P&gt;If the user double-clicks a line or triggers the function code PICK in some other way, the AT LINESELECTION&lt;/P&gt;&lt;P&gt;event is triggered. In the standard list status, this function code is always assigned to&lt;/P&gt;&lt;P&gt;function key &amp;lt;F2&amp;gt;. In turn, &amp;lt;F2&amp;gt; is always assigned for a mouse double-click.&lt;/P&gt;&lt;P&gt;If you fill the list buffer of the detail list (of which you may have up to twenty) using the WRITE, SKIP,&lt;/P&gt;&lt;P&gt;and ULINE statements, two further events are triggered:&lt;/P&gt;&lt;P&gt;At the beginning of each new page, the TOP-OF-PAGE DURING LINE-SELECTION event is triggered,&lt;/P&gt;&lt;P&gt;and the END-OF-PAGE DURING LINE-SELECTION event is triggered at the end of each page. (These&lt;/P&gt;&lt;P&gt;events are not displayed in the graphic.) Interactive list processing is started again. The system&lt;/P&gt;&lt;P&gt;displays the formatted detail list (screen 120).&lt;/P&gt;&lt;P&gt;Any other function codes that have not been "trapped" by the system trigger the event AT USERCOMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;do reward if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 07:59:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450168#M828821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T07:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450169#M828822</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;This section describes in more detail the events that occur when you run an executable program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following events occur when you run a typical executable program that is linked with a logical database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event&lt;/P&gt;&lt;P&gt; Time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;INITIALIZATION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Before the standard selection screen is displayed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN&lt;/P&gt;&lt;P&gt; After user input on a selection screen has been processed, but while the selection screen is still active &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; &lt;/P&gt;&lt;P&gt; After the standard selection screen has been processed, before data is read from the logical database&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GET node &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; After the logical database has read a data record from the node node &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;GET node LATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; After all of the nodes of the logical database have been processed that are hierarchically subordinate to the node node in the structure of the logical database &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;END-OF-SELECTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; After all data has been read by the logical database &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;List processor events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event&lt;/P&gt;&lt;P&gt; Time&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TOP-OF-PAGE&lt;/P&gt;&lt;P&gt; In list processing when a new page starts&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;END-OF-PAGE&lt;/P&gt;&lt;P&gt; In list processing when a page ends&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT LINE-SELECTION&lt;/P&gt;&lt;P&gt; When the user triggers the predefined function code PICK&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT PFnn&lt;/P&gt;&lt;P&gt; When the user triggers the predefined function code PFnn&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;AT USER-COMMAND&lt;/P&gt;&lt;P&gt; When the user triggers a function code defined in the program&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;vasavi.&lt;/P&gt;&lt;P&gt;kindly reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2008 12:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450169#M828822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-25T12:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450170#M828823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;events of module pool are&lt;/P&gt;&lt;P&gt;PBO: process before output.the code under this triggered before displaying the screen.&lt;/P&gt;&lt;P&gt;PAI: process after input:the code under this is triggered after giving input.for eg:validating the field.&lt;/P&gt;&lt;P&gt;POH: process on help request(f1).this event is for HELP functionality&lt;/P&gt;&lt;P&gt;POV: process on value request(f4).This event is for getting possible values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events of interactive report&lt;/P&gt;&lt;P&gt;I. At PF(nn)&lt;/P&gt;&lt;P&gt;II. At line-selection&lt;/P&gt;&lt;P&gt;III. At user-command&lt;/P&gt;&lt;P&gt;IV.TOP-OF-PAGE DURING LINE SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Events of Classical reporting:&lt;/P&gt;&lt;P&gt;1)initialization.&lt;/P&gt;&lt;P&gt;2)start-of-selection.&lt;/P&gt;&lt;P&gt;3)top-of-page&lt;/P&gt;&lt;P&gt;4)end-of-page.&lt;/P&gt;&lt;P&gt;5)end-of-selection.&lt;/P&gt;&lt;P&gt;6)at selection-screen&lt;/P&gt;&lt;P&gt; i) at selection-screen on &amp;lt;field&amp;gt;&lt;/P&gt;&lt;P&gt;ii) at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vineela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Mar 2008 09:57:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/events/m-p/3450170#M828823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-03T09:57:47Z</dc:date>
    </item>
  </channel>
</rss>

