1.In report, we should have to write events in sequential
order or not,if we write events insequential then what will
be the drawback and if we will sequential what will be the
advantage.
2.what is the fucnction of end-of-selection even? if we
would not write this event in report what will happen?
3.top-of-page event will trigger before the
initialization,and at selection-screen event or after these
two event.

Answer Posted / sirisha

Not Necessary for the events to be in a sequential order.
During run time, the events will be triggered automatically
in the sequence.
But it is suggested to write the events in a sequence for
the user to easily understand the flow of program and for
the efficiency purpose.
END-OF-SELECTION: Will be normally used to free the memory
and display the write statements once all the fetching is
done. But it is not mandatory or necessary to write
END-OF-SELECTION. If any event is missing in the sequence,
the next event will be triggered automatically.
INITIALIZATION initializes the filed values in the
selection screen. This is done before at-selection screen,
before PBO.
TOP-OF-PAGE: This is used to display the required text on
the top of the page as header. This event will come AFTER
INITIALIZATION event only !!
Here is the flow of events:

INITIALIZATION
AT SELECTION-SCREEN
AT SELECTION-SCREEN OUTPUT
START-OF-SELECTION
END-OF-SELECTION

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lock objects? : sap abap data dictionary

794


What are the components in sap application server?

802


Business scenarios related to your objects( In my case -Rulebook and Pricing work flow)

981


Can you create a table with fields not referring to data elements? : abap data dictionary

959


What is payroll area

1957






How do you activate a function exit?

716


What is the difference between call transaction and session method? : abap bdc

826


Explain what is sap script? What is the purpose of sap script?

778


What is logical database? : abap hr

743


What is difference between dependent and independent data?

723


What is the name of the system variable that holds the contents of the selected line in interactive reporting?

873


what are the various types of parameters and how are they distinguished from one another?

902


What is alv programming in abap? When is this grid used in abap? : abap hr

837


What are local objects? : abap data dictionary

751


Can a constructor be declared private? If yes then in which scenario?

1063