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 THE USE AND DIFF B/W INSERT, UPDATE AND MODIFY WHILE UPDATING THE DATABASE TABLES?
i have two purchase orders in smartform.i need to print them in two different pages.how to do that.
If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?
plz can any one list out the set of questions on support project. I am waiting for ur reply
Can I write AT SELECTION SCREEN & AT USER COMMAND event in single program?If yes how?and if no what error will it give??
Can we create field without data element? If yes, how?
What happens AT SELECTION SCREEN events?
How do you read files from the presentation server ? : abap bdc
Types of windows in SAP scripts?
9 Answers vCentric Technologies,
What is sap script? Describe its components.
what are the important fields while preparing sales order,inquiry?
how do find a name of a print program?