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
What is lock objects? : sap abap data dictionary
What are the components in sap application server?
Business scenarios related to your objects( In my case -Rulebook and Pricing work flow)
Can you create a table with fields not referring to data elements? : abap data dictionary
What is payroll area
How do you activate a function exit?
What is the difference between call transaction and session method? : abap bdc
Explain what is sap script? What is the purpose of sap script?
What is logical database? : abap hr
What is difference between dependent and independent data?
What is the name of the system variable that holds the contents of the selected line in interactive reporting?
what are the various types of parameters and how are they distinguished from one another?
What is alv programming in abap? When is this grid used in abap? : abap hr
What are local objects? : abap data dictionary
Can a constructor be declared private? If yes then in which scenario?