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.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nitin gautam
The above answer is ok but the sequence of events should be as under:
INITIALIZATION
AT SELECTION-SCREEN OUTPUT
AT SELECTION-SCREEN
START-OF-SELECTION
END-OF-SELECTION
i.e AT SELECTION-SCREEN OUTPUT WILL TRIGGER FIRST,as to make any changes to fields of selecttion screen before it is displayed...
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / mohd rais
top of page execute before first write statement
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / naveen
if we write events in sequential,then the events will be
executed seuentially and if not then the drver program will
execute the report in sequential order.if we write in
sequential the performance will increase.
if we write end-of-selection event after star-of-selection
then it will stop the processing block if we dont wrote end
of selection by defautly it will triggers after start of
selection.
top of page event will trigger after intialization,at
selection screen and before start-of-selection
Is This Answer Correct ? | 1 Yes | 9 No |
What is an interactive report? What is the obvious differences of such report compared with classical type reports?
What is field catalog. Describe the purpose of it?
how to call the function module generated in smartform for printing the form ?
what is the difference between at line selection and at line selection on field.
How do you define an internal using types?
How do you execute the payroll
most commonly used command in Interactive Reporting?
What is sql trace? : abap data dictionary
WHAT IS THE DIFFERENCE BETWEEN FILE PORT AND TRFC PORT ?
How to determine the attributes of an internal table?
What are the techniques involved in using sap supplied programs?
How to call a subroutine in sapscript?