‎2006 Aug 20 7:27 AM
hi can u tell me what is the default event and wht is mandatory event in reporting
‎2006 Aug 20 8:44 AM
There is nothing called as default events. The following events generally fire for for every report.
START-OF-SELECTION.
END-OF-SELECTION.
Rest of them are fire only when required.
Regards,
Ravi
Note : Please mark all the helpful answers
‎2006 Aug 20 1:26 PM
hi
good
default event is INITIALIZTION
mandatory is START-OF-SELECTION.
THANKS
MRUTYUN
‎2006 Aug 20 7:31 PM
If you have coding the LOAD-OF-PROGRAM and INITIALIZATION events in your program, these will be fired first when running the program, before the selection screen, if there is one, is fired. If there is a selection screen, the the AT SELECTION-SCREEN OUTPUT event will be fired automatically before the screen is shown. Also, if there is a selection screen, the START-OF-SELECTION event will only be fired when the user clicks the "Execute" button on the selection screen. TOP-OF-PAGE will automically be fired when you use the first WRITE statement as well as anytime the line count is reached.
I hope this gives you a brief overview.
REgards,
Rich Heilman
‎2006 Aug 21 1:00 PM
Hi Pavan,
<b>Load-of-program</b> is the very first event that is fired in a report program. here is the description of rest of the vents:
<b> 1.</b> The runtime environment creates the INITIALIZATION event and calls the corresponding event block (if it has been defined in the ABAP program).
<b>2.</b> If there is a selection screen defined in the program, control returns to the selection screen processor. This generates the corresponding events and calls their event blocks.
<b>3.</b> Control then passes to the reporting processor. It creates the START-OF-SELECTION event and calls the corresponding event block (if it has been defined in the ABAP program).
<b>4.</b> The logical database, if you are using one, calls further event blocks at this point.
<b>5.</b> The reporting processor creates the END-OF-SELECTION event and calls the corresponding event block (if it has been defined in the ABAP program).
<b>6.</b> If the program contains a list description, control now passes to the list processor. The list processor calls for Top-of-page event at first for every page and displays the list defined in the ABAP program. It converts user actions on the list into events and calls the corresponding event blocks.
Hope this helps you.
Regards,
Pragya