Skip to Content

hi experts

A very good day to you all experts...

Can any one you tell the order in which these following events are triggered . And when these events are triggered..

1.initializtion.

2.at selection-screen

3.start-of-selection.

4.end-of-selection

5.top-of-page

6.end-of-page.

points will be rewarded if useful.

with regards

mukhtar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2008 at 09:42 AM

    Hi,

    Description of Events

    This section describes in more detail the events that occur when you run an executable program.

    The following events occur when you run a typical executable program with a logical database:

    Event

    Occurs

    INITIALIZATION

    Before the standard selection screen is displayed

    AT SELECTION-SCREEN

    After user input on a selection screen has been processed, but while the selection screen is still active

    START-OF-SELECTION

    After the standard selection screen has been processed, before data is read from the logical database

    GET <table>

    After the logical database has read an entry from the node <table>

    GET <table> LATE

    After all of the nodes of the logical database have been processed that are below <table> in the database hierarchy

    END-OF-SELECTION

    After all data has been read by the logical database

    List processor events:

    Event

    Occurs

    TOP-OF-PAGE

    In list processing when a new page starts

    END-OF-PAGE

    In list processing when a page ends

    AT LINE-SELECTION

    When the user triggers the predefined function code PICK

    AT PF<nn>

    When the user triggers the predefined function code PF<nn>

    AT USER-COMMAND

    When the user triggers a function code defined in the program

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 21, 2008 at 09:45 AM

    hi

    1.initializtion.

    2.at selection-screen

    3.start-of-selection.

    4.end-of-selection

    5.top-of-page

    6.end-of-page.

    the order of triggering depends on your prog. we cannot say a particular order

    initialization if present is the first event to be triggered

    at selection screen will be triggered when you write any validations for the selection screen fields. and only when you have selection-screen

    start-of-selection is triggered when you query a select staement

    end-of-selection- is required only when there is logical database and its triggerd when you display contents of select statement

    top-of-page : iis triggered when your prog encounters the first write statement. if write statement is before start-of-selection then top-of-page will be triggered before

    end-of-page . its triggerd when the lines reserved are completed . in linecount ou reserve some lines for end of-page and its triggerd when you o/p reaches the lines otherwise not

    for example : REPORT ZP_CLASSICAL NO STANDARD PAGE HEADING LINE-COUNT 45(5) LINE-SIZE 60.

    here end-of-page is triggered if o/p completes 40 lines of the page ( line count 45 40 for o/p and 5 for end-of-page)

    reward if helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2008 at 09:51 AM

    Actually you write these events in order

    1.initializtion.

    2.at selection-screen

    3.start-of-selection.

    4.end-of-selection

    5.top-of-page

    6.end-of-page.

    1)initialization event is triggered before the selection screen is displayed.

    2)at selection screen is triggered when the selection screen is processed.

    3)start-of-selection is triggerd after selection screen is processed and before the data has to be displayed.

    4)end-of-selection is triggered when the data retrieval has completed with logical databases then only.

    5)top-of-page triggered before the write statement.

    6)end-of-page triggered after all data has retrived from the database for fooetr details.

    Reward if useful.

    Dara.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2008 at 09:55 AM

    Hi Frds

    1.This event occurs before the standard selection screen is called Initialization.

    2.The event AT SELECTION-SCREEN is the basic form of a whole series of events that occur while the selection screen is being processed.

    3.Selection screens are special screens that are defined with the help of ABAP statements. As programmers do not have access to the flow logic of selection screens, they cannot define dialog modules for selection screens. The ABAP runtime environment fully controls the processing flow of selection screens.

    4.This is the last of the events called by the runtime environment to occur. It is triggered after all of the data has been read from the logical database, and before the list processor is started. You can use the corresponding event block to process and format all data that the program has stored in sequential datasets, such as internal tables or extracts, during the various GET events.

    5.To create the layout a page header individually, you must define it in the processing block after the event keyword TOP-OF-PAGE.

    Coding

    TOP-OF-PAGE.

    WRITE: ....

    6.To define a page footer, use the END-OF-PAGE event. This event occurs if, while processing a list page, the system reaches the lines reserved for the page footer, or if the RESERVE statement triggers a page break. Fill the lines of the page footer in the processing block following the event keyword END-OF-PAGE.

    Coding:

    END-OF-PAGE.

    WRITE: ....

    Reward Me Point

    By

    Pari

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2008 at 09:48 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 21, 2008 at 09:49 AM

    1. (For executable programs of type 1), the associated event is executed before the selection screen is displayed.

    2. This event only occurs during Selection Screen Processing.

    3. In an executable program, the corresponding event is processed after the selection screen has been displayed and before data is read using a logical database.

    4. The END-OF-SELECTION event is triggered in type 1 programs once the logical database has finished reading all data and before the list processor is started.

    5. TOP-OF-PAGE is a list processing event which is executed before the first data is output on a new page.

    6. List processing event.

    The END-OF-PAGE event is executed whenever processing reaches that area when formatting a list page or if the RESERVE statement detects that there is insufficient space remaining on the current page.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2008 at 03:18 AM

    thx

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.