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
Why do we use abstract class
How do you delete duplicate records from internal table?
What are the steps to execute session method?
On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?
What are authorization objects and what statement is used to perform an authorization check in an abap program?
What is the modification assistant?
Difference between user exit and badis?
Is there any BAPI to retrieve list of customers and their sales areas i.e., Cust No, Distr Channel and Division for all the customers.
What are the different types of abap reports in sap?
what next in SAP-ABAP/4 is it going to be change?
What is narrow casting and wide casting?
How many types of buffering? : abap data dictionary
Did you create primary index?
Can we control the sequence in which multiple implementations of a multiple use BADI are called? If yes, how?
What is the difference between a structure and a table?